Commit graph

164 commits

Author SHA1 Message Date
Marty Oehme 0af0fed94e
feat(script): Add robustness by region section 2024-02-20 17:14:39 +01:00
Marty Oehme ebc7724f57
fix(script): Correct findings summary table headings 2024-02-18 19:02:42 +01:00
Marty Oehme 1d90133049
refactor(script): Update synthesis intro 2024-02-18 16:59:26 +01:00
Marty Oehme 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
Marty Oehme 67fa885cdd
refactor(code): Shorten data preparation 2024-02-17 17:35:04 +01:00
Marty Oehme b89ab5f5d9
fix(script): Fixed paranthesis in scoping calculation 2024-02-17 17:31:20 +01:00
Marty Oehme 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
Marty Oehme 71d02ff8dd
feat(script): Add source note to exclusion term table 2024-02-17 16:16:11 +01:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme a05f274a16
chore(script): Add descriptive labels to all compute cells 2024-02-15 20:21:19 +01:00
Marty Oehme 58ef7f84a0
feat(script): Add agency-based findings table 2024-02-15 20:11:38 +01:00
Marty Oehme 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
Marty Oehme a63d6c4a12
refactor(script): Move Cieplinski to social protection 2024-02-15 16:37:36 +01:00
Marty Oehme 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
Marty Oehme f8abe295e0
feat(script): Add note to institutional findings table 2024-02-15 16:36:05 +01:00
Marty Oehme 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
Marty Oehme 62e3fc94a2
refactor(script): Move intervention type vis to synthesis 2024-02-15 16:34:10 +01:00
Marty Oehme 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
Marty Oehme 5e405e05d7
feat(data): Add labour regulation findings 2024-02-15 16:30:23 +01:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 004c2f7410
feat(script): Add findings table as computation 2024-02-14 22:36:00 +01:00
Marty Oehme 227adb33f8
feat(script): Begin using validities for visualization 2024-02-14 17:30:04 +01:00
Marty Oehme 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
Marty Oehme 092b8d29c8
feat(script): Add institutional summary of findings 2024-02-14 16:01:18 +01:00
Marty Oehme 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
Marty Oehme 5369a12de6
fix(script): Move synthesis study order 2024-02-13 20:56:13 +01:00
Marty Oehme 6c28fd70b2
feat(script): Add simple validity data prep 2024-02-13 20:55:50 +01:00
Marty Oehme e69f741197
chore(script): Change table organization 2024-02-13 20:55:00 +01:00
Marty Oehme b66ebe9431
chore(script): Fix spelling mistakes 2024-02-09 16:55:31 +01:00
Marty Oehme 2034ae3ab2
feat(script): Begin adding summary of findings table 2024-02-09 16:54:48 +01:00
Marty Oehme 98bf9b6d9e
feat(data): Add Bartha2020 on gendered care work 2024-02-08 18:16:01 +01:00
Marty Oehme 4897db01bc
feat(data): Add Go2010 study on wage subsidies 2024-02-08 16:56:03 +01:00
Marty Oehme 472e6a0dbc
feat(data): Add Li2022 workfare study 2024-02-08 15:29:19 +01:00
Marty Oehme 03c699c8dc
chore(script): Reorder synthesis along framework categories 2024-01-30 16:27:41 +01:00
Marty Oehme ea6f7ca83b
chore(script): Improve wording in conclusion
Too many 'tackling' mentions.
2024-01-30 14:45:32 +01:00
Marty Oehme f65dc0696d
Merge commit '2333925' 2024-01-26 13:03:08 +01:00
Marty Oehme 2333925211
chore(script): Clean script whitespaces 2024-01-26 12:58:39 +01:00
Marty Oehme d2e461b7b5
feat(data): Add Bailey2012 study 2024-01-26 12:58:39 +01:00
Marty Oehme e43a3ad675
feat(script): Extend gender, migration discussions 2024-01-26 12:58:38 +01:00
Marty Oehme 7e233d8886
fix(script): Fix spelling mistakes 2024-01-26 12:58:38 +01:00
Marty Oehme aabfd94373
feat(data): Add Dustmann2012 study 2024-01-26 12:58:34 +01:00
Marty Oehme eaf8ffdcbc
feat(data): Extract Wang2020 2024-01-18 11:54:38 +01:00
Marty Oehme 0bdb39d3d9
chore(script): Restructure disability discussion 2024-01-17 16:55:05 +01:00
Marty Oehme e7585aae34
chore(script): Remove eol whitespaces 2024-01-17 16:36:02 +01:00
Marty Oehme e83f67e3c0
feat(script): Add disability discussion frameworks
Added Gruber2014 system level theory and
Kim2020 organisational environmental factors.
2024-01-17 16:35:44 +01:00
Marty Oehme e9ecf224a7
chore(script): Fix discussion frameworks comment headlines 2024-01-17 16:34:28 +01:00
Marty Oehme b6f57b86a7
feat(data): Add Thoresen2021 training study 2024-01-17 16:03:42 +01:00