fix_cogs: Fix names of COGs

View source: R/fix_cogs.R

fix_cogsR Documentation

Fix names of COGs

Description

As Connecticut rolls out its use of COGs in place of counties, the names of COGs might differ depending on who you ask (the Census Bureau, CTOPM, or the COGs themselves). The crosswalk in cwi::xwalk uses the names as they come from the Census; this function then renames them to match the COGs' apparent preferences.

Usage

fix_cogs(x)

Arguments

x

A vector of names, either as a character or a factor.

Value

A vector of the same length and type as input

See Also

xwalk regions

Examples

fix_cogs(names(regions[1:6]))

CT-Data-Haven/cwi documentation built on July 1, 2024, 7:45 a.m.