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 extract functions #223

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open

Add extract functions #223

wants to merge 1 commit into from

Conversation

awunderground
Copy link
Member

@awunderground awunderground commented Oct 18, 2023

This PR adds create_county_extract() and create_place_extract() for TA requests.

For example, create_county_extract(fips = "11001", output_dir = "RMAPI_extract") creates a folder called RMAPI_extract/ and fills it with data subset to the specified FIPS.

It also reports back if any FIPS aren’t included in the data. For example, create_city_extract(fips = c("0103076", "abc", "def"), output_dir = "boom") returns the following message while creating the extract:

Queried FIPS in data: 0103076                                                                                                            
Queried FIPS not in data: abc, def

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant