esa_salmon | R Documentation |
The data set has yearly spawner counts for endangered and threatened ESU (Evolutionary Significant Units) and DPS (Distinct Population Segments) in the Washington and Oregon. Data were downloaded from Coordinated Assessments API. Coordinated Assessments data eXchange (CAX) is developed by the Coordinated Assessments Partnership (CAP).
data(esa_salmon)
Objects of class "data.frame"
. Columns are species,
esu_dps, majorpopgroup, commonpopname, run, spawningyear, spawner, log.spawner
There are two datasets included: esa.salmon
and columbia.river
. The Columbia River data set is a subset of the esa.salmon
dataset that has all the ESUs and DPSs.
The dataset has the following columns
species: Chinook, Coho, Steelhead, Chum, Sockeye
esu_dps: name of the ESU
majorpopgroup: biological major group
commonpopname: common population name, generally a stream or river
run: run-timing
spawningyear: the year that the spawners were counted on the spawning grounds
spawner: total (natural-born and hatchery-born) spawners on the spawning ground. Generally some type of redd-count expansion or some other stream count of spawners. Redd = a gravel nest.
log.spawners: log of value
CAP StreamNet Coordinated Assessments Partnership (CAP) standardized high-level indicators (HLIs) for Natural Origin Spawner Abundance (NOSA).
rCAX: https://zenodo.org/records/10214433
data(esa.salmon)
df <- esa.salmon %>% subset(species == "Steelhead" & run == "Winter")
ggplot(df, aes(x=spawningyear, y=log.spawner, color=majorpopgroup)) +
geom_point(size=0.2) +
theme(strip.text.x = element_text(size = 2)) +
theme(axis.text.x = element_text(size = 5, angle = 90)) +
facet_wrap(~esapopname)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.