This update is to automatically update the data_url.csv look-up table used in pypromice.get. By doing so, we can overcome the problem of out-of-date data file DOIs in the AWS Dataverse entries (as outlined in #94).
Two files are added:
bin/updateURL: To perform the URL update to data_urls.csv
/github/workflows/url_update.yml: To perform the Github Action. This uses a Dataverse Token and Github Token for accessing the Dataverse API and pushing any changes to data_urls.csv back to the repo main branch
Currently the Github Action is scheduled for 12pm on the first day of each month, which should coincide with future scheduled Dataverse releases. It can also be manually triggered.
This update is to automatically update the
data_url.csv
look-up table used inpypromice.get
. By doing so, we can overcome the problem of out-of-date data file DOIs in the AWS Dataverse entries (as outlined in #94).Two files are added:
bin/updateURL
: To perform the URL update todata_urls.csv
/github/workflows/url_update.yml
: To perform the Github Action. This uses a Dataverse Token and Github Token for accessing the Dataverse API and pushing any changes todata_urls.csv
back to the repomain
branchCurrently the Github Action is scheduled for 12pm on the first day of each month, which should coincide with future scheduled Dataverse releases. It can also be manually triggered.