Skip to content

Commit

Permalink
Minor Bug fix: FIPS to strings instead of ints
Browse files Browse the repository at this point in the history
  • Loading branch information
mdp0023 committed May 2, 2024
1 parent 6dbe413 commit ca2d2ef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions svinsight/svi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1096,8 +1096,10 @@ def fetch_data(var, state, county):
county = Census.ALL
state = geoid
else:
county = int(geoid[2:])
state = int(geoid[:2])
# county = int(geoid[2:])
# state = int(geoid[:2])
county = geoid[2:]
state = geoid[:2]

with ThreadPoolExecutor() as executor:
futures = {executor.submit(fetch_data, var, state, county) for var in vars}
Expand Down

0 comments on commit ca2d2ef

Please sign in to comment.