-
Notifications
You must be signed in to change notification settings - Fork 1
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 #71 from Metropolitan-Council/loose-ends
Loose ends, publication
- Loading branch information
Showing
101 changed files
with
4,751 additions
and
4,416 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,8 +1,6 @@ | ||
source("renv/activate.R") | ||
|
||
options( | ||
councilR.uid = keyring::key_get("councilR.uid"), | ||
councilR.pwd = keyring::key_get("councilR.pwd"), | ||
tigris_use_cache = TRUE, | ||
scipen = 9999999 | ||
) |
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,12 @@ | ||
# More details are here: https://help.github.com/articles/about-codeowners/ | ||
# These owners will be the default owners for everything in | ||
# the repo. Unless a later match takes precedence, | ||
# these owners will be requested for | ||
# review when someone opens a pull request. | ||
|
||
# root codeowners | ||
* @pawilfahrt @ksmiff33 @eroten | ||
|
||
# require approval from one of these before | ||
# this CODEOWNERS can be edited | ||
.github/CODEOWNERS @pawilfahrt @ksmiff33 @eroten |
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
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,34 @@ | ||
# Metropolitan Council contributions | ||
|
||
If you are a core member of the Met Council CPRG working group, please follow these guidelines in addition to the [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) and [CONTRIBUTING](CONTRIBUTING.md). | ||
|
||
We track issue completion and progress using GitHub Projects. See our project page [here](https://github.com/orgs/Metropolitan-Council/projects/8/views/1). | ||
|
||
|
||
## Adding chapters | ||
|
||
Use the [chapter_template.qmd](chapter_template.qmd) to start. | ||
|
||
If you are writing a data source report, use [data_source_template.qmd](data_source_template.qmd). | ||
|
||
Then, add your new Qmd to the list of chapters in [_quarto.yml](_quarto.yml) | ||
|
||
## Citation management | ||
|
||
Create a [Zotero](https://www.zotero.org/) account and install Zotero on your machine. Once your account is created, message/email Liz and ask to be added to our [group library](https://www.zotero.org/groups/5318360/metcouncil-cprg-ghg/library). In Zotero on your machine, ensure you have installed the [BetterBibTex](https://retorque.re/zotero-better-bibtex/installation/index.html) extension. Then, change your settings to omit the "file" field (Settings > Better BibTex > Export > Fields > Fields to omit) on export; otherwise, it will include the full file path where the item lives on your machine. | ||
|
||
Alternatively, you can use the [Zotero Web API](https://quarto.org/docs/visual-editor/technical.html#zotero-web-api). | ||
|
||
To add a citation to the document you are writing in RStudio, go to "Addins" and select "Insert a citation". Enable the Zotero connection. Ensure the citation is added to our Zotero group library. Alternatively, you can set up automatic exports from Zotero to the root directory of this project. Ask Liz how to set this up. | ||
|
||
## Data and project files | ||
|
||
We use a Microsoft Team to share large files. Contact Joel, Krysten, or Luis to get access. | ||
|
||
Any large data you download should NOT be tracked on GitHub to preserve our storage. Generally, only .RDS files should be tracked in git. | ||
|
||
If you add any raw data (like shapefiles, CSVs, Excel workbooks, etc. you downloaded directly from a data source), add it to the `.gitignore` (you can use `usethis::use_git_ignore("path/to/file/file")`, edit the `.gitignore` manually, or use your git GUI to ignore the file). Then, upload the data to the our MS Team, navigating to the appropriate location in `GHG Inventory - 2024 Update/ghg-cprg/`. The file structure mirrors the file structure of this repo, so if you add data to `_energy/data-raw/` in this repo, upload it in the same place in MS Teams. | ||
|
||
## Testing | ||
|
||
When possible, write a few tests for your data and functions. Save them in `/tests`. See the existing files in `/tests` for ideas. |
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
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
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
Oops, something went wrong.