Description Usage Arguments Value Examples
View source: R/ruuvifunctions.R
SaveRuuviAsJson data as json
1 | SaveRuuviAsJson(data, pathRuuviExport = NULL, filenamejson = NULL)
|
data |
data |
pathRuuviExport |
path to json file |
filenamejson |
clean.field.names |
This function returns N ruuvi exports (in the selected folder) as one data frame object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
p <- SetupRuuviR(p = NULL, username = "talonendm", printparameters = TRUE)
rd1 <- LoadRuuviExports(
pathRuuvitag = 'C:/Users/talon_000/Dropbox/2021/ruuvi/m210829',
clean.field.names = FALSE
)
rd2 <- RuuviR::MakeDataWide(data = rd1)
SaveRuuviAsJson(data = rd2,
pathRuuviExport = p$path.json.export,
filenamejson = p$ruuvi.datetag
)
# https://dl.dropboxusercontent.com/s/ywk9qitmuq5digf/m210829.json?dl=0
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.