-
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.
Closes #32
- Loading branch information
Showing
2 changed files
with
30 additions
and
13 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,23 +1,29 @@ | ||
### 🦜 PARAT: CSET's Private-sector AI-Related Activity Tracker | ||
# 🦜 PARAT: CSET's Private-sector AI-Related Activity Tracker | ||
|
||
This repository contains the code that generates [PARAT](https://parat.cset.tech). | ||
|
||
[company_linkage](/company_linkage) contains the code that generates the data behind PARAT: | ||
* [company_linkage](/company_linkage) contains the code that generates the data behind PARAT: | ||
company resolution across datasets, publication counts, etc. | ||
|
||
[web](/web) contains the code that generates the PARAT website from the company_linkage data. | ||
* [web](/web) contains the code that generates the PARAT website from the company_linkage data. | ||
|
||
|
||
## Setup | ||
|
||
The project python dependencies are listed in `requirements.txt`. Before running code in this repo: | ||
|
||
1.) Make a new virtualenv: | ||
1. Make a new virtualenv: | ||
|
||
```bash | ||
python3 -m venv venv | ||
source venv/bin/activate | ||
pip install -r requirements.txt | ||
``` | ||
|
||
2.) `export GOOGLE_APPLICATION_CREDENTIALS=<path to your credentials>` - a service account json. You should have at | ||
2. `export GOOGLE_APPLICATION_CREDENTIALS=<path to your credentials>` - a service account json. You should have at`` | ||
least BQ reader permissions, if you are a CSET user. If you are not a CSET user, then you will not be able to | ||
run some of this code as-is, since it depends on our internal BigQuery datasets. Please contact us if you are | ||
interested in collaborating or spot any issues. | ||
interested in collaborating or spot any issues. | ||
|
||
3. [Install and run the web interface](/web/README.md#web-interface) | ||
|
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