getProtocol: Retrieve metadata for a particular Labstep Protocol

Description Usage Arguments Value Examples

View source: R/getProtocol.R

Description

This function allows you to retrieve metadata for a single protocol

Usage

1
getProtocol(user, id)

Arguments

user

A labstep user object. Must contain an 'api_key' field. Returned from 'login' command

id

ID of the protocol to retrieve

Value

Returns a 'protocol' object

Examples

1
2
3
user <- login("demo@labstep.com","demopassword")
protocol <- getProtocol(user,6140)
print(protocol)

Labstep/labstepR documentation built on Jan. 30, 2020, 7:11 p.m.