Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Mar 18, 2024
1 parent 5a2bcf1 commit abf00a4
Showing 1 changed file with 31 additions and 30 deletions.
61 changes: 31 additions & 30 deletions ecorda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,37 @@ 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/cascadingProjects',
'projects/participants/cascadingParticipants',
# 'projects/innovationRadar',
# 'projects/datasets'
]
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/cascadingProjects',
'projects/participants/cascadingParticipants',
# 'projects/innovationRadar',
# 'projects/datasets'
]

extraction_all('HORIZON', LIST_DATA, URL)
create_csv_json('HORIZON', LIST_DATA)
Expand Down

0 comments on commit abf00a4

Please sign in to comment.