plot_bar_periods_ses_grid: Produce grouped bar chart panel across four periods and SES...

Description Usage Arguments Value

View source: R/plot_bar_periods_ses.R

Description

This function takes in data and produces a bar chart panel grouped by either gentrification, ethnoracial, income, ses, or period category across four housing periods and SES categories.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_bar_periods_ses_grid(
  dat,
  var,
  limits,
  y_title = NULL,
  group = "gent",
  save = F,
  savename = "plot.png",
  caption = paste0(frb_acs_caption, ses_caption, period_caption)
)

Arguments

dat

Data with a column containing census tracts and variable of interest. Aggregated data with column "period"

var

Name of column containing variable to plot.

limits

Y-axis limits

y_title

Title to display along y-axis.

group

Category for x-axis grouping: "gent" (default), "ethnoracial", "income", "ses", or "period"

save

T if user would like to return plot object and save file, F (default) to just return object.

savename

File name of map for saving.

caption

Caption for figure

Value

Grouped bar chart panel across four periods and SES categories.


Changing-Cities-Research-Lab/oakViz documentation built on May 13, 2021, 7:19 p.m.