https://github.com/dataesr/projects-partners-consolidation
https://github.com/dataesr/projects-partners-consolidation
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dataesr/projects-partners-consolidation
- Owner: dataesr
- License: mit
- Created: 2024-09-26T10:11:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-23T10:23:34.000Z (11 months ago)
- Last Synced: 2025-09-11T10:48:46.898Z (9 months ago)
- Language: Python
- Size: 3.59 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Repository for Processing French Funding Data
In this repository, we process French funding data by adding information about partner organizations and affiliated persons.
## Setup Instructions
To use it, first, create a `.env` file in the root directory and add authorization access. Then, there are three options:
### 1. Run the notebook `process_and_send_data_details.ipynb`
Run the notebook with all the details of the code, step by step. When using the Jupyter notebook, select the data source (ex: ANR, ANSES...) at the beginning, and then execute each cell to obtain a standardized format for one source at a time.
### 2. Run the Flask application locally
- In an IDE, execute: `python projects_partners_flask_app.py`
- Then, execute the process at `http://127.0.0.1:5000/process?source=` + the data source (ex: ANR, ANSES...).
- example: `http://127.0.0.1:5000/process?source=ANSES`
- When the process is over, you can update the new projects or partners with:
### 1. update the projects with the link:
- `http://127.0.0.1:5000/update/project?source=` + the data source (ex: ANR, ANSES...)
- example: `curl -X POST "http://127.0.0.1:5000/update/project?source=ANSES"`
### 2. update the partners
- `http://127.0.0.1:5000/update/partner?source=` + the data source (ex: ANR, ANSES...)
- example: `curl -X POST "http://127.0.0.1:5000/update/partner?source=ANSES"`
### 3. Run the Flask application remotely
- Execute the process online at `https://projects-partners-consolidation.staging.dataesr.ovh/process?source=` + the data source (ex: ANR, ANSES...).
- example: `https://projects-partners-consolidation.staging.dataesr.ovh/process?source=ANSES`
- When the process is over, you can update the new projects or partners with:
### 1. update the projects with the link:
- `https://projects-partners-consolidation.staging.dataesr.ovh/update/project?source=` + the data source (ex: ANR, ANSES...)
- example: `https://projects-partners-consolidation.staging.dataesr.ovh/update/project?source=ANSES`
### 2. update the partners
- `https://projects-partners-consolidation.staging.dataesr.ovh/update/partner?source=` + the data source (ex: ANR, ANSES...)
- example: `https://projects-partners-consolidation.staging.dataesr.ovh/update/partner?source=ANSES`