Add get_acoustic_deployment_logs() - #517
Conversation
…ver, record_type, datetime combo
Thanks for your review Lotte! Figuring out if there are deployment logs for an idI've added a warning message when one or more of the requested deployments doesn't have log data available. I suppose I could also add a second function Personally I think the warning is enough, if you think we need another way for people to figure this out, we can investigate and tackle that in a separate development! Documentation of fields/logsI'm afraid I don't know much about these fields. I suppose they might be documented in a separate database table? I'd certainly be in favor of adding a help page with more information about these fields. But currently I don't have much to go on. I don't even really know what fields I'm going to be returning, and there are quite a few different ones. See this comment: #254 (comment), I found 243 different fields at the time. |
|
Addressed reviewer comments. Ready for review. |
meeting conclusion:
get_acoustic_deployment_logs(deployment_id, limit = FALSE)under construction!
Notes for the reviewer:
get_receiver_logs()was implemented with speed in mind, but compromises were made for maintainability and to not take extra dependencies (yyjsonr, data.table).ETN_TEST_APIenvironmental variable to the test api url. Contact me if you don't have this value handy. VLIZ has requested we not make it public.deployment_idis required, getting all deployments should not be done likely as it'll take a while.station_namewas requested by Lottestart_dateandend_datewere implemented to mirror other etn functions, getRad does it better with lubridate support but that is a development for another day.station_name.{vcr}HTTP response caching at the moment because as of writing the production{etnservice}deployment is lagging, this way I can ensure that tests will continue to fail until production has caught up.Before merging