Learn R Programming

OnboardClient (version 1.0.0)

get_metadata: Metadata

Description

Retrieves points and equipment for a given building or selection and outputs a clean metadata data.frame.

Usage

get_metadata(buildings, selection, verbose = TRUE)

Value

A data.frame of clean metadata for the requested points.

Arguments

buildings

Integer, character, or vectors of those types, providing building id(s) or name(s). You can provide multiple buildings at once.

selection

Selection list from point selector.

verbose

Logical. If TRUE (default), print status messages.

Examples

Run this code
if (FALSE) {
metadata <- get_metadata(buildings=c(427,"Laboratory"))

OR

query <- PointSelector()

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

selection <- select_points(query)

metadata <- get_metadata(selection)
}

Run the code above in your browser using DataLab