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

New navigation #540

Merged
merged 11 commits into from
Nov 18, 2024
4 changes: 2 additions & 2 deletions api/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
title: API
nav_order: 4
title: API - Query data programmatically
nav_order: 10
has_children: true
---

Expand Down
4 changes: 2 additions & 2 deletions api/pandas/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: default
title: Pandas
nav_order: 50
parent: API
nav_order: 40
parent: API - Query data programmatically
has_children: true
---

Expand Down
4 changes: 2 additions & 2 deletions api/pandas/multivariate_dataframe.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Multivariate Table as pd.DataFrame
title: Get multivariate DataFrame
nav_order: 3
parent: Pandas
grand_parent: API
grand_parent: API - Query data programmatically
---

# Retrieve multivariate DataFrame
Expand Down
4 changes: 2 additions & 2 deletions api/pandas/time_series.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Time Series as pd.Series
title: Get time series for a place
nav_order: 1
parent: Pandas
grand_parent: API
grand_parent: API - Query data programmatically
---

# Retrieve time series for a place
Expand Down
4 changes: 2 additions & 2 deletions api/pandas/time_series_dataframe.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Time Series Table as pd.DataFrame
title: Get time series DataFrame
nav_order: 2
parent: Pandas
grand_parent: API
grand_parent: API - Query data programmatically
---

# Retrieve time series DataFrame
Expand Down
4 changes: 2 additions & 2 deletions api/python/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: default
title: Python
nav_order: 40
parent: API
nav_order: 30
parent: API - Query data programmatically
has_children: true
redirect_from:
/tutorials/
Expand Down
6 changes: 3 additions & 3 deletions api/python/place_in.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Places within a Place
nav_order: 6
title: Get places within other places
nav_order: 3
parent: Python
grand_parent: API
grand_parent: API - Query data programmatically
---

# Retrieve places contained within other places
Expand Down
6 changes: 3 additions & 3 deletions api/python/property_label.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Property Label
nav_order: 4
title: Get property labels of nodes
nav_order: 6
parent: Python
grand_parent: API
grand_parent: API - Query data programmatically
---

# Retrieve property labels of nodes
Expand Down
6 changes: 3 additions & 3 deletions api/python/property_value.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Property Value
nav_order: 5
title: Get property values of nodes
nav_order: 7
parent: Python
grand_parent: API
grand_parent: API - Query data programmatically
---

# Retrieve property values of nodes
Expand Down
6 changes: 3 additions & 3 deletions api/python/query.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: SPARQL
nav_order: 2
title: Query using SPARQL
nav_order: 8
parent: Python
grand_parent: API
grand_parent: Retrieve statistics value for a place
---

# Query the Data Commons knowledge graph using SPARQL
Expand Down
6 changes: 3 additions & 3 deletions api/python/stat_all.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Place Statistics - All
nav_order: 9
title: Get statistical data for multiple places
nav_order: 5
parent: Python
grand_parent: API
grand_parent: API - Query data programmatically
---

# Retrieve a collection of statistical data for multiple places
Expand Down
6 changes: 3 additions & 3 deletions api/python/stat_series.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Place Statistics - Time Series
nav_order: 8
title: Get time series for a place
nav_order: 4
parent: Python
grand_parent: API
grand_parent: API - Query data programmatically
---

# Retrieve statistical time series for a place
Expand Down
6 changes: 3 additions & 3 deletions api/python/stat_value.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Place Statistics - Single Value
nav_order: 7
title: Get a single statistical value for a place
nav_order: 3
parent: Python
grand_parent: API
grand_parent: API - Query data programmatically
---

# Retrieve statistics value for a place
Expand Down
6 changes: 3 additions & 3 deletions api/python/stats.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
layout: default
title: Place Statistics
title: Get statistics for places
parent: Python
grand_parent: API
grand_parent: API - Query data programmatically
published: false
---

# Get Statistics for Places
# Get statistics for places

## `datacommons.get_stats(dcids, stats_var, obs_dates='latest')`

Expand Down
6 changes: 3 additions & 3 deletions api/python/triple.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Triple
nav_order: 3
title: Get triples associated with nodes
nav_order: 32
parent: Python
grand_parent: API
grand_parent: API - Query data programmatically
---

# Retrieve triples associated with nodes
Expand Down
4 changes: 2 additions & 2 deletions api/python/tutorials.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Tutorials
nav_order: 1
nav_order: 31
parent: Python
grand_parent: API
grand_parent: API - Query data programmatically
---

# Tutorials
Expand Down
4 changes: 2 additions & 2 deletions api/rest/v2/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: default
title: REST (V2)
nav_order: 5
parent: API
nav_order: 1
parent: API - Query data programmatically
has_children: true
published: true
redirect_from:
Expand Down
4 changes: 2 additions & 2 deletions api/rest/v2/node.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Get node properties
nav_order: 7
nav_order: 3
parent: REST (V2)
grand_parent: API
grand_parent: API - Query data programmatically
published: true
---

Expand Down
4 changes: 2 additions & 2 deletions api/rest/v2/observation.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Get statistical observations
nav_order: 6
nav_order: 2
parent: REST (V2)
grand_parent: API
grand_parent: API - Query data programmatically
published: true
---

Expand Down
4 changes: 2 additions & 2 deletions api/rest/v2/resolve.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Resolve entities
nav_order: 8
nav_order: 4
parent: REST (V2)
grand_parent: API
grand_parent: API - Query data programmatically
published: true
---

Expand Down
4 changes: 2 additions & 2 deletions api/rest/v2/sparql.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Query with SPARQL
nav_order: 9
nav_order: 5
parent: REST (V2)
grand_parent: API
grand_parent: API - Query data programmatically
published: true
---

Expand Down
4 changes: 2 additions & 2 deletions api/rest/v2/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Troubleshooting
nav_order: 10
nav_order: 6
parent: REST (V2)
grand_parent: API
grand_parent: API - Query data programmatically
published: true
---

Expand Down
5 changes: 2 additions & 3 deletions api/sheets/get_cohort_members.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
layout: default
title: Get members of a cohort
nav_order: 7
parent: Google Sheets
grand_parent: API
nav_order: 56
parent: Analyze data with Google Sheets
---

# Retrieve members of a cohort
Expand Down
5 changes: 2 additions & 3 deletions api/sheets/get_name.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
layout: default
title: Get names associated with DCIDs
nav_order: 3
parent: Google Sheets
grand_parent: API
nav_order: 52
parent: Analyze data with Google Sheets
---

# Return the names associated with DCIDs
Expand Down
5 changes: 2 additions & 3 deletions api/sheets/get_property.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
layout: default
title: Get node property values
nav_order: 6
parent: Google Sheets
grand_parent: API
nav_order: 55
parent: Analyze data with Google Sheets
---

# Retrieve node property values
Expand Down
5 changes: 2 additions & 3 deletions api/sheets/get_variable.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
layout: default
title: Get statistical variable values
nav_order: 5
parent: Google Sheets
grand_parent: API
nav_order: 54
parent: Analyze data with Google Sheets
---

# Retrieve the value of a statistical variable at a given place and time
Expand Down
5 changes: 2 additions & 3 deletions api/sheets/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
layout: default
title: Google Sheets
nav_order: 20
parent: API
title: Analyze data with Google Sheets
nav_order: 50
has_children: true
---

Expand Down
5 changes: 2 additions & 3 deletions api/sheets/places_in.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
layout: default
title: Get places contained in another place
nav_order: 4
parent: Google Sheets
grand_parent: API
nav_order: 53
parent: Analyze data with Google Sheets
---

# Retrieve places contained within another place
Expand Down
5 changes: 2 additions & 3 deletions api/sheets/tutorials/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
layout: default
title: Tutorials
nav_order: 1
parent: Google Sheets
grand_parent: API
nav_order: 51
parent: Analyze data with Google Sheets
has_children: false
---

Expand Down
6 changes: 2 additions & 4 deletions api/sheets/tutorials/sheets_covid.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
layout: default
title: Sheets COVID-19 analysis
parent: Tutorials
parent_url: /api/sheets/tutorials
grand_parent: Google Sheets
grand_parent_url: /api/sheets
show_in_nav: false
grand_parent: Analyze data with Google Sheets
nav_exclude: true
---

# Analyze the COVID-19 pandemic
Expand Down
6 changes: 2 additions & 4 deletions api/sheets/tutorials/sheets_latitude.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
layout: default
title: Sheets South American latitudes
parent: Tutorials
parent_url: /api/sheets/tutorials
grand_parent: Google Sheets
grand_parent_url: /api/sheets
show_in_nav: false
grand_parent: Analyze data with Google Sheets
nav_exclude: true
---

# Obtain latitude information for country capitals in South America
Expand Down
6 changes: 2 additions & 4 deletions api/sheets/tutorials/sheets_sleep.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
layout: default
title: Sheets CDC 500 cities sleep health
parent: Tutorials
parent_url: /api/sheets/tutorials
grand_parent: Google Sheets
grand_parent_url: /api/sheets
show_in_nav: false
grand_parent: Analyze data with Google Sheets
nav_exclude: true
---

# Analyze the CDC 500 cities for sleep health
Expand Down
Loading