-
Notifications
You must be signed in to change notification settings - Fork 6
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 #272 from PSLmodels/pr-prepare-targets-documentati…
…on-and-environment-management Prepare targets documentation and environment management
- Loading branch information
Showing
22 changed files
with
3,597 additions
and
571 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
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 @@ | ||
source("renv/activate.R") |
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 |
---|---|---|
|
@@ -13,3 +13,5 @@ _freeze/ | |
|
||
# Local Netlify folder | ||
.netlify | ||
|
||
/.quarto/ |
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,10 @@ | ||
|
||
CDZIPURL <- "https://www.irs.gov/pub/irs-soi/congressional2021.zip" | ||
CDDOCURL <- "https://www.irs.gov/pub/irs-soi/21incddocguide.docx" | ||
|
||
CDDIR <- here::here("cds") | ||
CDRAW <- fs::path(CDDIR, "raw_data") | ||
CDINTERMEDIATE <- fs::path(CDDIR, "intermediate") | ||
CDFINAL <- fs::path(CDDIR, "final") | ||
|
||
CDDOCEXTRACT <- "cd_documentation_extracted_from_21incddocguide.docx.xlsx" |
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,79 @@ | ||
# libraries --------------------------------------------------------------- | ||
|
||
library(renv) | ||
|
||
library(DT) | ||
library(fs) | ||
library(gt) | ||
library(knitr) | ||
library(readxl) | ||
library(skimr) | ||
library(stringr) | ||
library(tidyverse) | ||
# includes: dplyr, forcats, ggplot2, lubridate, purrr, stringr, tibble, tidyr | ||
|
||
tprint <- 75 # default tibble print | ||
options(tibble.print_max = tprint, tibble.print_min = tprint) # show up to tprint rows | ||
|
||
# census_api_key("b27cb41e46ffe3488af186dd80c64dce66bd5e87", install = TRUE) # stored in .Renviron | ||
# libraries needed for census population | ||
library(sf) | ||
library(tidycensus) | ||
library(tigris) | ||
options(tigris_use_cache = TRUE) | ||
|
||
|
||
# possible libraries ------------------------------------------------------ | ||
|
||
# library(rlang) | ||
# library(tidyverse) | ||
# tprint <- 75 # default tibble print | ||
# options(tibble.print_max = tprint, tibble.print_min = tprint) # show up to tprint rows | ||
# | ||
# library(fs) | ||
|
||
# tools | ||
# library(vroom) | ||
# library(readxl) | ||
# library(openxlsx) # for writing xlsx files | ||
# library(lubridate) | ||
# library(RColorBrewer) | ||
# library(RcppRoll) | ||
# library(fredr) | ||
# library(tidycensus) | ||
# library(googledrive) | ||
# library(arrow) | ||
# | ||
# library(jsonlite) | ||
# library(tidyjson) | ||
# | ||
# | ||
# # boyd libraries | ||
# # library(btools) | ||
# # library(bdata) | ||
# # library(bggtools) | ||
# # library(bmaps) | ||
# | ||
# # graphics | ||
# library(scales) | ||
# library(ggbeeswarm) | ||
# library(patchwork) | ||
# library(gridExtra) | ||
# library(ggrepel) | ||
# library(ggbreak) | ||
# | ||
# # tables | ||
# library(knitr) | ||
# library(kableExtra) | ||
# library(DT) | ||
# library(gt) | ||
# library(gtExtras) | ||
# library(janitor) | ||
# library(skimr) | ||
# library(vtable) | ||
# | ||
# # maps | ||
# library(maps) | ||
# # https://cran.r-project.org/web/packages/usmap/vignettes/mapping.html | ||
# library(usmap) | ||
|
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.