locations: Get locations

Description Usage Arguments Value Examples

View source: R/locations.R

Description

Get locations

Usage

1
locations(id = NULL, page = 1, limit = 10, parse = TRUE, ...)

Arguments

id

(integer) location identifier. optional

page

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

limit

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

parse

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

...

Curl options passed on to GET or POST

Value

either a data.frame or a list

Examples

1
2
3
4
5
6
## Not run: 
locations()
locations(id = 3)
locations(id = 3, parse = FALSE)

## End(Not run)

ropenscilabs/aspacer documentation built on Sept. 3, 2020, 5:30 a.m.