Commit graph

433 commits

Author SHA1 Message Date
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
cc9749a011
feat(code): Update correct internal validity ranking regexes 2024-02-21 11:30:47 +01:00
c2d20e46ec
feat(code): Add experimental visualizations for validities 2024-02-21 11:28:51 +01:00
fe614ab47a
chore(script): Add table captions 2024-02-20 18:41:38 +01:00
7af85cac19
chore(data): Update zotero bibtex 2024-02-20 18:36:41 +01:00
ff2c3cb514
feat(script): Add validity method explanation and appendix 2024-02-20 18:36:23 +01:00
50c4f5e8c0
feat(code): Add experiments for summary tables 2024-02-20 17:58:55 +01:00
e50e5cfcbc
feat(code): Add experiments for validity visualization 2024-02-20 17:58:35 +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
6126f8bbc2
fix(data): Remove redundant study sources structural findings 2024-02-20 17:14:02 +01:00
ace8631104
chore(data): Update extracted studies 2024-02-18 19:03:58 +01:00
ebc7724f57
fix(script): Correct findings summary table headings 2024-02-18 19:02:42 +01:00
51b747a058
fix(data): Fix regions for world economy 2024-02-18 19:00:36 +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
2b0fa5db7c
feat(data): Extract remaining prelim study data 2024-02-17 19:06:27 +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
86610803d4
feat(data): Update extraction matrix 2024-02-16 18:01:59 +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
eaaba00755
fix(data): Fix discrepancies of raw data and findings summaries
Fixed especially citation keys that were entered wrong or carried the wrong year.
2024-02-16 17:59:57 +01:00
e032a5c192
refactor(code): Extract internal validity ranking keywords
Extracted keywords into dict which can be extended with either keywords
or rankings as needed, providing more flexibility.
2024-02-16 17:59:09 +01:00
4e865ee2b5
feat(code): Warn if findings studies do not match available
Since we add the studies that bring findings for the finding tables manually,
this ensures that we spot any mistakes when entering them, or similar
discrepancies on the other side of the raw data.
2024-02-16 17:58:02 +01:00
8cd6dc790d
refactor(code): Move zotero live citations to quarto ext
Instead of it lying in the src directory (where, reasonably, only python
data extraction, processing and modelling code should lie), I turned
the retorque filter into a simple quarto extension.
Could reasonably be repackaged separately from this repo since I believe
other people could profit off it.
2024-02-16 12:06:43 +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
5f9f3a1370
feat(data): Make docx table style left-aligned
Though it does not seem to work on its own.
2024-02-15 20:22:00 +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
1441845d4d
chore(data): Unify spelling of direct transfers intervention 2024-02-15 10:50:23 +01:00
004c2f7410
feat(script): Add findings table as computation 2024-02-14 22:36:00 +01:00
588cf4a3c9
fix(code): Differentiate between national and census data 2024-02-14 22:35:35 +01:00
a51d55e3a5
chore(data): Update justified template document 2024-02-14 22:34:55 +01:00