Skip to content

Commit

Permalink
Merge pull request #1 from riotbib/add-eu-stateaids
Browse files Browse the repository at this point in the history
Add eu_stateaid
  • Loading branch information
simonwoerpel authored Jun 4, 2024
2 parents 98650c9 + bebd293 commit be43d93
Showing 1 changed file with 90 additions and 0 deletions.
90 changes: 90 additions & 0 deletions datasets/eu_stateaid/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: eu-stateaid
title: State Aid Transparency Public Search
publisher:
name: European Commission
url: https://webgate.ec.europa.eu/competition/transparency/public
extract:
sources:
- uri: ./20240208-eu-stateaid.csv.gz
stream: false
pandas:
read:
options:
compression: gzip
dtype: str
operations:
- handler: DataFrame.rename
options:
columns:
"20240208-eu-stateaid.csv": Country
transform:
queries:
- entities:
payer:
schema: PublicBody
key_literal: eu-stateaid-authority
keys:
- Country
- Granting Authority Name
- Granting Authority Name [EN]
properties:
country:
column: Country
name:
columns:
- Granting Authority Name
- Granting Authority Name [EN]
beneficiary:
schema: LegalEntity
key_literal: eu-stateaid-beneficiary
keys:
- "National ID"
properties:
name:
columns:
- "Name of the beneficiary"
- "Name of the beneficiary [EN]"
sector:
column: "Sector (NACE)"
country:
column: "Another Beneficiary Member State"
payment:
schema: Payment
key_literal: eu-stateaid-payment
keys:
- "Ref-no."
properties:
transactionNumber:
column: "Ref-no."
programme:
columns:
- "Aid Instrument"
- "Aid Instrument [EN]"
purpose:
columns:
- "Objectives of the Aid"
- "Objectives of the Aid [EN]"
summary:
columns:
- "Aid Measure Title"
- "Aid Measure Title [EN]"
date:
column: "Date of granting"
format: "%d/%m/%Y"
beneficiary:
entity: beneficiary
payer:
entity: payer
currency:
column: "Currency"
amount:
columns:
- "Nominal Amount, expressed as full amount"
- "Aid element, expressed as full amount"

load:
fragments_uri: postgresql:///ftm

aggregate: false
# aggregate:
# handler: investigraph.logic.aggregate:in_db

0 comments on commit be43d93

Please sign in to comment.