-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from climatepolicyradar/usability
Usability
- Loading branch information
Showing
15 changed files
with
38 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# Open Data Helpers | ||
# Climate Policy Radar Open Data | ||
|
||
This repo contains helpers for our open data: https://huggingface.co/datasets/ClimatePolicyRadar/all-document-text-data | ||
This repo contains helpers for our open data, which you can find on [Huggingface](https://huggingface.co/ClimatePolicyRadar/all-document-text-data). | ||
|
||
## Getting started | ||
|
||
The best place to get started is the loading data notebook at `src/notebooks`. | ||
|
||
Other examples of notebooks and streamlit demos using this open data are in the `src` directory. Feel free to raise an issue if you'd like to add or propose an interesting use case for this data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from pathlib import Path | ||
|
||
REPO_NAME = "ClimatePolicyRadar/all-document-text-data" | ||
REPO_URL = f"https://huggingface.co/datasets/{REPO_NAME}" | ||
CACHE_DIR = Path(__file__).parent / "../cache" | ||
|
||
REVISION = "main" # Use this to set a commit hash. Recommended! |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
12 changes: 6 additions & 6 deletions
12
notebooks/1-loading-data.ipynb → src/notebooks/1-loading-data.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Streamlit apps | ||
|
||
## Searchable World Map | ||
|
||
A demonstration of plotting maps using Climate Policy Radar data. This app allows you to compare the relative use of different keywords in this data across the world. | ||
|
||
![A screenshot of the world map demo](world_map_screenshot.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.