senseLocations: Loads Location data from SensorThings APIs

Description Usage Arguments Value Examples

Description

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

Usage

1

Arguments

url

A SensorThings API url (string!) containing the data in SensorThings web standard

Value

A "locationObject" dataframe containing data from url/Locations

Examples

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

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

a = senseLocations("http://example.sensorup.com/v1.0")
a

## End(Not run)

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