Recent Releases of etn
etn - etn 2.2.2
This release includes a number of small changes and bugfixes. The most important of which are:
- Fix issue in check_value() helper used in several functions to generate error messages. The error message failed to format when NA values were returned as part of a list_ function call. (#356)
- Fix issue in list_receiver_ids() where NA was sometimes included in the results. (#356)
- Fix bug in write_dwc(): when rights_holder was not provided the function would fail to generate a darwincore archive. (#356)
Other metadata and development workflow changes:
- Update funder, remove logo + custom authors by @peterdesmet in https://github.com/inbo/etn/pull/311
- Add
CITATION.cff
by @PietrH in https://github.com/inbo/etn/pull/337 - Skip tests that depend on local db connection when it isn't present on testing machine by @PietrH in https://github.com/inbo/etn/pull/346
- Add (zenodo) DOI to README by @PietrH in https://github.com/inbo/etn/pull/352
- Update pkgdown website based on changes from #352, and other lagging changes by @PietrH in https://github.com/inbo/etn/pull/354
- Point badge image to versionless DOI by @peterdesmet in https://github.com/inbo/etn/pull/355
Full Changelog: https://github.com/inbo/etn/compare/v2.2.1...v2.2.2
Biosphere - Marine Life and Fishery
- R
Published by PietrH 11 days ago
etn - v2.3-beta
The etn package can now be used on your computer! It connects to the ETN database with an API provided by the etnservice package. All functions make use of this API by default, which may result in slower response times. To use the previous method of directly connecting to the database (only possible when working on the LifeWatch RStudio Server), set api = false
in all functions (#280)
- The
connection
argument is no longer used and therefore deprecated. You will be prompted for credentials instead. Use e.g.get_animals(animal_id = 305)
, notget_animals(con, animal_id = 305)
orget_animals(connection = con, animal_id = 305)
(#301). connect_to_etn()
is no longer necessary and therefore deprecated. All functions will create their own connection when used. If you have no credentials stored in the system environment, the functions will require you to enter them once per session (#303).- The deprecated functions
get_deployments()
,get_detections()
,get_projects()
,get_receivers()
,list_network_project_codes()
are no longer included. write_dwc()
now invisibly returns the transformed data as a list of data frames (rather than a data frame) (#302).
Full Changelog: https://github.com/inbo/etn/compare/v2.2.1...v2.3-beta
Biosphere - Marine Life and Fishery
- R
Published by PietrH 7 months ago
etn - etn 2.2.0
This release adds the depth_in_meters
field to get_acoustic_detections()
(#261), it also adds a NEWS.md page where changes in the package will be communicated.
Some further quality of life and bugfixes:
- Fix issue in download_acoustic_dataset() where some fields were missing from datapackage.json.
- Stricter unit tests (#268).
Changelog: https://github.com/inbo/etn/compare/v2.1.0...v2.2.0
Biosphere - Marine Life and Fishery
- R
Published by PietrH over 1 year ago
etn - etn 2.1.0
This release adds a new function write_dwc()
and fixes some issues in unit tests. It also includes some other minor fixes to internal function use and documentation.
What's Changed
- Fix #240: use :: over importFrom by @peterdesmet in https://github.com/inbo/etn/pull/241
- Add funder and use default README.Rmd by @peterdesmet in https://github.com/inbo/etn/pull/247
- Fix tests by @peterdesmet in https://github.com/inbo/etn/pull/253
- Add
write_dwc()
function by @peterdesmet in https://github.com/inbo/etn/pull/257 - Update return value for
write_dwc()
by @peterdesmet in https://github.com/inbo/etn/pull/269
Full Changelog: https://github.com/inbo/etn/compare/v2.0.0...v2.1.0
Biosphere - Marine Life and Fishery
- R
Published by PietrH about 2 years ago
etn - etn 2.0.0
This releases updates the package to make use of the new model and scope of ETN. All issues covered by this release can be found here and include:
tag_serial_number
is now the primary identifier for tags. Tags can have multiple types, subtypes and sensors. Acoustic information is related to theacoustic_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
). - More natural tests and near full coverage.
Biosphere - Marine Life and Fishery
- R
Published by peterdesmet over 3 years ago