get_animal_projects: Get animal project data

View source: R/get_animal_projects.R

get_animal_projectsR Documentation

Get animal project data

Description

Get data for animal projects, with options to filter results.

Usage

get_animal_projects(connection = con, animal_project_code = NULL)

Arguments

connection

A connection to the ETN database. Defaults to con.

animal_project_code

Character (vector). One or more animal project codes. Case-insensitive.

Value

A tibble with animal project data, sorted by project_code. See also field definitions.

Examples

# Set default connection variable
con <- connect_to_etn()

# Get all animal projects
get_animal_projects(con)

# Get a specific animal project
get_animal_projects(con, animal_project_code = "2014_demer")

inbo/etn documentation built on Dec. 5, 2023, 4:17 a.m.