Skip to content

Commit

Permalink
fix datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
toutestprismemeca committed Sep 16, 2024
1 parent 717a5fe commit ff5740e
Showing 1 changed file with 35 additions and 31 deletions.
66 changes: 35 additions & 31 deletions ecorda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,41 @@ def run_ecorda_pipeline() -> None:
URL = os.getenv('ECORDA_ENDPOINT')
extractionDate = NewDate('HORIZON', URL)
logger.debug(f'extractionDate : {extractionDate}')
LIST_DATA = [
'extractionDate',
'countries',
'eurostatNuts',
'calls',
'topics',
'topicLbDivisions',
'typeOfActions',
'typeOfActionsAttributes',
'proposals',
'proposals/applicants',
'proposals/applicants/departments',
'proposals/keywords',
'projects',
'projects/participants',
'projects/principalInvestigators',
'projects/participants/departments',
'legalEntities',
'legalEntitiesDepartments',
'legalEntitiesLinks',
'projects/payments',
'projects/reporting/formC',
'projects/reporting/iprs',
'projects/euroSciVocTaxonomy',
'projects/reporting/publications',
'projects/hrpResult',
'projects/participants/cascadingParticipants',
'projects/cascadingProjects',
'projects/innovationRadar',
'projects/datasets'
]

LIST_DATA = ['extractionDate',
'countries',
'eurostatNuts',
'calls',
'topics',
'topicLbDivisions',
'typeOfActions',
'typeOfActionsAttributes',
'eit',
'proposals',
'proposals/applicants',
'proposals/applicants/departments',
'proposals/keywords',
'projects',
'projects/participants',
'projects/principalInvestigators',
'projects/participants/departments',
'legalEntities',
'legalEntitiesDepartments',
'legalEntitiesLinks',
'projects/payments',
'projects/reporting/formC',
'projects/reporting/iprs',
'projects/euroSciVocTaxonomy',
'projects/reporting/publications',
'projects/hrpResult',
'projects/innovationRadar',
'projects/cascadingProjects',
'projects/participants/cascadingParticipants',
'projects/datasets',
'correctionMechanism',
'topicMetadata'
]


datas_load, datas_empty, datas_errors = extraction_all(
'HORIZON', LIST_DATA, URL)
Expand Down

0 comments on commit ff5740e

Please sign in to comment.