Comments (7)
How much of a difference would it make if you split the data package into historical and modern datasets?
from usaboundaries.
It might be worth doing. The historical data is only about 2.4 Mb. But I'd like to add higher resolution versions, which will add quite a bit. (If I do that, then the resolution argument will change from resolution = c("20m", "5m", "500k")
to resolution = c("low", "med", "high")
. But the contemporary data will have to change every year, whereas the historical will never change.
The single biggest file is the zip codes, which is 32 Mb.
from usaboundaries.
Hmmmmm, maybe separate out the zipcodes? CRAN is definitely not going to go for a 30 meg package that gets updated every year.
Bigger data packages can go as drat() repos - and you can include notes describing how to install, or provide a helper function that calls install.packages()
with the right arguments. Does that make sense?
from usaboundaries.
Thanks for the suggestion, @hadley. I have the same basic problem with the gender package. But it looks like rOpenSci has a drat repository up and running. I think I might try that approach first for the data only packages, which will give me more flexibility about adding and extending, then just put the interface package on CRAN.
from usaboundaries.
I'd recommend putting at least one data package on cran - then the package can do something straight away. And have examples etc.
from usaboundaries.
This issue is fixed in the latest release. I included the contemporary and historical low-res data in the CRAN package, which can install a package with higher-resolution data from the rOpenSci repository.
from usaboundaries.
Perfect
from usaboundaries.
Related Issues (20)
- Create USAboundariesHistorical package
- Add centroids of zipcodes from the ZCTA 2010 Census
- Ohio 9th congressional district HOT 3
- County ID HOT 1
- Add local legislative districts HOT 2
- Fix problem with local images in README per CRAN e-mail HOT 1
- Albers USA projection HOT 3
- Table of states and dates of admission to Union
- add states argument to `us_cities()` and `us_zipcodes()` HOT 1
- Can us_cities() return an sf object ? HOT 1
- Can potential for joining county fields from us_cities() and us_counties() be improved ? HOT 2
- `state_plane()` add example of plotting to the examples section. HOT 1
- add references to the JOSS paper submission
- Add an example of a real world analysis.
- statement of need can be strengthened in the readme HOT 1
- Updated PA Congressional Districts HOT 1
- Move readme images into ./man/figures
- Deprecation of us_boundaries HOT 1
- Duplicate column names in us_counties()
- American Boundaries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usaboundaries.