get.private: A function to retrieve data from BOLD using the Private API

View source: R/get.private.R

get.privateR Documentation

A function to retrieve data from BOLD using the Private API

Description

This function retrieves data from BOLD using the private API. The user can access both public data and their own private data using this function.

Usage

get.private(record.codes, token)

Arguments

record.codes

A vector of dataset codes or project codes

token

A valid token obtained from loging in to BOLD.

Value

A dataframe of records obtaiend through the private API corresponding to the record.codes parameter entered into the function.

Author(s)

Nishan Mudalige

Examples

## token <- login.bold("username")

## example.df <- get.private("ACAGA", token)
## example.df

## example.df <- get.private(c("ACAGA","CCANN","PRT"), token)
## example.df

nishanmudalige/BOLD.R documentation built on July 15, 2022, 3:33 a.m.