Description Usage Arguments Value Examples
Get pivot table of species richness by park and year
1 | get_n_spp_pivtbl(cfg, park, year, xlsx = NULL)
|
cfg |
NPS configuration list object; see |
park |
NPS park abbreviation |
year |
year of data to extract |
xlsx |
optional Excel spreadsheet path to write out |
pivottabler::PivotTable R6 object. Render with n_spp_tbl$renderPivot()
1 2 3 4 5 6 7 8 | cfg <- get_nps_config(system.file(package="npstools", "nps_config.yaml"))
park <- "CABR"
year <- 2015
n_spp_pivtbl <- get_n_spp_pivtbl(cfg, park, year)
# render pivot table as html widget
n_spp_pivtbl$renderPivot()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.