ccao
R package of functions and datasets used throughout the CCAO assessment pipeline
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (18.2%) to scientific vocabulary
Keywords
assessment
property-taxes
r
r-package
taxes
Last synced: 7 months ago
·
JSON representation
·
Repository
R package of functions and datasets used throughout the CCAO assessment pipeline
Basic Info
- Host: GitHub
- Owner: ccao-data
- License: agpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://ccao-data.github.io/ccao/
- Size: 10.9 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 4
- Releases: 2
Topics
assessment
property-taxes
r
r-package
taxes
Created almost 3 years ago
· Last pushed about 1 year ago
Metadata Files
Readme
License
Citation
Codeowners
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# CCAO
[](https://github.com/ccao-data/ccao/actions/workflows/R-CMD-check.yaml)
[](https://github.com/ccao-data/ccao/actions/workflows/test-coverage.yaml)
[](https://github.com/ccao-data/ccao/actions/workflows/pre-commit.yaml)
[](https://codecov.io/gh/ccao-data/ccao)
A package to manage, distribute, and version control *CCAO-specific* functions. These functions are used throughout CCAO applications, models, and diagnostics. For generalized versions of assessment-related functions, see [assessR](https://github.com/ccao-data/assessr).
For detailed documentation on included functions and data, [**visit the full reference list**](https://ccao-data.github.io/ccao/reference/index.html).
## Installation
You can install the released version of `ccao` directly from GitHub with one of the following commands:
```{r, eval=FALSE}
# Using remotes
remotes::install_github("ccao-data/ccao")
# Using renv
renv::install("ccao-data/ccao")
# Using pak
pak::pak("ccao-data/ccao")
# Append the @ symbol for a specific version
remotes::install_github("ccao-data/ccao@1.2.0")
```
## Basic usage
Here is a quick example using `ccao` functions with included sample data:
```{r, message=FALSE, results='asis'}
library(ccao)
library(dplyr)
library(knitr)
# Create a small subsample of data. This is the "raw" data taken from SQL
sample_data <- chars_sample_athena %>%
select(pin, year, char_yrblt, char_gar1_size, char_ext_wall) %>%
slice(c(1, 2, 5, 14)) %>%
mutate(township_code = c("72", "73", "71", "72"))
sample_data %>%
kable(digits = 3)
# Recode/rename/clean data using town_ and vars_ functions from ccao
sample_data %>%
mutate(
pin = pin_format_pretty(pin),
township_name = town_convert(township_code),
triad_name = town_get_triad(township_code, name = TRUE),
`Next Reass. Year` = town_get_assmnt_year(
township_code,
round_type = "ceiling"
)
) %>%
vars_recode(type = "long") %>%
vars_rename(names_from = "athena", names_to = "pretty") %>%
kable(digits = 3)
```
## CCAO colors
The CCAO Communications Department created a palette of colors for CCAO press materials and visualizations. Navy, gold, and buttermilk are the colors used in the CCAO logo. Typically navy and gold are used for discrete values in plots. The hex codes for these colors are available via the named list `ccao_colors`.
```{r colors, echo=FALSE, fig.height=1, warning=FALSE}
library(ggplot2)
ggplot() +
geom_tile(aes(x = 1:12, y = 1), fill = ccao::ccao_colors) +
geom_text(
aes(
x = 1:12,
y = 1,
label = names(ccao::ccao_colors),
color = c(rep("1", 5), "2", rep("1", 5), "2")
),
angle = 90,
vjust = 0.3
) +
scale_color_manual(
guide = "none",
values = c("1" = "black", "2" = "white")
) +
scale_x_discrete(expand = c(0, 0)) +
scale_y_discrete(expand = c(0, 0)) +
theme_minimal() +
theme(
axis.title = element_blank()
)
```
Owner
- Name: Cook County Assessor's Office
- Login: ccao-data
- Kind: organization
- Email: assessor.data@cookcountyil.gov
- Website: https://www.cookcountyassessor.com
- Twitter: AssessorCook
- Repositories: 1
- Profile: https://github.com/ccao-data
Citation (CITATION.cff)
message: "If you use this software, please cite it as below." authors: - family-names: "Cook County Assessor's Office" title: "CCAO" version: 1.3.0 date-released: 2020-05-20 url: "https://github.com/ccao-data/ccao"
GitHub Events
Total
- Issues event: 4
- Watch event: 1
- Delete event: 9
- Issue comment event: 8
- Push event: 76
- Pull request event: 14
- Pull request review event: 30
- Pull request review comment event: 42
- Create event: 9
Last Year
- Issues event: 4
- Watch event: 1
- Delete event: 9
- Issue comment event: 8
- Push event: 76
- Pull request event: 14
- Pull request review event: 30
- Pull request review comment event: 42
- Create event: 9
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Dan Snow | D****w@c****m | 153 |
| Dan Snow | d****w@c****v | 92 |
| Dan Snow | s****s@g****m | 44 |
| sweatyhandshake | w****y@c****m | 26 |
| Dan Snow | d****w@c****m | 14 |
| Nathan Dignazio | n****o@c****m | 7 |
| Dan Snow | d****n@s****s | 6 |
| Sweaty Handshake | w****y@c****v | 3 |
| Dan Snow | 3****w | 3 |
| William Ridgeway | 1****y | 2 |
| Jean Cochrane | j****e | 1 |
| Damonamajor | 5****r | 1 |
| wagnerlmichael | 9****l | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 16
- Total pull requests: 27
- Average time to close issues: 15 days
- Average time to close pull requests: 2 days
- Total issue authors: 4
- Total pull request authors: 5
- Average comments per issue: 0.31
- Average comments per pull request: 0.96
- Merged pull requests: 24
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 3
- Pull requests: 11
- Average time to close issues: N/A
- Average time to close pull requests: 2 days
- Issue authors: 2
- Pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.73
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- wrridgeway (9)
- jeancochrane (5)
- dfsnow (1)
- wagnerlmichael (1)
Pull Request Authors
- jeancochrane (15)
- wrridgeway (11)
- dfsnow (7)
- wagnerlmichael (3)
- Damonamajor (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels
Dependencies
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/lint.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- actions/checkout v3 composite
- actions/configure-pages v3 composite
- actions/deploy-pages v2 composite
- actions/upload-pages-artifact v1 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pre-commit.yaml
actions
- actions/checkout v3 composite
- actions/setup-python v4 composite
.github/workflows/test-coverage.yaml
actions
- actions/checkout v3 composite
- actions/upload-artifact v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION
cran
- R >= 3.5.0 depends
- assessr >= 0.4.8 imports
- dplyr >= 1.1.0 imports
- magrittr * imports
- rlang * imports
- tidyr >= 1.3.0 imports
- DBI * suggests
- covr * suggests
- devtools * suggests
- ggplot2 * suggests
- knitr * suggests
- lintr * suggests
- noctua * suggests
- pkgdown * suggests
- readr * suggests
- rmarkdown * suggests
- scales * suggests
- sf * suggests
- testthat * suggests
- usethis * suggests