From 9185e69f70a1085045d6e91295be73595b55291c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 26 Dec 2019 12:03:27 -0800 Subject: add check to container stat fetch to ensure valid JSON returned --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index f931ec7..aec785d 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ transformer takes a subset/combination of Generate a list of ISSN-L identifiers, fetch each from fatcat web peudo-API, and write to JSON. cat container_export.json | jq .issnl -r | sort -u > container_issnl.tsv - cat container_issnl.tsv | parallel -j10 curl -s 'https://fatcat.wiki/container/issnl/{}/stats.json' > container_stats.json + cat container_issnl.tsv | parallel -j10 curl -s 'https://fatcat.wiki/container/issnl/{}/stats.json' | jq -c . > container_stats.json Then load in to chocula and recaculate stats: -- cgit v1.2.3