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

Metadata for data updating frequency, last version #30

Closed
trashbirdecology opened this issue Jan 6, 2020 · 3 comments
Closed

Metadata for data updating frequency, last version #30

trashbirdecology opened this issue Jan 6, 2020 · 3 comments
Assignees
Labels
enhancement A suggestion or feature that improves existing functionality
Milestone

Comments

@trashbirdecology
Copy link

Please provide metadata or information in the README (or elsewhere) which provides information on the frequency (preferably the times) at which the boundaries are updated.

Would also be really cool to have historical boundaries available (might increase probability of people using this package for time series visualizations of political boundary shifts, eg gerrymandering)

@trashbirdecology trashbirdecology added the enhancement A suggestion or feature that improves existing functionality label Jan 6, 2020
@trashbirdecology trashbirdecology changed the title Provide the data updating frequency Metadata for data updating frequency, last version Jan 6, 2020
@pdil
Copy link
Owner

pdil commented Jan 6, 2020

@trashbirdecology I agree with adding the times at which the boundary data sets were updated, I can go back through the repo history to add those in.

However, for your second point, it would be difficult to include the historical boundaries themselves because the files that are used now already put the package over CRAN's recommended 5 MB limit so adding more and more data sets over time would greatly increase the package's size.

@pdil pdil self-assigned this Jan 6, 2020
@pdil pdil added this to the v0.6.0 milestone Jan 6, 2020
@trashbirdecology
Copy link
Author

Yep, figured that was a big ask.

Perhaps a file with links for simple importation of previous boundaries?

@pdil
Copy link
Owner

pdil commented Jan 7, 2020

@trashbirdecology yeah I have thought about making a script that automatically downloads the shapefiles and creates the data frame. If I can get it to work I can add the year (I think the state/county shape files are only updated once per year) as a parameter in us_map which would then download and create the data frame. It would take longer than usual but would still be better than nothing. I'll keep this in mind for a future update.

@pdil pdil closed this as completed in 9384cff Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A suggestion or feature that improves existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants