fix(script): Use manual sample starting size
For the time being, until I fix the flowchart completely, reverted to using a manual sample size in the beginning.
This commit is contained in:
parent
62e98c684e
commit
aa355098b8
1 changed files with 3 additions and 2 deletions
|
@ -434,9 +434,10 @@ and the sources will be added to the sample to undergo the same screening proces
|
||||||
#| output: asis
|
#| output: asis
|
||||||
|
|
||||||
FULL_RAW_SAMPLE_NOTHING_REMOVED = 2396
|
FULL_RAW_SAMPLE_NOTHING_REMOVED = 2396
|
||||||
|
FULL_SAMPLE_DUPLICATES_REMOVED = 2381
|
||||||
nr_database_query_raw = len(bib_sample_raw_db.entries)
|
nr_database_query_raw = len(bib_sample_raw_db.entries)
|
||||||
nr_out_duplicates = FULL_RAW_SAMPLE_NOTHING_REMOVED - len(bib_sample.entries)
|
nr_out_duplicates = FULL_RAW_SAMPLE_NOTHING_REMOVED - FULL_SAMPLE_DUPLICATES_REMOVED
|
||||||
nr_other_sources = (len(bib_sample.entries) + nr_out_duplicates) - nr_database_query_raw
|
nr_other_sources = (FULL_SAMPLE_DUPLICATES_REMOVED + nr_out_duplicates) - nr_database_query_raw
|
||||||
|
|
||||||
all_keywords = [entry["keywords"] for entry in bib_sample.entries if "keywords" in entry.fields_dict.keys()]
|
all_keywords = [entry["keywords"] for entry in bib_sample.entries if "keywords" in entry.fields_dict.keys()]
|
||||||
nr_out_superseded = len([1 for kw in all_keywords if "out::superseded" in kw])
|
nr_out_superseded = len([1 for kw in all_keywords if "out::superseded" in kw])
|
||||||
|
|
Loading…
Reference in a new issue