check_county_names: Check your data for use in 'county_map()' function

Description Usage Arguments Value Examples

View source: R/easy_choropleths.R

Description

Checks your dataframe of counties against the county names in the county_map() to identify any missspellings or spacing issues

Usage

1

Arguments

data

Your data frame to make a choropleth. Contains three columns, county name, county state and your variable of intrest, in that order

state

A string contianing the state name or abbriviation that you would like to map. Default is "all" which maps the entire USA

Value

A data frame or a list identifying which counties are in the function data set, but were not found in yours, and which counties are in your data set but were not found in the function's. Please change the names of the counties in your data set to match those in the function if you'd like to graph those counties

Examples

1

srhen/mustangnews documentation built on June 15, 2020, 3:45 a.m.