Learn R Programming

OnboardClient (version 1.0.0)

get_points_by_ids: Points by ID

Description

Queries data points by their ids.

Usage

get_points_by_ids(id)

Value

A data.frame of the requested points, or an empty list if there are no points with those ids.

Arguments

id

Integer or list of integers. One or many point ids.

Examples

Run this code
if (FALSE) {
points <- get_points_by_ids(c(10000,10001))

# If you are using the point selector function:
query <- PointSelector()

query$buildings <- 101
query$equipment_types <- 'ahu'
query$point_types <- c('Supply Air Temperature','Supply Air Static Pressure')

selection <- select_points(query)

points <- get_points_by_ids(selection$points)
}

Run the code above in your browser using DataLab