getWorkspaces: Noir Make a call to API to find loaded workspaces.

Description Usage Arguments Value Note Examples

View source: R/Noir.R

Description

Noir

Make a call to API to find loaded workspaces.

Usage

1

Arguments

character

The url path to workspace via API

Value

The Noir code will make call to API to gather and then create data frame of connected workspace names, samples, parameters, and populations. Otherwise returns error message.

Note

This code can be used to feed other plugins that would require this info. This code could be modified to stream info directly from the API and not writing out the data frames.

Examples

1
2
3
4
5
## Not run: 
urlWSP <- "http://localhost:4567/api/v1/workspaces/all"
getWorkspaces(urlWSP)

## End(Not run) 

jluthy/Noir documentation built on Oct. 12, 2019, 3:17 p.m.