Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wifi list request #2

Open
3 tasks
mdsumner opened this issue Jan 24, 2017 · 2 comments
Open
3 tasks

wifi list request #2

mdsumner opened this issue Jan 24, 2017 · 2 comments

Comments

@mdsumner
Copy link
Member

mdsumner commented Jan 24, 2017

Wifi request

  • request made to UTAS (see code below to create list)
  • mobile numbers needed?
  • update list for late comers, or new incidents?

R code to process the event brite output into UTAS output.

# (filtered out edu.au, acecrc.org.au, aad.gov.au and duplicates)
library(readxl)
## read attendee list
attend <- read_excel("Wifi-UTAS/report-2017-01-24T1118.xlsx")

## what do we see if remove "utas.edu.au" aad.gov.au, mq.edu.au and acecrc
library(dplyr)
## duplicate column names cause problems
attend <- attend[, -grep("Please specify", names(attend))]
wifi_guests <- attend %>% select(`First Name`, `Surname`, Email) %>%  ##filter(duplicated(Email))
  filter(!grepl("@utas.edu.au", Email)) %>% 
  filter(!grepl("aad.gov.au", Email)) %>% 
  filter(!grepl("mq.edu.au", Email))  %>% 
  filter(!grepl("acecrc", Email)) %>% distinct() %>% as.data.frame()

cols <- c("Name", 	"Username", 	"Mobile Number", 	"Role", "Activation Time", "Expiration Time", "Expire Action")

wifi_list <- wifi_guests %>% transmute(Name = paste(`First Name`, `Surname`), 
                          Username = Email, 
                          `Mobile Number` = "", 
                          Role = "Guest", 
                          `Activation Time` = "2017-01-31 07:30:00", 
                          `Expiration Time` = "2017-02-02 18:00:00", 
                          'Expire Action' = "")

write.csv(wifi_list, "Wifi-UTAS/ResBaz-wifi-guests-2017-01-31_2017-02-02.csv", row.names = FALSE)
@mdsumner
Copy link
Member Author

Mobile numbers not needed.

Latecomers to be added as separate issues (by Mike).

We have the logins for the list as of 2017-01-24.

@DamienIrving
Copy link
Collaborator

Thanks, @mdsumner

I'll email you the details of any late registrations that need to be added to list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants