Description Usage Arguments Value Examples
View source: R/ReadingDatFiles.R
LOWER LEVEL FUNCTION - Not meant to be called on its own.
It returns a data frame with .dat data formatted for headers. All data,
including survey data, will be in the data frame. This may be used to
pull a list of all employer IDs in a .dat file.
1 | read.dat.headers(Path, RemoveFiller = TRUE, OnlyFirstHeader = FALSE)
|
Path |
File path to a .dat file |
RemoveFiller |
A boolean indicating if the filler fields should be removed |
OnlyFirstHeader |
A boolean indicating if only the first line of the header should be returned. Useful for working with .dat files with only one employer ID. |
A data frame with information formatted using the header schema from a .dat file
1 | read.dat.header("c:/example/example/datfile.dat")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.