- Added
get_receiver_logs()to fetch receiver logs from the database. The data is returned as a tibble with a column with logs in JSON format. (#117)
- Made sure
list_acoustic_project_codes(),list_animal_project_codes(),list_cpod_project_codes()andlist_scientific_names()always return values in the same order, regardless of the locale of the computer R is running on. (#116)
- Added
tag_serial_numbertoget_acoustic_detections_page(). This argument is a better option asacoustic_tag_id. Thank you @lottepohl for the suggestion. (#112, inbo/etn#386, #102)
get_version()now returns the package version as apackage_version,numeric_versionobject instead of as a character string. This allows for easy comparison by theetnpackage. (#109)
- Minor change to
get_acoustic_detections_page()to now support ellipsis...to be passed (unused). This is useful when the function is being called viado.call()and extra arguments are passed.
- Fix spelling mistake
- Added
get_version()which allows users to easily compare their locally installed version ofetnservicewith the one deployed on the OpenCPU API. (#81) - Added
get_acoustic_detections_page()which fetches a single page from the new detections view. This function allows paginated access and is to be called by the etn package functionget_acoustic_detections()to make fetching large numbers of detections more efficient. (#85) - The
depth_in_metersfield is not returned as part ofget_acoustic_detections_page(), this was a calculated field that has proved unreliable. It was also causing performance issues in the database. As an alternative depth can (sometimes) be retrieved viasensor_valueandsensor_unit, which will be more dependable than a calculation based on slope.
- Added
depth_in_metersfield toget_acoustic_detections()to achieve feature parity with the etn package (#72, inbo/etn#274).
- Add new function
validate_login()to check if the provided credentials grant access to ETN (#59). - Fixed bug in
write_dwc()where providing no value forrights_holderwould result in the function failing to output a data.frame (#69). - etnservice will now no longer return duplicate receiver_ids in
list_receiver_ids()(inbo/etn#333.
- Updated integration tests (JavaScript) for postman monitor (#62).
- Fixed broken example in README and updated it to use
httr2(#64).
- Added badges to the README.
- Improvements to CI, note that tests and examples are not checked on github. These still need to be checked on a machine that has access to the ETN database.
- This is the first version of etnservice used in the beta of etn v2.3.0.
- This version is still lagging behind its contemporary version of etn v2.2.1, which means that database queries made via etnservice, or via the OpenCPU API are not guaranteed to be identical as the results of the same queries made via the etn R package.