Compile LAGOSUS data from component flat files. This function should rarely be called directly outside of manual updating of source data.
lagosus_compile( locus_version = NA, locus_folder = NA, locus_overwrite = FALSE, limno_version = NA, limno_folder = NA, limno_overwrite = FALSE, geo_version = NA, geo_folder = NA, geo_overwrite = FALSE, depth_version = NA, depth_folder = NA, depth_overwrite = FALSE, dest_folder = NA )
locus_version | character LAGOSUS database version string |
---|---|
locus_folder | file.path to locus export folder |
locus_overwrite | logical overwrite existing data? |
limno_version | character LAGOSUS database version string |
limno_folder | file.path to limno export folder |
limno_overwrite | logical overwrite existing data? |
geo_version | character LAGOSUS database version string |
geo_folder | file.path to geo export folder |
geo_overwrite | logical overwrite existing data? |
depth_version | character LAGOSUS database version string |
depth_folder | file.path to depth export folder |
depth_overwrite | logical overwrite existing data? |
dest_folder | file.path recommended to set as the path returned by
|
if (FALSE) { lagosus_compile( locus_version = "1.1", locus_folder = "~/Downloads/LAGOS-US-LOCUS-EXPORT", depth_version = "0", depth_folder = "~/Downloads/LAGOS-US-DEPTH-EXPORT", dest_folder = lagosus_path()) lagosus_compile( geo_version = "1.0", geo_folder = "~/Downloads/LAGOSUS_GEO/GEO_EXPORT_BETA_v1", dest_folder = lagosus_path(), geo_overwrite = TRUE) }