ID links
ID links (with attributes)
ID links
- path-highlight-2022-11.html (linked from about, usage)
Table of ID links
- dataset-links-2022-11.tsv (linked from about, usage)
ID links (with attributes)
Table of attributes
Paths (JSON)
ID links
- path-selected.html (linked from news v1.1)
Table of ID links
- dataset-links.tsv (linked from news v1.1)
ID links (with attributes)
ID links (with ID counts)
Table of attributes
Get paths
$ ./bin/js/paths.js > json/paths.json
Create graph data
$ ./bin/create_graph.pl json/paths.json > graph/dataset.pg
$ ./bin/create_graph.pl -l json/paths.json > tsv/dataset-links.tsv
$ ./bin/create_graph.pl -a json/paths.json > graph/dataset-attr.pg
Count IDs
$ ./bin/js/attributes-count-ids.js data/json/ > tsv/attribute-count-ids.tsv
$ ./bin/js/attributes-count-ids.js data/json/ -d > tsv/dataset-count-ids.tsv
$ ./bin/js/attributes-count-ids.js data/json/ -d -j > json/dataset-count-ids.json
$ ./bin/js/attributes-count-ids.js data/json/ -l > tsv/ids.tsv
$ ./bin/id-pairs-count.pl data/relation/output/ > tsv/id-pairs-count.tsv
$ ./bin/js/id-pairs-count-tsv2json.js tsv/id-pairs-count.tsv > json/id-pairs-count.tsv.json
Add ID counts
$ ./bin/create_graph.pl -c tsv/dataset-count-ids.tsv > graph/dataset-count.pg
Add attributes
$ cat graph/dataset-count.pg =(./bin/js/attributes-pg.js) > graph/dataset-attr.pg
Creating supplementary tables
$ ./bin/js/attributes-list.js data/json/ > tsv/attribute-list.tsv
$ ./bin/js/attributes-description.js > tsv/attribute-description.tsv
Edit json/paths-modified.json
Update graph:
$ ./bin/create_graph.pl json/paths-modified.json > graph/dataset-modified.pg
$ ./bin/create_graph.pl -a json/paths-modified.json > graph/dataset-attr-modified.pg
Update tsv (to be referred by html):
$ ./bin/create_graph.pl -l json/paths-modified.json > tsv/dataset-links-modified.tsv
Test:
- Access index-modified.html or attr-modified.html
- Start HTTP server
$ python3 -m http.server
, and access localhost:8000/index-modified.html - Push modifications, and access https://togodx.github.io/togodx-path/index-modified.html
- Start HTTP server