Skip to content

Commit

Permalink
Add documentation for sheets sorting with video illustration (datacom…
Browse files Browse the repository at this point in the history
…monsorg#88)

* Add documentation for sheets sorting with video illustration

* resolve comments
  • Loading branch information
shifucun authored Oct 26, 2020
1 parent ea36436 commit e5cf028
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ GEM
ffi (>= 1.3.0)
eventmachine (1.2.7)
execjs (2.7.0)
faraday (1.0.1)
faraday (1.1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords
ffi (1.13.1)
forwardable-extended (2.6.0)
gemoji (3.0.1)
Expand Down Expand Up @@ -211,7 +212,7 @@ GEM
multipart-post (2.1.1)
nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
octokit (4.18.0)
octokit (4.19.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2)
Expand All @@ -224,6 +225,7 @@ GEM
rouge (3.23.0)
ruby-enum (0.8.0)
i18n
ruby2_keywords (0.0.2)
rubyzip (2.3.0)
safe_yaml (1.0.5)
sass (3.7.4)
Expand Down
Binary file modified api/.DS_Store
Binary file not shown.
4 changes: 3 additions & 1 deletion api/sheets/get_dcid.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ grand_parent: API

# Use Google Maps Autocomplete to find the dcid of a place.

To use this feature, select a cell where you want to put the place dcid. Go to the Sheets menu bar, and click "Add-ons > Data Commons > Fill place dcids".
To use this feature, select a cell where you want to put the place dcid. Go to the Sheets menu bar, and click:

**"Add-ons > Data Commons > Fill place dcids"**

![](/assets/images/sheets/sheets_menu_bar.png)

Expand Down
26 changes: 26 additions & 0 deletions api/sheets/sort.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
layout: default
title: How to Sort
nav_order: 8
parent: Google Sheets
grand_parent: API
---

<h1>How to Sort</h1>

<p>To sort columns of data from the API, we suggest using the "filter views" Google Sheet feature.

<p>Please check the following video for a complete example:</p>

<video width="960" height="520" controls>
<source src="/api/sheets/sort.webm" type="video/webm">
Your browser does not support the video tag.
</video>

<p>To summarize, the steps are:</p>

<ul>
<li>Populate data columns with DataCommons Sheets API</li>
<li>Turn on filter views (Data > Filter views).</li>
<li>Click the reverse triangle on each column to sort by that column (and exclude header row).</li>
</ul>
Binary file added api/sheets/sort.webm
Binary file not shown.

0 comments on commit e5cf028

Please sign in to comment.