feat(script): Use new in-text computation interpolations
Can now access python variables directly from markdown text in-flow. We can make use of this to dynamically update the numbers for scoping review steps in the descriptive part.
This commit is contained in:
parent
2de93d506f
commit
6554b0f8e9
1 changed files with 6 additions and 6 deletions
|
@ -111,6 +111,8 @@ df_country_groups = None
|
||||||
<!-- pagebreak to separate from TOC -->
|
<!-- pagebreak to separate from TOC -->
|
||||||
{{< pagebreak >}}
|
{{< pagebreak >}}
|
||||||
|
|
||||||
|
{{< portrait >}}
|
||||||
|
|
||||||
# Introduction
|
# Introduction
|
||||||
|
|
||||||
This study presents a systematic scoping review of the current literature concerning inequalities in the world of work.
|
This study presents a systematic scoping review of the current literature concerning inequalities in the world of work.
|
||||||
|
@ -481,14 +483,12 @@ The results to be identified in the matrix include a study’s: i) key outcome m
|
||||||
#| echo: false
|
#| echo: false
|
||||||
# TODO Remove redundant 'relevant' studies observation below once all studies are extracted.
|
# TODO Remove redundant 'relevant' studies observation below once all studies are extracted.
|
||||||
nr_relevant = len([1 for kw in all_keywords if "relevant" in kw])
|
nr_relevant = len([1 for kw in all_keywords if "relevant" in kw])
|
||||||
|
|
||||||
md(f"""
|
|
||||||
The query execution results in an initial sample of {nr_database_query_raw} potential studies identified from the database search as well as {nr_other_sources} potential studies from other sources, leading to a total initial number of {FULL_RAW_SAMPLE_NOTHING_REMOVED}.
|
|
||||||
This accounts for all identified studies without duplicate removal, without controlling for literature that has been superseded or applying any other screening criteria.
|
|
||||||
Of these, {nr_relevant} have been identified as potentially relevant studies for the purposes of this scoping review, from which {nr_extraction_done} have been extracted.
|
|
||||||
""")
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The query execution results in an initial sample of `{python} nr_database_query_raw` potential studies identified from the database search as well as `{python} nr_other_sources` potential studies from other sources, leading to a total initial number of `{python} FULL_RAW_SAMPLE_NOTHING_REMOVED`.
|
||||||
|
This accounts for all identified studies without duplicate removal, without controlling for literature that has been superseded or applying any other screening criteria.
|
||||||
|
Of these, `{python} nr_relevant` have been identified as potentially relevant studies for the purposes of this scoping review, from which `{python} nr_extraction_done` have been extracted.
|
||||||
|
|
||||||
<!-- {{++ FIXME: Update description for changing study pool ++}} -->
|
<!-- {{++ FIXME: Update description for changing study pool ++}} -->
|
||||||
|
|
||||||
The currently identified literature rises somewhat in volume over time,
|
The currently identified literature rises somewhat in volume over time,
|
||||||
|
|
Loading…
Reference in a new issue