ColinMaudry / static-ocds-stats

A set of scripts to generate static HTML with OCDS stats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OCDS static stats v0.1

A set of scripts to generate static HTML with OCDS statistics. No database required, just OCDS JSON.

Preview

Preview of the result

Requirements

Generating HTML

./generate.sh [path to data, can be HTTP remote] [optional language code]

Example with French data:

./generate.sh https://www.data.gouv.fr/fr/datasets/r/68bd2001-3420-4d94-bc49-c90878df322c en

Localization

The file strings.json enables the localization of the labels.

Release notes

0.1.0

  • Basic render
  • Three metrics (number of contracts, buyers and suppliers)
  • String localization system

License

MIT

About

A set of scripts to generate static HTML with OCDS stats

License:MIT License


Languages

Language:HTML 40.6%Language:Shell 27.6%Language:JSONiq 23.6%Language:CSS 8.2%