-
Notifications
You must be signed in to change notification settings - Fork 11
Export nomination data to JSON #281
Copy link
Copy link
Open
Labels
administrator-featureIndicates that the feature will be driven by the Hugo AdminIndicates that the feature will be driven by the Hugo AdmindevelopmentWork to improve the developer experienceWork to improve the developer experienceenhancementNew feature or requestNew feature or request
Milestone
Metadata
Metadata
Assignees
Labels
administrator-featureIndicates that the feature will be driven by the Hugo AdminIndicates that the feature will be driven by the Hugo AdmindevelopmentWork to improve the developer experienceWork to improve the developer experienceenhancementNew feature or requestNew feature or request
Motivation
Currently the process of generating the nomination report is time-consuming and error-prone. The combination of this means there is only really scope to generate one form of the report in a pdf. Ideally the report would be created in multiple formats, including a machine-readable format that others can use to analyse the results and create alternative presentations.
If nomnom exported the data it has in a machine readable format, this can be supplemented with additional data by the Hugo team and fed into scripts that can generate the pdf report, as well as other formats.
The raw data out of nomnom would not be expected to be publishable. Instead, it would need to be cleaned up (e.g. nominee names suitable for publishing added) before it would be published. The Hugo admin team would be responsible for arranging how and where it would be published.
Proposed format
I have been working on the JSON schema for a JSON format that would be suitable for the final publication. I propose nomnom generates a subset of this format, that can then be supplemented with additional data by the Hugo team.
https://ajanuary.github.io/hugo-nomination-stats-schema/nominations-2025-10/
Where the nomnom export format would differ:
finalistandremovedproperties on the nominees would never be provided.