plot_wapr_volatility: Plot WAPR Volatility in a Region

Description Usage Arguments Value

View source: R/laborforce.R

Description

This function calculates the volatility of worker to adult population ratio at an arbitrary geographic level. Volatility is defined as the standard deviation of the percent growth rate of wapr between consecutive periods.

Usage

1
2
plot_wapr_volatility(db, level = c("BZONE", "COUNTY", "MPO", "ALDREGION",
  "STATE"), scope = NULL)

Arguments

db

Scenario database.

level

Level at which to calculate volatility over time. Smaller levels, such as BZONE will show higher volatility.

scope

a dplyr::filtering criteria to limit the scope of the dataframe

Value

a ggplot2 object.


tlumip/swimr documentation built on Dec. 14, 2020, 3:16 a.m.