Skip to content

Commit 3a8e02e

Browse files
authored
Fix typos (#598)
* Updating Data Sources pages * first drafts of entity import * more work on entities * continued work * continued work * allow sample API key * more work * more work on entities * more work * more changes * more changes * split out custom entities into a separate file * start work on Python v2 docs * start of new Python docs * create all pages for directory and more work on landing page * more work * add skeleton files * rename old Python docs * fix mistaken files * fix files again * fix more files * remove template from PR * changed examples to directly print responses * move pagination out of main page and into node page * wording change suggested by Jorge * fixed response formatting object wording, per Jorge * fix package name * set to unpublished * set back to published * new node page * rewrote response formatting section for new methods * Removed node.md because of unresolvable merge conflict. * corrected package name * Update api/python/v2/node.md * fix typos
1 parent 6bee39e commit 3a8e02e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

api/python/v2/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ This procedure uses a Python virtual environment as recommended by Google Cloud
4646
1. Install the the `datacommons-client` package:
4747

4848
```bash
49-
$ pip install datacommons_client
49+
$ pip install datacommons-client
5050
```
5151

5252
To get additional functionality with Pandas DataFrames, run:
5353

5454
```bash
55-
$ pip install "datacommons_client[Pandas]"
55+
$ pip install "datacommons-client[Pandas]"
5656
```
5757
## Run Python interactively
5858

@@ -267,4 +267,4 @@ Response:
267267
> **Note:** On the endpoint reference pages we will show all responses using this format, but will leave out the response methods for succinctness.
268268
269269
<script src="/assets/js/syntax_highlighting.js"></script>
270-
<script src="/assets/js/api-doc-tabs.js"></script>
270+
<script src="/assets/js/api-doc-tabs.js"></script>

api/python/v2/resolve.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ fetch(node_ids, expression)
107107
| Name | Type | Description |
108108
|---------------|-------|----------------|
109109
| node_ids <br /> <required-tag>Required</required-tag> | string or list of strings | A term or list of terms that identify each node to search for, such as their name. |
110-
| expression <br /> <required-tag>Required</required-tag> | string | An expression that describes the identifier used in the `node_ids` parameter. Only three are currently supported: <br />`<-description`: Search for nodes based on name-related properties (such as `name`, `alternateName`, etc.).<br/>`<-wikidataId`: Search for nodes based on their Wikidata ID(s).<br/>`<-geoCoordinates`: Search for nodes based on latitude and/or longitude.<br/> Note that these are not necessarily "properties" that appear in the knowledge graph; instead, they are "synthetic" attributes that cover searches over multiple properties. <br/>Each expression must end with `->dcid` and my optionally include a [`typeOf` filter](/api/rest/v2/index.html#filters). |
110+
| expression <br /> <required-tag>Required</required-tag> | string | An expression that describes the identifier used in the `node_ids` parameter. Only three are currently supported: <br />`<-description`: Search for nodes based on name-related properties (such as `name`, `alternateName`, etc.).<br/>`<-wikidataId`: Search for nodes based on their Wikidata ID(s).<br/>`<-geoCoordinates`: Search for nodes based on latitude and/or longitude.<br/> Note that these are not necessarily "properties" that appear in the knowledge graph; instead, they are "synthetic" attributes that cover searches over multiple properties. <br/>Each expression must end with `->dcid` and may optionally include a [`typeOf` filter](/api/rest/v2/index.html#filters). |
111111
{: .doc-table }
112112

113113
### Examples
@@ -431,4 +431,4 @@ Response:
431431
]
432432
}
433433
```
434-
{: .example-box-content .scroll}
434+
{: .example-box-content .scroll}

api/rest/v2/resolve.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ JSON data:
7373
|---------------|-------|----------------|
7474
| key <br /> <required-tag>Required</required-tag> | string | Your API key. See the [section on authentication](/api/rest/v2/index.html#authentication) for details. |
7575
| nodes <br /> <required-tag>Required</required-tag> | list of strings | A list of terms that identify each node to search for, such as their names. |
76-
| property <br /> <required-tag>Required</required-tag> | string | An expression that describes the identifier used in the `nodes` parameter. Only three are currently supported:<br />`<-description`: Search for nodes based on name-related properties (such as `name`, `alternateName`, etc.).<br/>`<-wikidataId`: Search for nodes based on their Wikidata ID(s).<br/>`<-geoCoordinates`: Search for nodes based on latitude and/or longitude.<br/>Note that these are not necessarily "properties" that appear in the knowledge graph; instead, they are "synthetic" attributes that cover searches over multiple properties. <br/>Each expression must end with `->dcid` and my optionally include a [`typeOf` filter](/api/rest/v2/index.html#filters). |
76+
| property <br /> <required-tag>Required</required-tag> | string | An expression that describes the identifier used in the `nodes` parameter. Only three are currently supported:<br />`<-description`: Search for nodes based on name-related properties (such as `name`, `alternateName`, etc.).<br/>`<-wikidataId`: Search for nodes based on their Wikidata ID(s).<br/>`<-geoCoordinates`: Search for nodes based on latitude and/or longitude.<br/>Note that these are not necessarily "properties" that appear in the knowledge graph; instead, they are "synthetic" attributes that cover searches over multiple properties. <br/>Each expression must end with `->dcid` and may optionally include a [`typeOf` filter](/api/rest/v2/index.html#filters). |
7777
{: .doc-table }
7878

7979
## Response

0 commit comments

Comments
 (0)