Created
March 15, 2018 13:21
-
-
Save acka47/0095130ea965611cd0b3615e040b24e1 to your computer and use it in GitHub Desktop.
Distinkte GSW zu Notation 54 mit Anzahl der Vorkommnisse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl --header "Accept-Encoding: gzip" "http://lobid.org/resources/search?q=coverage:54&format=bulk" | gzip -dc > n54-strings.jsonl | |
$ cat n54-strings.jsonl | jq .coverage[] | sort | uniq -c | sort -n -r > n54-strings.txt | |
Abschließend per RegEx um Nicht-54-Notationen bereinigt. | |
41 "Grafschaft Moers | 54" | |
20 "Herzogtum Arenberg | 54" | |
19 "Grafschaft Gimborn-Neustadt | 54" | |
17 "Herrschaft Homburg, Nümbrecht | 54" | |
8 "Grafschaft Sayn | 54" | |
5 "Grafschaft Kerpen und Lommersum | 54" | |
2 "Grafschaft Tecklenburg | 74" | |
1 "Wiehl-Bielstein | 99" | |
1 "Soest | 99" | |
1 "Schleiden | 99" | |
1 "Rhein-Sieg-Kreis | 97" | |
1 "Oberbergischer Kreis | 97" | |
1 "Niederrheinische Bucht | 24" | |
1 "Neuenrade | 99" | |
1 "Münster (Westf) | 99" | |
1 "Moers | 99" | |
1 "Krefeld | 99" | |
1 "Hüls, Krefeld | 99" | |
1 "Homburg <Nümbrecht> | 99" | |
1 "Heisberg | 99" | |
1 "Grafschaft Wittgenstein | 74" | |
1 "Grafschaft Rietberg | 74" | |
1 "Grafschaft Lingen <Ems> | 74" | |
1 "Duisburg-Baerl | 99" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment