diff --git a/ecorda/__init__.py b/ecorda/__init__.py index a2e283a..8f102e0 100644 --- a/ecorda/__init__.py +++ b/ecorda/__init__.py @@ -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)