R/getProperties.R

Defines functions getProperties

Documented in getProperties

getProperties <- function(mapper) {
    capabilities <- mapper$getCapabilities()
    keys <- sapply(capabilities$getKeys(), function(key) key$toString())
    values <- c()
    for (key in keys) {
        values <- c(values, capabilities$getProperty(key))
    }
    data.frame(
        property = keys,
        value    = values
    )
}
egonw/BridgeDbR documentation built on Nov. 8, 2024, 4:21 a.m.