Reads the SEER column specification from the SAS import file.
seer_read_col_positions(file = "https://seer.cancer.gov/manuals/read.seer.research.nov2017.sas", raw = FALSE, use_col_desc = FALSE)
file | Path to |
---|---|
use_col_desc | Should the column description be used for the column
names? If |
#> # A tibble: 6 x 4 #> begin end col_names col_labels #> <dbl> <dbl> <chr> <chr> #> 1 0 8 PUBCSNUM Patient ID #> 2 8 18 REG SEER registry #> 3 18 19 MAR_STAT Marital status at diagnosis #> 4 19 21 RACE1V Race/ethnicity #> 5 22 23 NHIADE NHIA Derived Hisp Origin #> 6 23 24 SEX Sex