makeThingLocation: Create a "thingLocation" data frame

Description Usage Arguments Value Examples

View source: R/locations.R

Description

Creates a data frame from a previously parsed SensorThings JSON location object with the added class "thingLocation"

Usage

1
makeThingLocation(locationDF)

Arguments

locationDF

A data frame created using senseLocations (formatted according to SensorThings API)

Value

Dataframe of classes "thingLocation" and "mapThing"

Examples

1
2
3
n = senseLocations("http://example.sensorup.com/v1.0")
u = makeThingLocation(n)
head(u)

danji90/sensorThings4R documentation built on May 29, 2019, 1:52 a.m.