Skip to content

Commit

Permalink
cli: Propagate country column rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jhf committed May 22, 2024
1 parent 4578924 commit 7f98a65
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions cli/src/statbus.cr
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,14 @@ class StatBus
"physical_postal_code",
"physical_postal_place",
"physical_region_code",
"physical_country_code_2",
"physical_country_iso_2",
"postal_address_part1",
"postal_address_part2",
"postal_address_part3",
"postal_postal_code",
"postal_postal_place",
"postal_region_code",
"postal_country_code_2",
"postal_country_iso_2",
"primary_activity_category_code",
"secondary_activity_category_code",
"sector_code",
Expand All @@ -213,14 +213,14 @@ class StatBus
"physical_postal_code",
"physical_postal_place",
"physical_region_code",
"physical_country_code_2",
"physical_country_iso_2",
"postal_address_part1",
"postal_address_part2",
"postal_address_part3",
"postal_postal_code",
"postal_postal_place",
"postal_region_code",
"postal_country_code_2",
"postal_country_iso_2",
"primary_activity_category_code",
"secondary_activity_category_code",
"sector_code",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"csv": "forretningsadresse.kommunenummer"
},
{
"sql": "physical_country_code_2",
"sql": "physical_country_iso_2",
"csv": "'NO'"
},
{
Expand Down Expand Up @@ -128,7 +128,7 @@
"csv": "postadresse.land"
},
{
"sql": "postal_country_code_2",
"sql": "postal_country_iso_2",
"csv": "postadresse.landkode"
},
{
Expand Down
4 changes: 2 additions & 2 deletions samples/norway/enheter-selection-cli-mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"csv": "forretningsadresse.kommunenummer"
},
{
"sql": "physical_country_code_2",
"sql": "physical_country_iso_2",
"csv": "forretningsadresse.landkode"
},
{
Expand Down Expand Up @@ -128,7 +128,7 @@
"csv": "postadresse.land"
},
{
"sql": "postal_country_code_2",
"sql": "postal_country_iso_2",
"csv": "postadresse.landkode"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"csv": "postadresse.land"
},
{
"sql": "postal_country_code_2",
"sql": "postal_country_iso_2",
"csv": "postadresse.landkode"
},
{
Expand Down
4 changes: 2 additions & 2 deletions samples/norway/underenheter-selection-cli-mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"csv": "beliggenhetsadresse.kommunenummer"
},
{
"sql": "physical_country_code_2",
"sql": "physical_country_iso_2",
"csv": "beliggenhetsadresse.landkode"
},
{
Expand Down Expand Up @@ -140,7 +140,7 @@
"csv": "postadresse.land"
},
{
"sql": "postal_country_code_2",
"sql": "postal_country_iso_2",
"csv": "postadresse.landkode"
},
{
Expand Down

0 comments on commit 7f98a65

Please sign in to comment.