-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #274 from inbo/depth-in-meters
add depth_in_meters field to get_acoustic_detections()
- Loading branch information
Showing
32 changed files
with
563 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
Package: etn | ||
Title: Access Data from the European Tracking Network | ||
Version: 2.1.0 | ||
Version: 2.2.0 | ||
Authors@R: c( | ||
person("Pieter", "Huybrechts", email = "[email protected]", | ||
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6658-6062")), | ||
person("Peter", "Desmet", email = "[email protected]", | ||
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-8442-8025")), | ||
role = "aut", comment = c(ORCID = "0000-0002-8442-8025")), | ||
person("Damiano", "Oldoni", email = "[email protected]", | ||
role = "aut", comment = c(ORCID = "0000-0003-3445-7562")), | ||
person("Stijn", "Van Hoey", email = "[email protected]", | ||
|
@@ -37,10 +39,13 @@ Suggests: | |
kableExtra, | ||
knitr, | ||
rmarkdown, | ||
testthat, | ||
tidyr | ||
testthat (>= 3.0.0), | ||
tidyr, | ||
frictionless, | ||
withr | ||
LazyData: true | ||
Encoding: UTF-8 | ||
VignetteBuilder: knitr | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.2.2 | ||
RoxygenNote: 7.2.3 | ||
Config/testthat/edition: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# etn 2.2.0 | ||
|
||
* Add `NEWS.md` file to communicate changes to the package. | ||
* Add `depth_in_meters` field to `get_acoustic_detections()` (#261). | ||
* Fix issue in `download_acoustic_dataset()` where some fields were missing from `datapackage.json`. | ||
* Stricter unit tests (#268). | ||
|
||
# etn 2.1.0 | ||
|
||
* Add funder and use default README.Rmd (#247). | ||
* New function `write_dwc()` to transform acoustic telemetry data to Darwin Core that can be harvested by OBIS and GBIF (#257). | ||
|
||
# etn 2.0.0 | ||
|
||
This releases updates the package to make use of the new model and scope of ETN. Have a look at [this milestone](https://github.com/inbo/etn/milestone/2) for all issues that are included. | ||
|
||
* `tag_serial_number` is now the primary identifier for tags. Tags can have multiple types, subtypes and sensors. Acoustic information is related to the `acoustic_tag_id`. | ||
* `acoustic` scope remains completely covered, but is now reflected in function names. This allows us to implement additional scopes (e.g. `cpod`) in the future. | ||
* Deprecations for old function names. | ||
* New tutorial on acoustic scope ([acoustic_telemetry.Rmd](https://github.com/inbo/etn/blob/main/vignettes/acoustic_telemetry.Rmd)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
authors <- eval(parse(text = meta$`Authors@R`)) | ||
authors <- authors[which(unlist(lapply(authors, function(x) { "aut" %in% x$role })))] | ||
|
||
bibentry( | ||
bibtype = "manual", | ||
title = paste(meta$Package, meta$Title, sep = ": "), | ||
author = authors, | ||
year = format(Sys.Date(), "%Y"), | ||
note = sprintf("R package version %s", meta$Version), | ||
url = "https://inbo.github.io/etn/" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# download_acoustic_dataset() returns message and summary stats | ||
|
||
Code | ||
cat(download_acoustic_dataset(con, animal_project_code = "2014_demer")) | ||
Message <simpleMessage> | ||
Downloading data to directory `2014_demer`: | ||
* (1/6): downloading animals.csv | ||
* (2/6): downloading tags.csv | ||
* (3/6): downloading detections.csv | ||
* (4/6): downloading deployments.csv | ||
* (5/6): downloading receivers.csv | ||
* (6/6): adding datapackage.json as file metadata | ||
Summary statistics for dataset `2014_demer`: | ||
* number of animals: 16 | ||
* number of tags: 16 | ||
* number of detections: 236918 | ||
* number of deployments: 1081 | ||
* number of receivers: 244 | ||
* first date of detection: 2014-04-18 | ||
* last date of detection: 2018-09-15 | ||
* included scientific names: Petromyzon marinus, Rutilus rutilus, Silurus glanis, Squalius cephalus | ||
* included acoustic projects: V2LCHASES, albert, demer, dijle, zeeschelde | ||
|
Oops, something went wrong.