get_output_formats: Get input format.

Description Usage Arguments Value Examples

View source: R/get_output_formats.R

Description

Check Brown Dog Service for available output formats for the given input format.

Usage

1
get_output_formats(url, inputformat, token)

Arguments

url

The URL to the Brown Dog server to use.

inputformat

The format of the input file.

token

Brown Dog access token

Value

: A string array of reachable output format extensions.

Examples

1
2
3
4
5
6
7
## Not run: 
key <- get_key("https://bd-api-dev.ncsa.illinois.edu", "your email", "password")
token <- get_token("https://bd-api-dev.ncsa.illinois.edu", key)
get_output_formats("https://bd-api-dev.ncsa.illinois.edu", "csv", 
token)

## End(Not run)

NCSABrownDog/bd.r documentation built on May 7, 2019, 6:01 p.m.