Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smaller text edits for vignette #35

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vignettes/councilverse.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ library(councilverse)
We will use `councilcount` data in our example of how to make plots and maps using `councilverse` functions.

```{r message=FALSE}
# use councilverse::get_census_variables to check available variables
# use councilcount::get_census_variables to check available variables
census_vars <- get_census_variables()
# use councilverse::get_geo_estimates to read in council district data for '% work from home' using 2013 council boundaries
# use councilcount::get_geo_estimates to read in council district data for '% work from home' using 2013 council boundaries
# borough, communitydist, councildist, nta, policeprct, schooldist geographies are available
council_geo <- get_geo_estimates("councildist", var_codes = "DP03_0024E", boundary_year = "2013")
```
Expand Down Expand Up @@ -133,7 +133,7 @@ map <- leaflet() %>%
values = c(0,1), opacity = 1, decreasing = T,
labFormat = labelFormat(suffix = "%"),
na.label = "NA") %>%
# use councildown::addSourceText to add source text on bottom left of map
# use councildown::addSourceText to add source text on bottom right of map
addSourceText(lat = -73.75, lon = 40.53, "Source: NYCC Data Team")
```

Expand Down
Loading