-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from riotbib/add-eu-stateaids
Add eu_stateaid
- Loading branch information
Showing
1 changed file
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |