[WIP] read archival data: add get_archival_data() function#589
Draft
PietrH wants to merge 79 commits into
Draft
Conversation
…uuid pointer to a csv file.
…409-archival-data
… size of the file we are downloading
…409-archival-data
…409-archival-data
Discussed with Peter and decided to leave it as is. Co-Authored-By: Peter Desmet <peter.desmet@inbo.be>
41 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
get_archival_data()sends a database request viaget_archival_data_uuid()to get uuid identifiers for the files to download, these are then downloaded from lifewatch.com via httr2 to a local directory. Then read via arrow.Other changes
is_writeableas an analog toassertthat::is.writeableto check if we can write to a user supplied path and to provide a nicer error if not.validate_login()where a failure to provide credentials would refer to the wrong calling function.3