chore(code): Rename prisma calculation variables

Renamed intermediate calculation vars from long and redundant names to
slightly shorter and more coherent versions.
This commit is contained in:
Marty Oehme 2024-07-16 17:47:20 +02:00
parent b230228095
commit 0d723dbfdf
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
3 changed files with 70 additions and 30 deletions

View file

@ -160,12 +160,23 @@ The results to be identified in the matrix include a study's: i) key outcome mea
```{python}
from src.model import prisma
nr = prisma.PrismaNumbers()
p = prisma.PrismaNumbers()
```
The query execution results in an initial sample of `{python} nr.nr_database_query_raw` potential studies identified from the database search as well as `{python} nr.nr_snowballing_raw` potential studies from other sources, leading to a total initial number of `{python} nr.FULL_RAW_SAMPLE_NOTHING_REMOVED`.
The query execution results in an initial sample of
`{python} p.raw_db`
potential studies identified from the database search as well as
`{python} p.raw_snowball`
potential studies from other sources,
leading to a total initial number of
`{python} p.raw_full`.
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.FULL_SAMPLE_DUPLICATES_REMOVED-nr.nr_out_title-nr.nr_out_abstract-nr.nr_out_language` have been identified as potentially relevant studies for the purposes of this scoping review and selected for a full text review,
Of these,
`{python} p.dedup_full - p.out_title - p.out_abstract - p.out_language`
have been identified as potentially relevant studies for the purposes of this scoping review and selected for a full text review,
from which in turn
`{python} p.final_extracted`
have ultimately been extracted.
@fig-intervention-types shows the predominant interventions contained in the reviewed literature.
Overall, there is a focus on measures of minimum wage, subsidisation, considerations of trade liberalisation and collective bargaining, education and training.

View file

@ -403,13 +403,23 @@ For a full list of validity ranks, see @apptbl-validity-external and @apptbl-val
```{python}
from src.model import prisma
nr = prisma.PrismaNumbers()
p = prisma.PrismaNumbers()
```
The query execution results in an initial sample of `{python} nr.nr_database_query_raw` potential studies identified from the database search as well as `{python} nr.nr_snowballing_raw` potential studies from other sources, leading to a total initial number of `{python} nr.FULL_RAW_SAMPLE_NOTHING_REMOVED`.
The query execution results in an initial sample of
`{python} p.raw_db`
potential studies identified from the database search as well as
`{python} p.raw_snowball`
potential studies from other sources,
leading to a total initial number of
`{python} p.raw_full`.
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.FULL_SAMPLE_DUPLICATES_REMOVED-nr.nr_out_title-nr.nr_out_abstract-nr.nr_out_language` have been identified as potentially relevant studies for the purposes of this scoping review and selected for a full text review,
from which in turn `{python} nr.nr_extraction_done` have ultimately been extracted.
Of these,
`{python} p.dedup_full - p.out_title - p.out_abstract - p.out_language`
have been identified as potentially relevant studies for the purposes of this scoping review and selected for a full text review,
from which in turn
`{python} p.final_extracted`
have ultimately been extracted.
The currently identified literature rises somewhat in volume over time,
with first larger outputs identified from 2014,