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

Add examples in help files for finer-scale data (e.g., block) #7

Closed
mtreg opened this issue Feb 7, 2017 · 4 comments
Closed

Add examples in help files for finer-scale data (e.g., block) #7

mtreg opened this issue Feb 7, 2017 · 4 comments

Comments

@mtreg
Copy link
Contributor

mtreg commented Feb 7, 2017

This is a great package - thanks for your great work on it!

Particularly for folks new to the US Census API it would be helpful to have some more examples - in particular, for getting data at as fine as tract or block level. I've included an example below for Census block in case you'd like to include, and could also issue pull request if you prefer - just let me know.

data2010 <- getCensus(name="sf1", 
vintage=2010,
key=censuskey, 
vars=c('PLACE','P0010001', 'P0030001', 'BLKGRP'), 
region="block:*", regionin='state:36+county:27')
@hrecht
Copy link
Owner

hrecht commented Feb 8, 2017

Thanks, a pull request would be great!

@mtreg
Copy link
Contributor Author

mtreg commented Feb 15, 2017

Just following-up on this - submitted a pull request with updates to README and the getcensus_functions.R file (formatted appropriately for ROxygen2)

@hrecht
Copy link
Owner

hrecht commented Feb 15, 2017

Thanks @mtreg, sorry for the slow response. I haven't had a chance to review and run tests yet but as soon as I can turn back to the package I will. Looks good on Github.

@hrecht
Copy link
Owner

hrecht commented Jun 4, 2017

Addressed in #8 and 164d07d

@hrecht hrecht closed this as completed Jun 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants