Closed agentilb closed 1 year ago
@agentilb the current implementation has many issues, i believe we will have to build it from scratch. At the end do you need the report to be a downloadable csv file? Do we have to store anything in the database?
@drjova we need to be able to do the calculation, based on the criteria described above, it doesn't need to be stored in the database.
As we discuss we have to prepare a script
Write a python script runnable in command line. The script parameters are :
from_date
to_date
Both dates are in ISO-8601 format.The script will then :
https://repo.scoap3.org/admin/countriesshare/
This script should:
Attached:
List of 2020 GDP by country: API_NY.GDP.PCAP.PP.CD_DS2_en_csv_v2_4150885.csv
File that I extracted from the repo using this feature, but it doesn't seem to work, since I get only 700 lines (where I should get some 15k lines): countries_share-3.csv
Would it be possible to see if we can make this feature work? We need data by the end of August for the years 2020 and 2021.