Load one TPS dataset by category name (CSV thin path).
Source:R/tps_datasets.R
morie_tps_load_dataset.Rdname is case-insensitive. Pass nrows = N for a quick sample
while developing against the largest tables.
Arguments
- name
Character scalar. One of
names(MORIE_TPS_REGISTRY), case-insensitive.- path
Optional character scalar. Override the CSV file or directory to load from. If a directory, the first
*.csvinside is picked. IfNULL, the loader walksmorie_tps_data_dir().- csv_filename
Optional filename inside the category's
CSV/directory.- nrows
Optional integer. Cap on rows to load.
Value
A data.frame (the CSV contents) with tolerant
OCCURRENCE_* / REPORTED_* column renaming applied.
Details
For non-CSV sibling formats (Excel, GeoJSON, KML, GeoPackage,
Shapefile, etc.), use morie_tps_load() from tps_io.R instead.