seer_rename_site_specific: Rename SEER Site-Specific Variables

Description Usage Arguments

Description

There are a number of variables that cover site-specific factors. This function renames those variables according the their labels. The resulting names are long but descriptive.

Usage

1
2
seer_rename_site_specific(.data,
  name_formatter = snakecase::to_snake_case)

Arguments

.data

The SEER data set, from read_seer_fwf() with use_col_desc = FALSE.

name_formatter

A function that takes will be applied to the site-specific factor descriptions to convert into valid variable names. See snakecase::to_snake_case().


GerkeLab/SEERreadr documentation built on May 20, 2019, 9:41 a.m.