get_species_data | R Documentation |
Convenience function to extract data for a given species. The species can be selected either by its 4 letters alpha code (use_spec_code=TRUE) or its full name (use_spec_code=FALSE
get_species_data(species_name, df, use_spec_code = TRUE)
species_name |
The species name. Should be either a 4 letters alpha code (as found in the SPEC column of the Gamebirds dataset) if use_spec_code is set to TRUE, or the full name as found in the Species column. |
df |
The dataframe to subset |
use_spec_code |
Use the species code?, Default: TRUE |
A subset of df containing only the target species
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.