county_rename: Get full county name

View source: R/get_county_name.R

county_renameR Documentation

Get full county name

Description

This looks at the county code and returns a new column countyname of the full county name. Old db, the CNTYCODE is already the full county name.

Usage

county_rename(any_df, county_col = "CNTYCODE", combine_with_old = FALSE)

Arguments

any_df

person, crash, or vehicle dataframe

county_col

column that has the county code

combine_with_old

If TRUE, will bring full county name to countyname

Value

A new column called countyname

Examples

## Not run: county_rename(vehicle17)

jacciz/wisdotcrashdatabase documentation built on June 3, 2023, 2:26 a.m.