SaveRuuviAsJson data as json

SaveRuuviAsJson(data, pathRuuviExport = NULL, filenamejson = NULL)

Arguments

data

data

pathRuuviExport

path to json file

filenamejson

clean.field.names

Value

This function returns N ruuvi exports (in the selected folder) as one data frame object.

Examples

if (FALSE) { 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 }