https://github.com/devinit/datahub-cms
A better organised version of https://github.com/devinit/digital-platform to act as a CMS for the Data Hub
https://github.com/devinit/datahub-cms
cms csv-files
Last synced: 6 months ago
JSON representation
A better organised version of https://github.com/devinit/digital-platform to act as a CMS for the Data Hub
- Host: GitHub
- URL: https://github.com/devinit/datahub-cms
- Owner: devinit
- Created: 2017-06-13T06:14:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-25T13:59:04.000Z (over 5 years ago)
- Last Synced: 2025-02-25T07:29:31.269Z (about 1 year ago)
- Topics: cms, csv-files
- Homepage:
- Size: 1.58 MB
- Stars: 0
- Watchers: 5
- Forks: 6
- Open Issues: 10
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Data Hub Content Management System (CMS)
The repository is split by Data Hub pages. There is a folder for each page (e.g., Global Picture) and each folder contains the narratives and refrence files used by that page. This should make it easier for the analysts to change the Data Hub narratives and manage the refrence file data on a per page basis.
You will find that the refrence file data that can be autogenerated from underlaying tables will now reside in the database(Data warehouse).
### Files explained
#### `concept.csv` (will change name to `indicator.csv`)
There is a simplified `concept.csv` file in each folder that serves a similar purpose to the original [`concepts.csv`](https://github.com/devinit/digital-platform/blob/development/concepts.csv) file in the [`digital-platform`](https://github.com/devinit/digital-platform) repository.
The file `concept.csv` contains indicator metadata and control parameters, e.g., indicator `id`, indicator `name` etc. for each indicator used on the corresponding page.
#### `page.csv`
The `page.csv` file contains various page narratives. It has an `id` column for each page section, a section `title` column where applicable, a `narrative` where the actual narrative text goes and finally a `meta` column. `meta` is where you put any other extra text which may not apply in the other sections.