View source: R/get_cpod_projects.R
get_cpod_projects | R Documentation |
Get data for cpod projects, with options to filter results.
get_cpod_projects(connection = con, cpod_project_code = NULL)
connection |
A connection to the ETN database. Defaults to |
cpod_project_code |
Character (vector). One or more cpod project codes. Case-insensitive. |
A tibble with animal project data, sorted by project_code
. See
also
field definitions.
# Set default connection variable
con <- connect_to_etn()
# Get all animal projects
get_cpod_projects(con)
# Get a specific animal project
get_cpod_projects(con, cpod_project_code = "cpod-lifewatch")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.