knitr::opts_chunk$set( collapse = TRUE, comment = "" )
The required data columns are (formatted exactly like so): YEAR, NUMBER_OF_SPAWNERS, SPECIES, FRACWILD, COMMON_POPULATION_NAME, RUN_TIMING, ESU, MAJOR_POPULATION_GROUP. The following optional columns will also be used: Popid (NA is not present), Method (set to "Survey" if missing), Citation (set to NA if missing), and Contributor (set to NA if missing). Other columns may be included but will be ignored.
Example data files are in the "extdata" folder of the installed package and in the "inst/extdata" folder in the GitHub repository.
fil <- system.file("extdata", "Demo_NWCTrends.csv", package="NWCTrends") cat(readLines(fil, n=5), sep="\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.