senseThings: Load Thing data from SensorThings APIs

Description Usage Arguments Value Examples

Description

This function parses Thing SensorThings JSON data and stores it in an R data frame. Contains the complete Thing data for further processing.

Usage

1

Arguments

url

A SensorThings API base url (string!)

Value

A "thingObject" dataframe containing data from url/Things

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
s1 = senseThings("https://toronto-bike-snapshot.sensorup.com/v1.0")
head(s1)

## Not run: 
s2 = senseThings("https://tasking-test.sensorup.com/v1.0")
s2

s3 = senseThings("http://example.sensorup.com/v1.0")
class(s3)

## End(Not run)

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