Description Usage Arguments See Also Examples
Reads a SAS sas7bdat
file using haven::read_sas and then applies the
labels given in the formats file (containing PROC FORMAT
statements).
The labels use labelled::labelled and may be coerced to factors if desired.
1 2 3 4 5 6 7 8 |
file_bdat |
Path to the |
file_format |
Path to the SAS formats file to be read by read_proc_format |
as_factor |
Convert labelled variables to factor with haven::as_factor? |
missing_values |
Possible SAS values that should be treated as missing. |
debug_level |
Default is |
... |
Arguments passed on to
|
Other SAS helper functions:
add_proc_format_labels()
,
read_proc_format()
1 2 3 4 | ## Not run:
read_sas_with_format("freepsa_data_feb16_d080516.sas7bdat", "freepsa.sas_formats.feb16.d080516.sas")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.