Skip to content

Fix method for calling geography data #2

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

Open
sj-io opened this issue Jan 30, 2024 · 0 comments
Open

Fix method for calling geography data #2

sj-io opened this issue Jan 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sj-io
Copy link
Owner

sj-io commented Jan 30, 2024

No Issue: 1. get_chas("county", state = "47") then 2. get_chas("county", state = "47", county = "157")

Running the functions in this order returns:

  1. Data for all counties in Tennessee
  2. Data for only Shelby County, Tennessee

Issue: 1. get_chas("county", state = "47", county = "157") then 2. get_chas("county", state = "47")

In this order returns:

  1. Data for only Shelby County
  2. Data for only Shelby County

Matching with cache data is too simple and doesn't know if a match is only a partial match. Need a reference states and counties? Maybe include with state abbreviations and names for get_chas calls.

@sj-io sj-io added the bug Something isn't working label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant