Reputation: 1959
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.
use_data
? What would be the better way?Upvotes: 0
Views: 85