'Döring, H., & Herrmann, M. (2024). <i>Party positions from Wikipedia tags</i> (Version 24.07) [Computer software]. Zenodo. https://doi.org/10.5281/ZENODO.7043510'
DOI API
So here is some metadata information. Lets start with the DOI API.
{
"title": "Party positions from Wikipedia tags (July 2023)",
"doi": "10.5281/zenodo.8275697",
"publication_date": "2023-08-23",
"description": "<p>Estimation of party positions from Wikipedia tags with Stan (July 2023)</p>",
"access_right": "open",
"creators": [
{
"name": "Holger D\u00f6ring",
"affiliation": "GESIS \u2013 Leibniz Institute for the Social Sciences"
},
{
"name": "Michael Herrmann",
"affiliation": "University of Konstanz"
}
],
"related_identifiers": [
{
"identifier": "https://github.com/hdigital/partypositions-wikitags/tree/23.07",
"relation": "isSupplementTo",
"scheme": "url"
}
],
"version": "23.07",
"resource_type": {
"title": "Software",
"type": "software"
},
"license": {
"id": "other-open"
},
"relations": {
"version": [
{
"index": 1,
"is_last": false,
"parent": {
"pid_type": "recid",
"pid_value": "7043510"
}
}
]
}
}
Then, I manually cleaned up the metadata:
kept only entries that are not imported automatically
used unicode characters for umlaute
specified license id
metadata_json ="""{ "title": "Party positions from Wikipedia tags", "description": "Estimation of party positions from Wikipedia tags with Stan", "creators": [ { "name": "Döring, Holger", "affiliation": "GESIS – Leibniz Institute for the Social Sciences" }, { "name": "Herrmann, Michael", "affiliation": "University of Konstanz" } ]}"""
Here, I validate the json. Running the cell should not raise an error.
metadata_json = json.loads(metadata_json)
Finally, I added it to the GitHub repository – commit ac7c462 😊