Skip to content

Commit

Permalink
✨ metadata: remove line breaks (#3401)
Browse files Browse the repository at this point in the history
* ✨ metadata: remove line breaks

* remove line breaks in metadata

* wip

* wip
  • Loading branch information
lucasrodes authored Oct 14, 2024
1 parent 04dce86 commit 9e4a2a6
Show file tree
Hide file tree
Showing 33 changed files with 828 additions and 828 deletions.
14 changes: 7 additions & 7 deletions etl/steps/data/garden/covid/latest/google_mobility.meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ tables:
unit: '%'
short_unit: '%'
description_short: |-
<% if place == 'Grocery & pharmacy' %>
<%- if place == 'Grocery & pharmacy' -%>
Mobility trends for places like grocery markets, food warehouses, farmers markets, specialty food shops, drug stores, and pharmacies.
<% elif place == 'Parks' %>
<%- elif place == 'Parks' -%>
Mobility trends for places like local parks, national parks, public beaches, marinas, dog parks, plazas, and public gardens.
<% elif place == 'Transit stations' %>
<%- elif place == 'Transit stations' -%>
Mobility trends for places like public transport hubs such as subway, bus, and train stations.
<% elif place == 'Retail & recreation' %>
<%- elif place == 'Retail & recreation' -%>
Mobility trends for places like restaurants, cafes, shopping centers, theme parks, museums, libraries, and movie theaters.
<% elif place == 'Residential' %>
<%- elif place == 'Residential' -%>
Mobility trends for places of residence.
<% elif place == 'Workplaces' %>
<%- elif place == 'Workplaces' -%>
Mobility trends for places of work.
<% endif %>
<%- endif -%>
display:
name: << place >>

102 changes: 51 additions & 51 deletions etl/steps/data/garden/covid/latest/yougov.meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,111 +17,111 @@ definitions:
part1: |-
Have you had the first or second doses of a Coronavirus (COVID-19) vaccine?
question_mapper: |-
<% if (question == 'activities_improve_health') %>
<%- if (question == 'activities_improve_health') -%>
{definitions.questions_templates.standard.part1} 'I feel it is important to carry out activities which will improve my health'
<% elif (question == 'avoided_crowded_areas') %>
<%- elif (question == 'avoided_crowded_areas') -%>
{definitions.questions_templates.i12.part1} 'Avoided crowded areas' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_going_out') %>
<%- elif (question == 'avoided_going_out') -%>
{definitions.questions_templates.i12.part1} 'Avoided going out in general' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_guests_at_home') %>
<%- elif (question == 'avoided_guests_at_home') -%>
{definitions.questions_templates.i12.part1} 'Avoided having guests to your home' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_healthcare_settings') %>
<%- elif (question == 'avoided_healthcare_settings') -%>
{definitions.questions_templates.i12.part1} 'Avoided going to hospital or other healthcare settings' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_large_gatherings') %>
<%- elif (question == 'avoided_large_gatherings') -%>
{definitions.questions_templates.i12.part1} 'Avoided large-sized social gatherings (more than 10 people)' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_medium_gatherings') %>
<%- elif (question == 'avoided_medium_gatherings') -%>
{definitions.questions_templates.i12.part1} 'Avoided medium-sized social gatherings (between 3 and 10 people)' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_objects_public') %>
<%- elif (question == 'avoided_objects_public') -%>
{definitions.questions_templates.i12.part1} 'Avoided touching objects in public (e.g. elevator buttons or doors)' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_people_with_symptoms') %>
<%- elif (question == 'avoided_people_with_symptoms') -%>
{definitions.questions_templates.i12.part1} 'Avoided contact with people who have symptoms or you think may have been exposed to the coronavirus' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_public_events') %>
<%- elif (question == 'avoided_public_events') -%>
{definitions.questions_templates.i12.part1} 'Avoided attending public events, such as sports matches, festivals, theatres, clubs, or going to religious services' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_public_transport') %>
<%- elif (question == 'avoided_public_transport') -%>
{definitions.questions_templates.i12.part1} 'Avoided taking public transport' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_shops') %>
<%- elif (question == 'avoided_shops') -%>
{definitions.questions_templates.i12.part1} 'Avoided going to shops' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_small_gatherings') %>
<%- elif (question == 'avoided_small_gatherings') -%>
{definitions.questions_templates.i12.part1} 'Avoided small social gatherings (not more than 2 people)' {definitions.questions_templates.i12.part2}
<% elif (question == 'avoided_working_outside_home') %>
<%- elif (question == 'avoided_working_outside_home') -%>
{definitions.questions_templates.i12.part1} 'Avoided working outside your home' {definitions.questions_templates.i12.part2}
<% elif (question == 'children_avoided_school') %>
<%- elif (question == 'children_avoided_school') -%>
{definitions.questions_templates.i12.part1} 'Avoided letting your children go to school/university' {definitions.questions_templates.i12.part2}
<% elif (question == 'cleaned_surfaces_home') %>
<%- elif (question == 'cleaned_surfaces_home') -%>
{definitions.questions_templates.i12.part1} 'Cleaned frequently touched surfaces in the home (e.g. doorknobs, toilets, taps)' {definitions.questions_templates.i12.part2}
<% elif (question == 'covered_mouth_sneeze') %>
<%- elif (question == 'covered_mouth_sneeze') -%>
{definitions.questions_templates.i12.part1} 'Covered your nose and mouth when sneezing or coughing' {definitions.questions_templates.i12.part2}
<% elif (question == 'covid_dangerous_to_me') %>
<%- elif (question == 'covid_dangerous_to_me') -%>
{definitions.questions_templates.standard.part1} 'Coronavirus (COVID-19) is very dangerous for me'
<% elif (question == 'covid_vaccine_important_health') %>
<%- elif (question == 'covid_vaccine_important_health') -%>
How important do you think getting a COVID-19 vaccine is for your health?
<% elif (question == 'covid_vaccine_received_one_or_two_doses') %>
<%- elif (question == 'covid_vaccine_received_one_or_two_doses') -%>
Have you had the first or second doses of a Coronavirus (COVID-19) vaccine?
<% elif (question == 'covid_vaccine_will_prevent_transmission') %>
<%- elif (question == 'covid_vaccine_will_prevent_transmission') -%>
{definitions.questions_templates.standard.part1} 'A vaccine will completely prevent those who receive it from transmitting COVID19 to others'
<% elif (question == 'covid_vaccine_will_protect_health') %>
<%- elif (question == 'covid_vaccine_will_protect_health') -%>
{definitions.questions_templates.standard.part1} 'A vaccine will completely protect those who receive it from possible health effects of COVID19'
<% elif (question == 'difficult_to_isolate') %>
<%- elif (question == 'difficult_to_isolate') -%>
If you were advised to do so by a healthcare professional or public health authority, how easy or difficult would it be for you be to self-isolate for 7 days?
<% elif (question == 'eaten_separately') %>
<%- elif (question == 'eaten_separately') -%>
{definitions.questions_templates.i12.part1} 'Eaten separately at home, when normally you would eat a meal with others' {definitions.questions_templates.i12.part2}
<% elif (question == 'govt_will_provide_effective_covid_vaccine') %>
<%- elif (question == 'govt_will_provide_effective_covid_vaccine') -%>
{definitions.questions_templates.standard.part1} 'I believe government health authorities in my country will provide me with an effective COVID19 vaccine'
<% elif (question == 'hand_sanitiser') %>
<%- elif (question == 'hand_sanitiser') -%>
{definitions.questions_templates.i12.part1} 'Used hand sanitiser' {definitions.questions_templates.i12.part2}
<% elif (question == 'handwashing_yesterday') %>
<%- elif (question == 'handwashing_yesterday') -%>
Thinking about yesterday… about how many times, would you say you washed your hands with soap or used hand sanitiser?
<% elif (question == 'household_members_contact') %>
<%- elif (question == 'household_members_contact') -%>
About how many people from your household have you come into physical contact with (within 2 meters / 6 feet)?
<% elif (question == 'life_greatly_affected') %>
<%- elif (question == 'life_greatly_affected') -%>
{definitions.questions_templates.standard.part1} 'My life has been greatly affected by coronavirus (COVID-19)'
<% elif (question == 'likely_get_covid_future') %>
<%- elif (question == 'likely_get_covid_future') -%>
{definitions.questions_templates.standard.part1} 'It is likely that I will get coronavirus (COVID-19) in the future'
<% elif (question == 'mask_at_home') %>
<%- elif (question == 'mask_at_home') -%>
{definitions.questions_templates.i12.part1} 'Worn a face mask inside your home' {definitions.questions_templates.i12.part2}
<% elif (question == 'mask_at_work') %>
<%- elif (question == 'mask_at_work') -%>
{definitions.questions_templates.i12.part1} 'Worn a face mask at your place of work' {definitions.questions_templates.i12.part2}
<% elif (question == 'mask_clothing_store') %>
<%- elif (question == 'mask_clothing_store') -%>
{definitions.questions_templates.i12.part1} 'Worn a face mask inside a clothing / footwear shop' {definitions.questions_templates.i12.part2}
<% elif (question == 'mask_grocery_store') %>
<%- elif (question == 'mask_grocery_store') -%>
{definitions.questions_templates.i12.part1} 'Worn a face mask inside a grocery store / supermarket' {definitions.questions_templates.i12.part2}
<% elif (question == 'mask_not_possible') %>
<%- elif (question == 'mask_not_possible') -%>
{definitions.questions_templates.standard.part1} 'Wearing a mask to protect me against coronavirus (COVID-19) is not possible for me'
<% elif (question == 'mask_outside_home') %>
<%- elif (question == 'mask_outside_home') -%>
{definitions.questions_templates.i12.part1} 'Worn a face mask outside your home (e.g. when on public transport, going to a supermarket, going to a main road)' {definitions.questions_templates.i12.part2}
<% elif (question == 'mask_protect_me') %>
<%- elif (question == 'mask_protect_me') -%>
{definitions.questions_templates.standard.part1} 'Wearing a mask will protect me against coronavirus (COVID-19)'
<% elif (question == 'mask_protect_others') %>
<%- elif (question == 'mask_protect_others') -%>
{definitions.questions_templates.standard.part1} 'Wearing a mask will protect others against coronavirus (COVID-19)'
<% elif (question == 'mask_public_transport') %>
<%- elif (question == 'mask_public_transport') -%>
{definitions.questions_templates.i12.part1} 'Worn a face mask on public transportation' {definitions.questions_templates.i12.part2}
<% elif (question == 'people_contact_outside_household') %>
<%- elif (question == 'people_contact_outside_household') -%>
Not including those people in your household, about how many people have you come into physical contact with (within 2 meters / 6 feet)?
<% elif (question == 'slept_separate_bedrooms') %>
<%- elif (question == 'slept_separate_bedrooms') -%>
{definitions.questions_templates.i12.part1} 'Slept in separate bedrooms at home, when normally you would share a bedroom' {definitions.questions_templates.i12.part2}
<% elif (question == 'times_left_home_yesterday') %>
<%- elif (question == 'times_left_home_yesterday') -%>
How many times did you leave your home yesterday? If you are not staying at home, how many times did you leave where you are staying yesterday?
<% elif (question == 'trust_covid_vaccines') %>
<%- elif (question == 'trust_covid_vaccines') -%>
How much do you trust COVID-19 vaccines?
<% elif (question == 'uncertain_covid_vaccinate_this_week') %>
<%- elif (question == 'uncertain_covid_vaccinate_this_week') -%>
{definitions.questions_templates.standard.part1} 'If a Covid-19 vaccine were made available to me this week, I would definitely get it' (neutral)
<% elif (question == 'unwillingness_covid_vaccinate_this_week') %>
<%- elif (question == 'unwillingness_covid_vaccinate_this_week') -%>
{definitions.questions_templates.standard.part1} 'If a Covid-19 vaccine were made available to me this week, I would definitely get it' (disagreement)
<% elif (question == 'washed_hands') %>
<% elif (question == 'willingness_covid_vaccinate_this_week') %>
<%- elif (question == 'washed_hands') -%>
<%- elif (question == 'willingness_covid_vaccinate_this_week') -%>
{definitions.questions_templates.standard.part1} 'If a Covid-19 vaccine were made available to me this week, I would definitely get it' (agreement)
<% elif (question == 'willingness_isolate_if_advised') %>
<%- elif (question == 'willingness_isolate_if_advised') -%>
{definitions.questions_templates.i12.part1} 'Washed hands with soap and water' {definitions.questions_templates.i12.part2}
<% elif (question == 'willingness_isolate_if_symptoms') %>
<%- elif (question == 'willingness_isolate_if_symptoms') -%>
Thinking about the next 7 days… would you isolate yourself after feeling unwell or having any of the following new symptoms: a dry cough, fever, loss of sense of smell, loss of sense of taste, shortness of breath or difficulty breathing?
<% elif (question == 'worried_covid_vaccine_side_effects') %>
<%- elif (question == 'worried_covid_vaccine_side_effects') -%>
{definitions.questions_templates.standard.part1} 'I am worried about potential side effects of a COVID19 vaccine'
<% endif %>
<%- endif -%>
# Learn more about the available fields:
# http://docs.owid.io/projects/etl/architecture/metadata/reference/
Expand Down
Loading

0 comments on commit 9e4a2a6

Please sign in to comment.