repos: Get repositories

Description Usage Arguments Value Examples

View source: R/repositories.R

Description

Get repositories

Usage

1
2
3
4
repos(id = NULL, parse = TRUE, ...)

repos_accessions(repo_id = NULL, page = 1, limit = 10, parse = TRUE,
  ...)

Arguments

id

(integer) location identifier. optional

parse

(logical) Attempt to parse to data.frame's if possible. Default: TRUE

...

Curl options passed on to GET or POST

repo_id

(integer) repository identifier. required

page

(character) page number (default: 1), optional

limit

(character) records to return (default: 10, minimum: 10), optional

Value

either a data.frame or a list

Examples

1
2
3
4
5
6
7
8
## Not run: 
repos()
repos(id = 1)

# doesn't work
# repos_accessions(1)

## End(Not run)

ropenscilabs/aspacer documentation built on Jan. 29, 2018, 10:45 a.m.