Get data for cpod projects, with options to filter results.
Arguments
- connection
A connection to the ETN database. Defaults to
con
.- cpod_project_code
Character (vector). One or more cpod 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_cpod_projects(con)
#> # A tibble: 16 × 11
#> project_id project_code project_type telemetry_type project_name start_date
#> <int> <chr> <chr> <chr> <chr> <date>
#> 1 1088 ARMS_MBON_Bel… cpod NA Underwater … 2018-07-12
#> 2 880 Apelafico_aco… cpod NA Apelafico_a… 2021-01-01
#> 3 973 Apelafico_und… cpod NA Acoustic Ec… 2021-01-01
#> 4 1093 CODEVCO cpod NA CODEVCO - m… 2021-10-31
#> 5 1073 PAM-Borssele cpod NA PAM Harbour… 2019-07-01
#> 6 1066 PelFish cpod NA Duurzame ec… 2023-01-01
#> 7 948 PhD_Parcerisas cpod NA PhD_Parceri… 2021-03-09
#> 8 1094 PureWind cpod NA Noise impac… 2023-01-01
#> 9 1063 SEAWave cpod NA SEAWave: sm… 2021-08-20
#> 10 902 SMGMIT cpod Acoustic SeaMonitor … 2019-04-10
#> 11 1079 STRAITS_PAM cpod NA Passive Aco… 2023-01-02
#> 12 838 VLIZ-MRC-AMUC… cpod NA VLIZ-MRC-AM… NA
#> 13 839 VLIZ-MRC-AMUC… cpod NA VLIZ-MRC-AM… NA
#> 14 1062 WaveHub cpod NA Wave Hub: u… 2011-01-01
#> 15 638 cpod-lifewatch cpod NA Lifewatch 2015-06-01
#> 16 639 cpod-od-natuur cpod NA WinMon.be_C… 2010-01-01
#> # ℹ 5 more variables: end_date <date>, latitude <dbl>, longitude <dbl>,
#> # moratorium <lgl>, imis_dataset_id <int>
# Get a specific animal project
get_cpod_projects(con, cpod_project_code = "cpod-lifewatch")
#> # A tibble: 1 × 11
#> project_id project_code project_type telemetry_type project_name start_date
#> <int> <chr> <chr> <chr> <chr> <date>
#> 1 638 cpod-lifewatch cpod NA Lifewatch 2015-06-01
#> # ℹ 5 more variables: end_date <date>, latitude <dbl>, longitude <dbl>,
#> # moratorium <lgl>, imis_dataset_id <int>