Adds citation

This commit is contained in:
Nemo 2023-10-31 23:18:45 +05:30 committed by Nemo
parent 419c502e49
commit b6800ba49b
2 changed files with 22 additions and 0 deletions

View File

@ -17,6 +17,10 @@ jobs:
- name: Update data
run: >
curl --request GET --url 'https://prod.plugo.io/api/v2/goblin/stores?lat=18.46448805396234&lng=72.12753139436244&radius=90999999' --header 'Authorization: Bearer ${{secrets.token}}' > _data/plugo.json
export VERSION=`date +%Y.%-m.%-d`
sed -i "s/^version.*/version: $(VERSION)/" CITATION.cff
sed -i "s/^date-released.*/date-released: `date --rfc-3339=date`/" CITATION.cff
# TODO: Add tag for date as well
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Plugo Data

18
CITATION.cff Normal file
View File

@ -0,0 +1,18 @@
cff-version: 1.2.0
message: "If you use this dataset, please cite it as below."
authors:
- family-names: "Rana"
given-names: "Abhay"
orcid: https://orcid.org/0000-0002-7993-1363
title: "Plugo Power Bank Location Data, by Nemo"
version: 2023.10.31
url: "https://github.com/captn3m0/india-isin-data"
date-released: 2023-10-31
preferred-citation:
url: "https://github.com/captn3m0/plugo"
type: data
authors:
- family-names: "Rana"
given-names: "Abhay"
orcid: "https://orcid.org/0000-0002-7993-1363"
title: "Plugo Power Bank Location Data, by Nemo"