Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (27 sloc) 886 Bytes
recipes:
# specific country codes for clients file
country_code_clients:
input: clients_csv
steps:
- map:
matchid_location_depcode: matchid_location_depcode_src
- replace:
select: matchid_location_depcode$
regex:
- ^0: ''
- join: # country mapping (maps a specific code to the INSEE COG one)
type: in_memory
dataset: clients_pays
strict:
matchid_location_countrycode_src: COUNTRY_CODE
select:
matchid_location_country: LIBCOG
matchid_location_countrycode: CODEISO3
- join:
type: in_memory
dataset: countries
strict:
matchid_location_countrycode: CODEISO3
select:
matchid_location_country_latitude: latitude
matchid_location_country_longitude: longitude
You can’t perform that action at this time.