Import, Clean, and Format of data manually downloaded from meetup.com's member list page

meetup_import(file = NULL, format = "%d-%b-%y", ...)

Arguments

file

File path to .csv file. Defaults to NULL. Default attempts to import any .csv file present in the data-raw/meetup folder of the working directory.See Details section and file argument of read.csv

format

Character vector of Date format. See usage above for default. Meetup seems to change this frequently, so check your data. See strptime for formating details.

...

arguments passed to read.csv

Value

A data.frame formated indentically to member_list.

Details

Assumes manual download of the meetup member list file. For example, the Chicago R User Group (CRUG) url looks like this: https://www.meetup.com/ChicagoRUG/members/?op=csv Note: One can only download this file if signed into meetup.com as an organizer.

The file download from meetup.com is in .xls format. To ensure proper conversion to .csv, open it with excel and then `save as .csv`. Alternatively, one can upload the .xls file to google sheets and then export as .csv.

To utilize the Default file path of this function, place the file in the folder path `data-raw/meetup` of the working directory and make sure it is the only file in the folder.

See also

Examples

# NOT RUN {
member_list <- meetup_import()
# }