Commit graph

175 commits

Author SHA1 Message Date
8f2d361e5f
feat(script): Show all years for pubs per year figure 2024-06-20 20:33:43 +02:00
ef1f7785c2
chore(script): Clean leftover todo annotations 2024-06-20 11:01:34 +02:00
6e94f60ea6
fix(script): Split validity figures in two
Since otherwise the docx file did not contain correct representations
of the discussion section validity robustness, I split them in two
separate figures (no sub-figures)instead. Now they are like any
other figure.
2024-02-28 10:22:56 +01:00
621da670a8
fix(script): Fix screening numbers 2024-02-21 17:24:13 +01:00
5f94649c8f
feat(script): Separate appendix table enumeration
Use A1..A<n> table references for appendix tables.
2024-02-21 11:33:28 +01:00
2afbae0fc1
chore(script): Unify heading concatenation
Do not use '&' but 'and' in all headlines.
2024-02-21 11:33:01 +01:00
4901baa5e5
feat(script): Add validity discussion 2024-02-21 11:31:39 +01:00
fe614ab47a
chore(script): Add table captions 2024-02-20 18:41:38 +01:00
ff2c3cb514
feat(script): Add validity method explanation and appendix 2024-02-20 18:36:23 +01:00
3cb96ffef2
feat(script): Update inequality area discussions 2024-02-20 17:58:12 +01:00
8187a6ec63
feat(script): Update robustness by inequality type 2024-02-20 17:15:10 +01:00
0af0fed94e
feat(script): Add robustness by region section 2024-02-20 17:14:39 +01:00
ebc7724f57
fix(script): Correct findings summary table headings 2024-02-18 19:02:42 +01:00
1d90133049
refactor(script): Update synthesis intro 2024-02-18 16:59:26 +01:00
b453afd112
feat(code): Allow custom strength of evidence bins
For display in findings summaries we can now allow arbitrary strength
of evidence binning. We simply pass in a dict with the strength (as
float) as the key and the string-representation that should appear
in the table as value.
2024-02-18 16:59:01 +01:00
67fa885cdd
refactor(code): Shorten data preparation 2024-02-17 17:35:04 +01:00
b89ab5f5d9
fix(script): Fixed paranthesis in scoping calculation 2024-02-17 17:31:20 +01:00
42222447dc
refactor(code): Move observation data prep to src
Moved the overall metadata, country grouping code to the src directory
somewhat trimming the prep code in the beginning of the manuscript
itself.
2024-02-17 17:30:58 +01:00
71d02ff8dd
feat(script): Add source note to exclusion term table 2024-02-17 16:16:11 +01:00
74a9d201b5
fix(script): Suppress bibtex warning on import
When first importing bibtex entries, if there are e.g. double entries,
the library gives an 'unsuppressable' warning which will always
appear in the manuscript otherwise. This simply ensures no warning
is displayed by turning off logging for the duration of their use.
2024-02-16 18:01:45 +01:00
fac7d4c86a
refactor(code): Split validity calc and matrix extract
Validity calculation belongs to the modelling, so we put it into the
validity module.

Extracting our matrix is a processing step so we made its own matrix
module and put it in their.
Should hopefully provide better separation of concerns going forward.
2024-02-16 11:25:19 +01:00
8333bbe9be
refactor(code): Rename validity module
From strength of findings to the more general validity module, which can then
in turn contain the 'add_to_findings' function which unsurprisingly adds
validities to findings. Makes more sense to me.
2024-02-16 10:24:31 +01:00
a05f274a16
chore(script): Add descriptive labels to all compute cells 2024-02-15 20:21:19 +01:00
58ef7f84a0
feat(script): Add agency-based findings table 2024-02-15 20:11:38 +01:00
d29dd03a22
feat(script): Add structural findings table
Added main findings for structural policies. Moved environmentally-focused
infrastructure projects into structural (infrastructure) policies since
they are not in fact institutional policies.
2024-02-15 18:50:47 +01:00
a63d6c4a12
refactor(script): Move Cieplinski to social protection 2024-02-15 16:37:36 +01:00
0d7bdb119b
refactor(script): Move Adams2015 to all relevant policy areas
Moved to be represented in regulatory systems, trade lib and education.
2024-02-15 16:37:01 +01:00
f8abe295e0
feat(script): Add note to institutional findings table 2024-02-15 16:36:05 +01:00
d4aa40b277
fix(code): Ensure all studies are part of intervention df
Some studies were missing crucial fields (prelim studies mostly) which means they
are dropped from being counted in 'by_intervention' aggregation. While
ultimately those will have to have their fields filled correctly, for now we can
simply ensure all studies are aggregated correctly per intervention.
2024-02-15 16:35:37 +01:00
62e3fc94a2
refactor(script): Move intervention type vis to synthesis 2024-02-15 16:34:10 +01:00
953720ce54
refactor(code): Move finding table validities into model module
All findings tables can use the validities functionality to add strength of
evidence (internal/external) to themselves. Generalized the function to
work for any main findings csv (to dataframe) table not just institional
findings.
2024-02-15 16:32:46 +01:00
5e405e05d7
feat(data): Add labour regulation findings 2024-02-15 16:30:23 +01:00
8dba61fefe
fix(script): Only enable live zotero filter for docx format
Since we only make use of the live zotero citations in docx format, we should
also only enable the filter there. This commit fixes that.
2024-02-15 10:53:59 +01:00
d058759f49
feat(script): Display strength of findings evidence in binned format
- for weak evidence, + for substantiated evidence, ++ for strong evidence.

Currently separates between internal and external, and uses the bins:
0.0-2.9 for weak
3.0-5.9 for substantiated
6.0-... for strong evidence
2024-02-15 10:52:52 +01:00
004c2f7410
feat(script): Add findings table as computation 2024-02-14 22:36:00 +01:00
227adb33f8
feat(script): Begin using validities for visualization 2024-02-14 17:30:04 +01:00
41b2d651a6
fix(code): Fix live zotero gen with quarto 1.4
Quarto 1.4 does not like a bare 'zotero' metadata frontmatter key with
sub keys for the filter options. This commit updates the zotero-live
citations filter plugin by retorque and changes its configuration so
it takes settings either through the 'zotero' key or, if that one is
not found, through the 'zoterolive' key. Same options.
2024-02-14 17:29:27 +01:00
092b8d29c8
feat(script): Add institutional summary of findings 2024-02-14 16:01:18 +01:00
6554b0f8e9
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.
2024-02-14 15:53:42 +01:00
5369a12de6
fix(script): Move synthesis study order 2024-02-13 20:56:13 +01:00
6c28fd70b2
feat(script): Add simple validity data prep 2024-02-13 20:55:50 +01:00
e69f741197
chore(script): Change table organization 2024-02-13 20:55:00 +01:00
b66ebe9431
chore(script): Fix spelling mistakes 2024-02-09 16:55:31 +01:00
2034ae3ab2
feat(script): Begin adding summary of findings table 2024-02-09 16:54:48 +01:00
98bf9b6d9e
feat(data): Add Bartha2020 on gendered care work 2024-02-08 18:16:01 +01:00
4897db01bc
feat(data): Add Go2010 study on wage subsidies 2024-02-08 16:56:03 +01:00
472e6a0dbc
feat(data): Add Li2022 workfare study 2024-02-08 15:29:19 +01:00
03c699c8dc
chore(script): Reorder synthesis along framework categories 2024-01-30 16:27:41 +01:00
ea6f7ca83b
chore(script): Improve wording in conclusion
Too many 'tackling' mentions.
2024-01-30 14:45:32 +01:00
f65dc0696d
Merge commit '2333925' 2024-01-26 13:03:08 +01:00