Skip to content

Commit

Permalink
A few custom dc fixes (#514)
Browse files Browse the repository at this point in the history
* remove link to outdated disclaimer
* fix a few links
* fix link
  • Loading branch information
beets authored Sep 24, 2024
1 parent ef9c1f2 commit 5e2b45f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@
<div class="sub-footer-links">
<a href="https://policies.google.com/terms">Terms and Conditions</a>
<a href="https://policies.google.com/privacy?hl=en-US">Privacy Policy</a>
<a href="https://datacommons.org/disclaimers">Disclaimers</a>
</div>
</div>
</footer>
Expand Down
6 changes: 3 additions & 3 deletions custom_dc/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ An API key is required to authorize requests from your site to the base Data Com

1. Go to [https://console.cloud.google.com/apis/dashboard](https://console.cloud.google.com/apis/dashboard){: target="_blank"} for your project.
1. Click **Enable APIs & Services**.
1. Under **Maps**, enable **Places API** and **Maps Javascript API**.
1. Under **Maps**, enable **[Places API](https://console.cloud.google.com/apis/library/places-backend.googleapis.com){: target="_blank"}** and **[Maps Javascript API](https://console.cloud.google.com/apis/library/maps-backend.googleapis.com){: target="_blank"}**.
1. Go to [https://console.cloud.google.com/google/maps-apis/credentials](https://console.cloud.google.com/google/maps-apis/credentials){: target="_blank"} for your project.
1. Click **Create Credentials** > **API Key**.
1. Record the key and click **Close**.
Expand Down Expand Up @@ -159,7 +159,7 @@ This does the following:
- Maps the input sample data to a Docker path.
- Starts a Docker container.
- Imports the data from the CSV files, resolves entities, and writes the data to a SQLite database file, `custom_dc/sample/datacommons/datacommons.db`.
- Generates embeddings in `custom_dc/sample/datacommons/nl`. (To learn more about embeddings generation, see the [FAQ](faq.md#natural-language-processing).
- Generates embeddings in `custom_dc/sample/datacommons/nl`. (To learn more about embeddings generation, see the [FAQ](/custom_dc/faq.html#natural-language-processing)).

Once the container has executed all the functions in the scripts, it shuts down.

Expand Down Expand Up @@ -214,7 +214,7 @@ Once the services are up and running, visit your local instance by pointing your

![screenshot_homepage](/assets/images/custom_dc/customdc_screenshot1.png){: width="900"}

Now click the **Timeline** link to visit the Timeline explorer. Click **Start**, enter a country and click **Continue**. Now, in the **Select variables** tools, you'll see the new variables:
Now click the **Timeline** link to visit the Timeline explorer. Click **Start**, enter an OECD country (e.g. Canada) and click **Continue**. Now, in the **Select variables** tools, you'll see the new variables:

![screenshot_timeline](/assets/images/custom_dc/customdc_screenshot2.png){: width="900"}

Expand Down

0 comments on commit 5e2b45f

Please sign in to comment.