Skip to contents

Internal function to load birth data, select columns, create rural indicator, and format county identifiers.

Usage

load_and_process_birth_data(
  birth_data_txt,
  columns_to_select,
  rucc_col,
  birth_county_col
)

Arguments

birth_data_txt

Path to birth data file

columns_to_select

Column names to select (NULL for all)

rucc_col

Column name for Rural-Urban Continuum Code

birth_county_col

Column name for birth county identifier

Value

Processed birth data frame