HFDparse | R Documentation |
called by readHFD()
and readHFDweb()
. We assume there are no factors in the given data.frame and that it has been read in from the raw text files using something like: read.table(file = filepath, header = TRUE, skip = 2, na.strings = ".", as.is = TRUE)
. This function is visible to users, but is not likely needed directly.
HFDparse(DF)
DF |
a data.frame of HFD data, freshly read in. |
This parse routine is based on the subjective opinions of the author...
DF same data.frame, modified so that columns are of a useful class. If there were open age categories, such as "-"
or "+"
, this information is stored in a new dummy column called OpenInterval
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.