While users can now get all citations via get_package(), @CLAUMEMO suggests to also support this for a dataframe of detections users got via get_acoustic_detections().
New function get_bibliography()
Functionality:
my_detections <- get_acoustic_detections(scientific_name = "Mola mola")
get_bibliography(my_detections)
#> item type citation
#> ETN data platform Reubens J, ...
#> etn R package Huybrechts P, ...
#> STRAITS_GIBRALTAR_ANIMAL animal project ...
#> FISP acoustic project ...
#> Haringvliet2023-2026 acoustic project ...
Input
Error handling
Output
todo
Reubens, J., Aarestrup, K., Abecasis, D. et al. The European tracking network through time: united efforts to advance aquatic conservation in Europe. Anim Biotelemetry (2026). https://doi.org/10.1186/s40317-026-00475-z
Updated function get_package()
While users can now get all citations via
get_package(), @CLAUMEMO suggests to also support this for a dataframe of detections users got viaget_acoustic_detections().New function
get_bibliography()Functionality:
Input
animal_project_codeand
acoustic_project_codeis ok.Error handling
animal_project_codeandacoustic_project_code.get_acoustic/animal_projects().Output
item: project code (+ETNandetn)type: what type of item it is:data platform,R package,animal project,acoustic project`citation: citation returned bycite_imis_dataset()ETNdata system, with a hardcoded citationetnR package, with a citation to the latest (non-dev) releasetodo
etn_citation()platform_citation("etn")or data objectplatform_citationforetn_refinvalid 'cutoff' value for 'deparse', using defaultcheck_value()check_value(): error class + nicer return message: cutoff options, partial matching similar torlang:::stop_arg_match()using basepmatch().{vcr}or implement caching oncite_imis_dataset()Updated function
get_package()Call
get_bibliography()instead of the current code:etn/R/get_package.R
Lines 156 to 160 in e57debd
Rename the resource (and csv) from
referencestobibliographyUpdate the column names
Update
field_definitions.tsvUpdate function definition
Update
download_acoustic_dataset()function definition (references -> bibliography)etn/R/download_acoustic_dataset.R
Line 7 in e57debd