aleph ftm mapping for open french data
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
action-reaction/sirene.yml

44 lines
1.3 KiB

fr_sirene:
queries:
- csv_url: http://localhost:1337/sirene.csv
filters_not:
categorieJuridiqueUniteLegale: "1000" # this gives us not people
entities:
member:
schema: Company
keys:
- siren
properties:
name:
column: denominationUniteLegale
registrationNumber:
column: siren
incorporationDate:
column: dateCreationUniteLegale
- csv_url: http://localhost:1337/sirene.csv
filters:
categorieJuridiqueUniteLegale: "1000" # this gives us only people
entities:
member:
schema: Person
keys:
- siren
properties:
name:
columns:
- prenomUsuelUniteLegale
- nomUniteLegale
firstName:
columns:
- prenom1UniteLegale
- prenom2UniteLegale
- prenom3UniteLegale
- prenom4UniteLegale
lastName:
column: nomUniteLegale
registrationNumber:
column: siren
incorporationDate:
column: dateCreationUniteLegale
gender:
column: sexeUniteLegale