Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update historical data in cache #49

Open
wilsonfreitas opened this issue Jul 29, 2022 · 0 comments
Open

Update historical data in cache #49

wilsonfreitas opened this issue Jul 29, 2022 · 0 comments

Comments

@wilsonfreitas
Copy link
Collaborator

wilsonfreitas commented Jul 29, 2022

Create an engine to update historical data in cache.

Maybe the binary data, already processed inside a data.frame, could be saved in a SQLite database like a BLOB.

Considering that all data downloaded is indexed to a reference date, one alternative is: update the cache with all missing reference dates.

Example:

update_cache(template)
#> Updating <template> cache with <n> dates

When the cache is empty

update_cache(template)
#> x Error no cache for template <template>
check_cache(template)
#> cache for <template> is up to date
@wilsonfreitas wilsonfreitas changed the title Atualização de dados históricos no cache Update historical data in cache Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant