load_park_tables: Read Park Tables

Description Usage Arguments Value Examples

Description

Read Park Tables

Usage

1
load_park_tables(cfg, park, tbls = NULL, append_park = F)

Arguments

cfg

NPS configuration list object; see get_nps_config

park

park code (ie CHIS, CABR or SAMO)

tbls

character vector of tables to load (default=NULL, loads all tables)

append_park

whether to append park code to name (eg tbl_Species_CHIS)

Value

Does not return anything. Loads all tables listed in the cfg$dir_tables/park folder into the global namespace.

Examples

1
2
cfg <- get_nps_config(system.file(package="npstools", "nps_config.yaml"))
load_park_tables(cfg, "CABR", tbls=c("tbl_Phenology_Species", "tlu_Richness"))

ecoquants/npstools documentation built on May 10, 2019, 9:50 a.m.