meetup_import: Import Meetup .csv

View source: R/meetup_import.R

meetup_importR Documentation

Import Meetup .csv

Description

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

Usage

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

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.

Value

A data.frame formated indentically to member_list.

See Also

read.csv

Examples

## Not run:  
member_list <- meetup_import()
## End(Not run)

Chicago-R-User-Group/RUGtools documentation built on April 30, 2023, 7:42 a.m.