Skip to content

Commit e13482b

Browse files
authored
include state FIPS codes in set of all FIPS geo values
so that `delphi_utils.geomap.GeoMapper().get_geo_values('fips')` also includes (for example) "42000" representing all of Pennsylvania, in addition to FIPS codes in the 42001-42999 interval that represent individual counties. see discussion at cmu-delphi/delphi-epidata#1134
1 parent 1f4f352 commit e13482b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_delphi_utils_python/delphi_utils/geomap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def _load_geo_values(self, geo_type):
158158
to_code = from_code = "state"
159159
elif geo_type == "fips":
160160
from_code = "fips"
161-
to_code = "pop"
161+
to_code = "state"
162162
else:
163163
from_code = "fips"
164164
to_code = geo_type

0 commit comments

Comments
 (0)