I would like my script to access internal data that can be updated. The data will be countries visited and the date. Not a high frequency data set, so doesn't justify using a database.
These are the lines I tried:
country_vis <- bind_rows(country_vis, c(country = new_country, date = entry_date))
usethis::use_data(country_vis, internal = TRUE, overwrite = TRUE, version = 3)
the bind_rows is fine, but the data is not updated.
- Do I have to rebuild the package or reference an environment?
or, - Is this not a legitimate use of
use_data
? What would be the better way?