Reads a SEER fixed width file using the column dictionary in the provided SAS
file (see seer_read_col_positions()
for more details). Note that the results
are the raw data reported by SEER with no transformations – all fields are
imported as character strings by default. You can change this by specifying
the col_types
argument using readr column specification via
readr::cols()
, or you can set col_types = NULL
to let readr guess the
column type.
1 2 | seer_read_fwf(file, col_positions = seer_read_col_positions(), ...,
col_types = readr::cols(.default = readr::col_character()))
|
file |
Path to SEER fixed width file. |
col_positions |
SEER column positions, see |
... |
Arguments passed on to
|
col_types |
Specification for column types, default is to return all
as character strings. Use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.