Listings website for the NHS England Health Data Directory.
Data is gathered from a survey / research process.
Data is exported from the survey to a CSV file.
The CSV data is transformed to our Data Directory Dataset format
The new dataset is uploaded to CKAN, along with annotations for datasets
The new Directory website is generated from the dataset
The new Directory website is deployed
There is no step 7.
Data collection is currently via a Google form.
Data can be exported from a Google form via the file->save-> CSV menu.
Data transformations are performed using the Rakefile in this repository. They expect the survey output to be named "expored.data.csv".
rake transform
Data may be uploaded to CKAN via the upload_to_ckan.py script.
python upload_to_ckan.py
Generating a Directory website from the data is done by the Rakefile in this repository. The script expects the dataset to be available in the file "data.directory.csv".
rake generate
rake commit
The directory is deployed to the Catalogue using the catalogue ansible scripts.
ansible-playbook -i hosts deploy_directory.yml --vault-password-file ~/.vault.txt