fix_cogs | R Documentation |
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.
fix_cogs(x)
x |
A vector of names, either as a character or a factor. |
A vector of the same length and type as input
xwalk regions
fix_cogs(names(regions[1:6]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.