Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite of adding custom data to custom DC #556

Open
wants to merge 86 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
b6f53cf
Revert to gerund
kmoscoe Jul 26, 2024
e538860
Merge branch 'master' into master
kmoscoe Jul 26, 2024
db99da0
Merge branch 'datacommonsorg:master' into master
kmoscoe Jul 31, 2024
7f2bccf
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 1, 2024
03b9786
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 6, 2024
5d52e4b
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 6, 2024
c497e03
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 13, 2024
75e9b41
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 13, 2024
cab4484
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 14, 2024
5547194
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 15, 2024
ac3ceec
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 16, 2024
5e68a9f
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 26, 2024
17eb420
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 26, 2024
e204fbd
merge
kmoscoe Aug 27, 2024
8b78d9f
merge
kmoscoe Aug 27, 2024
df1a8dd
Merge branch 'datacommonsorg:master' into master
kmoscoe Aug 28, 2024
0fcf34c
Merge branch 'master' of https://github.com/datacommonsorg/docsite
kmoscoe Sep 3, 2024
1f6c492
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 3, 2024
dee1e6a
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 4, 2024
8bc313f
Merge branch 'master' of https://github.com/datacommonsorg/docsite
kmoscoe Sep 4, 2024
0678683
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 4, 2024
91616c4
Merge branch 'master' of https://github.com/datacommonsorg/docsite
kmoscoe Sep 4, 2024
c322763
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 4, 2024
627fb89
Merge branch 'master' of https://github.com/datacommonsorg/docsite
kmoscoe Sep 4, 2024
6d8c42d
Merge branch 'master' of https://github.com/datacommonsorg/docsite
kmoscoe Sep 9, 2024
cc6d9e3
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 10, 2024
e588231
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 10, 2024
837a782
Merge branch 'master' of https://github.com/kmoscoe/docsite
kmoscoe Sep 10, 2024
bde4843
merge
kmoscoe Sep 10, 2024
0da5d90
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 11, 2024
b95565d
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 13, 2024
14a22e4
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 16, 2024
a2d42cf
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 16, 2024
b0873ea
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 18, 2024
c4ce90d
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 18, 2024
6521e3b
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 24, 2024
fed02b2
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 26, 2024
efdddbb
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 27, 2024
ef8c380
Merge branch 'datacommonsorg:master' into master
kmoscoe Sep 27, 2024
5a365be
Merge branch 'datacommonsorg:master' into master
kmoscoe Oct 9, 2024
088e3f9
Merge branch 'datacommonsorg:master' into master
kmoscoe Oct 28, 2024
38fc2b9
Merge branch 'datacommonsorg:master' into master
kmoscoe Nov 4, 2024
2b069e3
Merge branch 'datacommonsorg:master' into master
kmoscoe Nov 5, 2024
2777749
Merge branch 'datacommonsorg:master' into master
kmoscoe Nov 7, 2024
73eb2a6
stable release
kmoscoe Nov 7, 2024
85050d7
removed reference to fork
kmoscoe Nov 7, 2024
056ed1c
updated procedures
kmoscoe Nov 7, 2024
e8b7395
wee corrections
kmoscoe Nov 7, 2024
b4a3a17
recorrect
kmoscoe Nov 7, 2024
c733343
wee changes
kmoscoe Nov 7, 2024
a87b033
wee changes
kmoscoe Nov 7, 2024
6a2707c
remove branch sync procedures
kmoscoe Nov 11, 2024
2e3f851
corrections from Hannah
kmoscoe Nov 11, 2024
3c5cb9c
Merge branch 'master' into custom_dc
kmoscoe Nov 12, 2024
6952700
Merge branch 'master' of https://github.com/datacommonsorg/docsite in…
kmoscoe Nov 13, 2024
e541953
Merge branch 'master' of https://github.com/datacommonsorg/docsite in…
kmoscoe Nov 13, 2024
7e81046
first revisions
kmoscoe Nov 13, 2024
5a63a26
more revisions
kmoscoe Nov 13, 2024
3a46100
more work
kmoscoe Nov 19, 2024
c10255b
Merge branch 'master' of https://github.com/datacommonsorg/docsite in…
kmoscoe Nov 19, 2024
9b7efcb
first cut of variable-per-column rewrite
kmoscoe Nov 19, 2024
2b139d7
more work
kmoscoe Nov 19, 2024
27ea262
Merge branch 'master' of https://github.com/datacommonsorg/docsite in…
kmoscoe Nov 25, 2024
5ca1909
more work
kmoscoe Nov 25, 2024
10f9fc3
more work
kmoscoe Nov 25, 2024
0a77143
Merge branch 'master' of https://github.com/kmoscoe/docsite into cust…
kmoscoe Dec 9, 2024
cd7649d
restore changes
kmoscoe Dec 9, 2024
ff6a0d9
more changes
kmoscoe Dec 9, 2024
8ee2ec0
more changes
kmoscoe Dec 9, 2024
a06952e
more changes
kmoscoe Dec 9, 2024
648709f
more changes
kmoscoe Dec 10, 2024
f0386a1
updates to json spec
kmoscoe Dec 11, 2024
7b7e12c
more edits
kmoscoe Dec 11, 2024
eaddb65
multiple directories
kmoscoe Dec 11, 2024
299e945
more changes
kmoscoe Dec 11, 2024
cb6e67c
more changes
kmoscoe Dec 11, 2024
52eca6b
more edits
kmoscoe Dec 16, 2024
4f945de
Merge branch 'custom_dc' into terraform
kmoscoe Dec 16, 2024
ce81b84
remove headings from TOC
kmoscoe Dec 16, 2024
9620b68
Merge branch 'custom_dc' into terraform
kmoscoe Dec 16, 2024
4a1fdad
minor edits
kmoscoe Dec 18, 2024
236e86d
more edits
kmoscoe Dec 18, 2024
6e7ddeb
remove wrong image reference
kmoscoe Dec 18, 2024
22af3a8
remove more headings from TOC
kmoscoe Dec 18, 2024
fedd52e
revisions per Ajai and a new diagram
kmoscoe Dec 19, 2024
b280425
remove image, replace by text
kmoscoe Dec 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/rest/v2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,4 +268,4 @@ curl -X POST \
"nextToken": "SoME_veRy_L0ng_STrIng"
}'
```
Don't forget to URL-encode any special characters that appear in the string.
You must [URL-encode](#url-encode) any special characters that appear in the string.
11 changes: 8 additions & 3 deletions api/rest/v2/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ grand_parent: API - Query data programmatically
published: true
---

{: .no_toc}
# /v2/node

* TOC
{:toc}

Data Commons represents node relations as directed edges between nodes, or
_properties_. The name of the property is a _label_, while the target node is the _value_ of
the property. The Node API returns the property labels and values that are
Expand Down Expand Up @@ -322,11 +326,11 @@ Response:


{: #wildcard}
### Example 4: Get all incoming arc values for a node
### Example 4: Get all incoming arc values (properties) for a node

Get all the incoming linked nodes for node `PowerPlant`, using `<-*`. Note that, unlike example 1, this query returns the actual property values, not just their labels.

Also note that the response contains a `nextToken`, so you need to send additional requests with the continuation tokens to get all the data.
Also note that the response contains a `nextToken`, so to get all the data, you need to send additional requests with [continuation tokens](/api/rest/v2/index.html#pagination), until no `nextToken` is returned.

Parameters:
{: .example-box-title}
Expand Down Expand Up @@ -500,11 +504,12 @@ Response:
```
{: .example-box-content .scroll}

{: #liststatvars}
### Example 5: Get a list of all existing statistical variables

Get all incoming linked nodes of node `StatisticalVariable`, with the `typeof` property. Since `StatisticalVariable` is a top-level entity, or entity type, this effectively gets all statistical variables.

Also note that the response contains a `nextToken`, so you need to send additional requests with the continuation tokens to get all the data.
Also note that the response contains a `nextToken`, so to get all the data, you need to send additional requests with [continuation tokens](/api/rest/v2/index.html#pagination), until no `nextToken` is returned.

Parameters:
{: .example-box-title}
Expand Down
Binary file added assets/images/custom_dc/customdc_screenshot10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/custom_dc/customdc_screenshot8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/custom_dc/customdc_screenshot9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading