partition_ebird_events.Rd
Relies heavily on package 'data.table' to import, filter, and write the sampling events data for each country of interest.
partition_ebird_events(
dir.ebird.in,
mmyyyy,
outpath = NULL,
overwrite = FALSE,
out.filetype = ".csv.gz",
countries = c("US", "CA", "MX"),
ncores = NULL
)
directory path to where ebird sampling events is/are saved
month and year associated with the sampling events file.
path location to where output files will be saved. If NULL will save to a directory within dir.ebird.in for each mmyyyy
if TRUE, will overwrite existing partitioned file for country and mmyyyy combination
if writing new files, what file extension to search for? (e.g., .csv, .txt, .csv.gz).
list of 2-letter country codes. Only sampling events from these countries will be partitioned into indiviudal sampling event files on local disk. Specify countries=NULL to partition all countries (this will take a while)
number of processors to engage during data import and export (using data.table)