Description Usage Arguments Value Examples
View source: R/health-parse-functions.R
All files that correspond to the regular expression will be read and post-processed (removing blank lines, trimmed).
1 | read_healthfiles(path, filename_regex = "^health-[0-9]{4}\\.txt")
|
path |
Path where the files reside. |
filename_regex |
Regular expression that is used to match the files that should be parsed |
A character vector containting the text in the files (which usually contains a date, a time, and one or more key-value pairs).
1 | dat_txt <- read_healthfiles("/Users/name/dat_dir")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.