-
Notifications
You must be signed in to change notification settings - Fork 7
Making changes to Construction survey
use the following link with the Questionnaire ID you want to edit
https://author.eqbs.gcp.onsdigital.uk/convert/[Qid]
Copy JSON
Goto eq-survey-runner
New branch for ticket
data/en copy construction_0002.json to construction.000s.old.json
Paste JSON into construction.0002.json
Nvm use 8 Yarn format
This will change the layout
Yarn lint to check
Compare changes in working tree and copy relevant ones to the new version.
eq_id: “construction-0002” Formtype: “0002” data_version should be “0.0.1” so we can use Qcodes
Metadata...
"Name": “trad_as” "Validator": should be “optional_string”
Theme (sidenote)
- For covid 19 survey, theme should change from “default” to “covid”
Look for changes/compare Mostly around public and private sector
3a 5 6 7 8
13a, 15 16 17 18 19
Skip condition should be at bottom of every block that are to skipped
Change metada[‘trad_as’] to {{ first_non_empty_item(metadata[‘trad_as’], metadata[‘ru_name’]) }}
Add missing codes
Ignore
Run yarn lint at the end before pushing up
eq-survey-schemas terminal Docker compose -up —build
Localhost:8000 to view survey list Localhost:5000 to view survey