Skip to contents

DEPRECATED.

Usage

pad_geoid_cols(df, cols = NULL, pattern = "bg", width)

Arguments

df

data.table. Tabular input with GEOID columns to pad.

cols

character vector (optional). Names of columns to pad. If NULL, uses pattern.

pattern

character(1) (optional). Pattern to match column names.

width

integer(1). Target width for padded string.

Value

data.table. Copy of input with padded GEOID columns.

Details

  • This function is deprecated and not used elsewhere in the package.

  • Prefer geoid_pad() or custom logic for GEOID padding.

  • See documentation for recommended alternatives.

Settings

None.

See also

geoid_pad

Other geo utilities: format_geoids(), geoid_pad(), get_bg_geom(), get_county_fips(), get_puma_geom(), get_state_fips()

Examples

## Deprecated: Use geoid_pad() instead.