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, item = NULL)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.
a data.frame of HFD data, freshly read in.
character string of the data product code, which is the base file name, but excluding the country code and file extension .txt. For instance, "mabRR" or "tfrVHbo". This will be passed in, potentially, by the reader.
This parse routine is based on the subjective opinions of the author...