Skip to content

Commit 41eddf0

Browse files
jingjtangkrivard
andauthored
Update google_symptoms/delphi_google_symptoms/geo.py
It should Co-authored-by: Katie Mazaitis <[email protected]>
1 parent 3b13267 commit 41eddf0

File tree

1 file changed

+1
-2
lines changed
  • google_symptoms/delphi_google_symptoms

1 file changed

+1
-2
lines changed

google_symptoms/delphi_google_symptoms/geo.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def generate_transition_matrix(geo_res):
3131
else:
3232
mapping_flag = "state_id"
3333
map_df = gmpr.get_crosswalk("state", "state")
34-
map_df = gmpr.add_geocode(map_df, "state_code", "hhs")
35-
map_df = gmpr.add_geocode(map_df, "state_code", "nation")
34+
map_df = gmpr.add_geocode(map_df, "state_code", geo_res)
3635
map_df = gmpr.add_population_column(map_df, "state_code")
3736

3837
if geo_res == "hrr":

0 commit comments

Comments
 (0)