feat(script): Move query to imported file

Moved search query to file which is imported and acts as
single source of truth for script, notes, etc.
This commit is contained in:
Marty Oehme 2023-12-07 11:16:54 +01:00
parent 1e4817196c
commit 7329540465
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 169 additions and 158 deletions

View file

@ -0,0 +1,158 @@
TS=
(
(
work OR
labour OR
production of goods OR
provision of services OR
own-use OR
use by others OR
of working age OR
for pay OR
for profit OR
remuneration OR
market transactions
) AND
(
(
own-use OR
employment OR
unpaid trainee OR
volunteer OR
other work activities OR
wage-employed OR
self-employed OR
formal work OR
informal work OR
domestic work OR
care work OR
unpaid work
) OR
(
employment outcomes OR
labour rights OR
equality of opportunity OR
equality of outcome OR
labour force participationOR
labour force exit OR
job quality OR
career advancement OR
hours worked OR
wage OR
salary OR
return to work
)
)
) AND
TS=
(
(
intervention OR
policy OR
participation OR
targeting/targeted OR
distributive OR
redistributive
)
AND
(
(
support for childcare OR
labour rights OR
minimum wage OR
collective bargaining OR
business sustainability promotion OR
work-life balance promotion OR
equal pay for work of equal value OR
removal of (discriminatory) law OR
law reformation OR
guaranteed income OR
universal basic income OR
provision of living wage OR
maternity leave
)
OR
(
cash benefits OR
services in kind OR
green transition OR
infrastructure OR
digital infrastructure OR
quality of education OR
public service improvement OR
lowering of gender segregation OR
price stability intervention OR
extended social protection scheme OR
comprehensive social protection OR
sustainable social protection OR
supported employment OR
vocational rehabilitation
)
OR
(
credit programs OR
career guidance OR
vocational guidance OR
vocational counselling OR
counteracting of stereotypes OR
commuting subsidies OR
housing mobility programs OR
encouraging re-situation/migration OR
encouraging self-advocacy OR
cognitive behavioural therapy OR
computer-assisted therapy OR
work organization OR
special transportation
)
)
) AND
TS=
(
(
inequality OR
inequalities OR
barriers OR
advantaged OR
disadvantaged OR
discriminated OR
disparity OR
disparities
)
AND
(
(
income OR
Palma ratio OR
Gini coefficient OR
class OR
fertility OR
bottom percentile OR
top percentile
)
OR
(
identity OR
demographic OR
gender OR
colour OR
beliefs OR
racial OR
ethnic OR
migrant OR
spatial OR
rural OR
urban OR
mega-cities OR
small cities OR
peripheral cities OR
age OR
nationality OR
ethnicity OR
health status OR
disability OR
characteristics
)
)
)

View file

@ -654,165 +654,18 @@ The section with conclude with reflections on the implications of findings for p
## Full search query ## Full search query
```{python}
#| echo: false
#| output: asis
with open(f"{SUPPLEMENTARY_DATA}/query.txt") as f:
query = f.read()
t3 = "`" * 3
print(f"""
```sql ```sql
TS= {query}
( {t3}
( """)
work OR
labour OR
production of goods OR
provision of services OR
own-use OR
use by others OR
of working age OR
for pay OR
for profit OR
remuneration OR
market transactions
) AND
(
(
own-use OR
employment OR
unpaid trainee OR
volunteer OR
other work activities OR
wage-employed OR
self-employed OR
formal work OR
informal work OR
domestic work OR
care work OR
unpaid work
) OR
(
employment outcomes OR
labour rights OR
equality of opportunity OR
equality of outcome OR
labour force participationOR
labour force exit OR
job quality OR
career advancement OR
hours worked OR
wage OR
salary OR
return to work
)
)
) AND
TS=
(
(
intervention OR
policy OR
participation OR
targeting/targeted OR
distributive OR
redistributive
)
AND
(
(
support for childcare OR
labour rights OR
minimum wage OR
collective bargaining OR
business sustainability promotion OR
work-life balance promotion OR
equal pay for work of equal value OR
removal of (discriminatory) law OR
law reformation OR
guaranteed income OR
universal basic income OR
provision of living wage OR
maternity leave
)
OR
(
cash benefits OR
services in kind OR
green transition OR
infrastructure OR
digital infrastructure OR
quality of education OR
public service improvement OR
lowering of gender segregation OR
price stability intervention OR
extended social protection scheme OR
comprehensive social protection OR
sustainable social protection OR
supported employment OR
vocational rehabilitation
)
OR
(
credit programs OR
career guidance OR
vocational guidance OR
vocational counselling OR
counteracting of stereotypes OR
commuting subsidies OR
housing mobility programs OR
encouraging re-situation/migration OR
encouraging self-advocacy OR
cognitive behavioural therapy OR
computer-assisted therapy OR
work organization OR
special transportation
)
)
) AND
TS=
(
(
inequality OR
inequalities OR
barriers OR
advantaged OR
disadvantaged OR
discriminated OR
disparity OR
disparities
)
AND
(
(
income OR
Palma ratio OR
Gini coefficient OR
class OR
fertility OR
bottom percentile OR
top percentile
)
OR
(
identity OR
demographic OR
gender OR
colour OR
beliefs OR
racial OR
ethnic OR
migrant OR
spatial OR
rural OR
urban OR
mega-cities OR
small cities OR
peripheral cities OR
age OR
nationality OR
ethnicity OR
health status OR
disability OR
characteristics
)
)
)
``` ```
{{< pagebreak >}} {{< pagebreak >}}