Learn R Programming

rUnemploymentData (version 1.1.0)

county_unemployment_choropleth: Render a Choropleth Map of US County Unemployment Rates

Description

Data comes from ?df_county_unemployment. The choropleth is rendered with the function ?county_choropleth in the choroplethr package.

Usage

county_unemployment_choropleth(year = 2013, num_colors = 7, zoom = NULL)

Arguments

year
The year of data to use. Must be between 1990 and 2013.
num_colors
The number of colors on the map. A value of 1 will use a continuous scale. A value in [2, 9] will use that many colors.
zoom
An optional vector of states to zoom in on. Elements of this vector must exactly match the names of states as they appear in the "region" column of ?state.regions in the choroplethrMaps package.