senseFoI: Load FeatureOfInterest data from SensorThings APIs

Description Usage Arguments Value Examples

Description

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

Usage

1

Arguments

url

A SensorThings API base url (string!)

Value

A "foiObject" dataframe containing data from url/FeaturesOfInterest

Examples

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

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

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

## End(Not run)

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