labguru_get_by_id: Labguru get by id

View source: R/core_api_functions.R

labguru_get_by_idR Documentation

Labguru get by id

Description

Takes a type name and id and gets the information from the API.

Usage

labguru_get_by_id(
  type,
  id,
  server = Sys.getenv("LABGURU_SERVER"),
  token = Sys.getenv("LABGURU_TOKEN")
)

Arguments

type

character(1) type name of what you want to request

id

numeric(1) id indicating a experiment on labguru server

server

character(1) indicating the server URL

token

character(1) access token for API authentication

Value

parsed object

Examples

## Not run: 
labguru_get_by_id(type = "experiments",
                  id   = 1)

## End(Not run)

BioData/LabguruR documentation built on May 11, 2022, 11:46 p.m.