summaryrefslogtreecommitdiff
path: root/scraper/s2-citation-report.py
diff options
context:
space:
mode:
Diffstat (limited to 'scraper/s2-citation-report.py')
-rw-r--r--scraper/s2-citation-report.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scraper/s2-citation-report.py b/scraper/s2-citation-report.py
index 580312ff..6dfababd 100644
--- a/scraper/s2-citation-report.py
+++ b/scraper/s2-citation-report.py
@@ -76,7 +76,7 @@ def write_master_report(fn, papers):
report_fn = '../site/content/datasets/{}/index.md'.format(key)
has_report = os.path.exists(report_fn)
statistics[key] = stats
- search_result = read_json('./datasets/s2/entries/{}.json'.format(paper['paperId']))
+ # search_result = read_json('./datasets/s2/entries/{}.json'.format(paper['paperId']))
image_count = stats['images']
if type(image_count) is str:
@@ -92,7 +92,7 @@ def write_master_report(fn, papers):
clean(stats['faces_unique']) or None,
stats['year_published'],
clean(paper['citation_count']) or 0,
- clean(search_result['citationStats']['numKeyCitations']) or 0,
+ # clean(search_result['citationStats']['numKeyCitations']) or 0,
# origin
])
master_paper_keys = [
@@ -103,7 +103,7 @@ def write_master_report(fn, papers):
'people',
'year',
'citations',
- 'influenced',
+ # 'influenced',
# 'origin'
]
write_csv(fn, keys=master_paper_keys, rows=master_papers)