grabclean | R Documentation |
if column names do not match up make sure there is only one "date" column
grabclean(yearmon, tofile = FALSE, fdir = getOption("fdir"))
yearmon |
numeric survey date in yyyymm format |
tofile |
logical save output to file |
fdir |
character file path to local data directory |
If streaming data does not exist for a particular data/time pull averages for the previous minute (if data exists).
## Not run: res <- grabclean(yearmon = 201402, tofile = FALSE) res <- grabclean(yearmon = 200808, tofile = FALSE) res <- grabclean(yearmon = 201212, tofile = FALSE) res <- grabclean(yearmon = 201007, tofile = FALSE) res <- grabclean(yearmon = 201004, tofile = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.