Load LAGOSUS data from local system files
lagosus_load(modules = NULL, versions = NULL, geo_tables = NA, fpath = NA)
modules | character vector of module names. One or more of "locus", "limno", "geo", or "depth. |
---|---|
versions | character LAGOSUS database version strings. Defaults to |
geo_tables | character vector of geo module table names |
fpath | file.path to LAGOSUS data store. Defaults to lagosus_path() |
if (FALSE) { # works lg <- lagosus_load("locus") lg <- lagosus_load(modules = c("locus", "depth"), versions = c(0, 1)) lg <- lagosus_load(modules = c("locus", "depth")) lg <- lagosus_load(modules = c("locus", "depth"), versions = c(0, NA)) # errors # lg <- lagosus_load() # lg <- lagosus_load(modules = c("locus", "depth"), versions = c(0)) }