Skip to content

Commit

Permalink
move iso abbreviations to data folder
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Nov 11, 2024
1 parent 2469e64 commit eb5c410
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
global-include *.yaml
graft esupy/data_census
graft esupy/data
File renamed without changes.
2 changes: 1 addition & 1 deletion esupy/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def assign_state_abbrev(df):
def read_iso_3166():
# accessed from the ISO online browing platform
# https://www.iso.org/obp/ui/#search
df = pd.read_csv(path / 'ISO_3166.csv')
df = pd.read_csv(path / 'data' / 'ISO_3166.csv')
df = df.rename(columns={'English short name': 'Name',
'Alpha-2 code': 'ISO-2d',
'Alpha-3 code': 'ISO-3d'})
Expand Down

0 comments on commit eb5c410

Please sign in to comment.