-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include a list of HD conceptschemes. Refs #88
- Loading branch information
1 parent
7d5dd2f
commit d2a7a99
Showing
6 changed files
with
559 additions
and
20 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include README.md LICENSE HISTORY.rst | ||
include skosprovider_heritagedata/conceptschemes.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
''' | ||
A script to create a JSON file with all heritagedata.org conceptschemes | ||
''' | ||
|
||
import csv | ||
import json | ||
import requests | ||
|
||
res = requests.get('http://www.heritagedata.org/live/services/getSchemes?alias') | ||
|
||
schemes = res.json() | ||
|
||
print(json.dumps(schemes, indent=4)) |
Oops, something went wrong.