Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ ZENODOarrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Software . 2025
Data sources: ZENODO
ZENODO
Software . 2026
Data sources: Datacite
ZENODO
Software . 2025
Data sources: Datacite
ZENODO
Software . 2026
Data sources: Datacite
versions View all 3 versions
addClaim

etn: Access Data from the European Tracking Network

Authors: Huybrechts, Pieter; Desmet, Peter; Oldoni, Damiano; Van Hoey, Stijn;

etn: Access Data from the European Tracking Network

Abstract

Release notes Use etn on your computer 🎉 etn now connects to the ETN database with an API provided by the etnservice package (#280). This means you can use the package from your own computer. Note that this will be slower than running it from the ETN RStudio server. etn will automatically switch to a local database connection when available (e.g. the ETN RStudio server). Use Sys.setenv(ETN_PROTOCOL = "opencpu") to override this behaviour and force the package to use the API (#398). Queries via the API and the ETN RStudio Server will return the same results (#317). When using a local database connection, etn will check if the installed helper package etnservice that is used to place these queries is up to date with the one deployed via the API. This is to ensure that queries placed via the API and via the local database connection always result in consistent results. If the installed version of etnservice is older, you will be prompted to install a newer version (#385). Credentials Breaking change! Action required Your credentials (username and password) to connect to the ETN database are no longer passed via the connection argument. They are asked or retrieved from your .Renviron file every time you run a function. New authentication mechanism (#317, #339, #338, #228). New vignette vignette("authentication"). connection argument is deprecated in all functions (#301). connect_to_etn() is deprecated (#303). Here is how you can migrate: Use the new ETN RStudio server (https://rstudio.europeantrackingnetwork.org). The LifeWatch RStudio server (https://rstudio.lifewatch.be) won't work with this version of etn and will be discontinued. Follow the steps in vignette("authentication") to look up and store your credentials. Update your scripts: # Good get_animals(animal_id = 305) # Bad connect_to_etn() get_animals(con, animal_id = 305) get_animals(connection = con, animal_id = 305) Accessing data get_acoustic_detections() now uses a different protocol to retrieve data. It can now reliably return 10M+ detections without timeouts (#384, #382, #323). get_acoustic_detections() now returns a progress bar for large queries (#384). get_acoustic_detections() now has a deployment_id filter argument (#382, #340). get_acoustic_detections() now has a tag_serial_number argument, which is more reliable than acoustic_tag_id (which is still supported). Thanks @lottepohl for the suggestion (#408, #386). get_acoustic_detections() may return fewer (erroneous) detections than before, due to fixes in the database. get_animals() now includes type_type = "archival" data (#365). Changes for developers New vignette vignette("options") describes some developer options (#398). Contributors can change the default domain of the API to the URL of a test server via the environmental variable ETN_TEST_API (#383). Tests make use of {vcr} to record and replay HTTP requests to the API. These results are stored in /tests/fixtures (#432). Tests have new helper functions, including skip_if_not_localdb(), skip_if_http_error() and expect_protocol_agnostic(). The latter is used to compare SQL vs API calls in test-protocol_agnostic.R (#436). Tests for download_acoustic_datasets() are updated for archival tags and SQL vs API calls and makes use of markdown snapshots (#366). pkgdown website is now automatically build by a GitHub Action and is served from the gh-pages branch. The docs/ directory has been removed (#456). vignette("acoustic-telemetry") is precompiled with vignettes/precompile.R, so it doesn't run for every build (#473). Miscellaneous etn now relies on R >= 4.1.0 (because of {arrow} and {vcr} dependencies) and uses base pipes (|> rather than %>%) (#327, #384). write_dwc() now invisibly returns the transformed data as a list of data frames (rather than a data frame) (#302). Previously deprecated functions get_deployments(), get_detections(), get_projects(), get_receivers(), list_network_project_codes() are now removed. vignette("etn_fields") was outdated and has been removed (#468).

etn is an R package to access data from the European Tracking Network (ETN). With etn you can query metadata (animals, tags, deployments, receivers, projects) and data (acoustic detections, sensor data) from the ETN database and use these in your analyses. Data access requires user credentials and is subject to a data policy. See the package website for more information.

Keywords

fish, oscibio, biologging, r-package, lifewatch, r, animal-movement, animal-tracking, data-access, rstats

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average
Related to Research communities
LifeWatch ERIC