Skip to content

Commit

Permalink
Duplicate short names for Mexico Industries
Browse files Browse the repository at this point in the history
  • Loading branch information
makmanalp committed Sep 23, 2015
1 parent b685e56 commit 6325c06
Show file tree
Hide file tree
Showing 3 changed files with 422 additions and 419 deletions.
3 changes: 3 additions & 0 deletions industry/NAICS/Mexico/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ def rename_level(df, from_level, to_level):
parent_id_table = parent_code_table_to_parent_id_table(parent_code_table, h)
parent_id_table = parent_id_table.merge(spanish, on=["level", "code"])

parent_id_table["name_short_en"] = parent_id_table["name"]
parent_id_table["name_short_es"] = parent_id_table["name_es"]

c = Classification(parent_id_table, h)

c.to_csv("out/industries_mexico_scian_2007.csv")
Expand Down
Loading

0 comments on commit 6325c06

Please sign in to comment.