Code development platform for open source projects from the European Union institutions 🔵 EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content

feature: distribute a package to download the csv files

Right now the only way to use the repository is to run scripts and the downloading part is a bit all-in-one. Would it be possible to extract a few useful function for the download and serve them in a python package to make reuse easier ?

example of usage :

from dsa_tdb_download import download_csv

for date in some_date:
    date_folder = base_path / f"{date}
    date_folder.mkdir()
    download_csv(platform=platform, date=date, output_folder=date_folder)
    custom_aggregate_daily(output_folder)  # my custom aggregation