read archival data: add get_archival_data() function - #589
Open
PietrH wants to merge 140 commits into
Open
Conversation
…uuid pointer to a csv file.
…409-archival-data
… size of the file we are downloading
get_archival_data() functionget_archival_data() function
PietrH
marked this pull request as ready for review
August 18, 2026 15:08
Member
Author
|
Ready for review |
PietrH
requested a deployment
to
manual-approval
August 20, 2026 13:26 — with
GitHub Actions
Waiting
PietrH
requested a deployment
to
manual-approval
August 20, 2026 13:53 — with
GitHub Actions
Waiting
This reverts commit 794d7c3.
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.Switch CI back to production deployment
Increase code coverage to hit target
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.3file_size()a vectorizedfile.size()that also returns the paths asnames()cli_yes()ausethis::ui_yeah()alternative that allows forgluesyntax.