getJSON: Get JSON from an API

Description Usage Arguments Value Note Examples

View source: R/getJSON.R

Description

Get JSON from an API

Usage

1

Arguments

url

character(1). Uniform Resource Locator (URL).

Value

list.

Note

Updated 2020-01-05.

Examples

1
2
3
4
## Access the UCSC Genome Browser API.
url <- "https://api.genome.ucsc.edu/list/ucscGenomes"
json <- getJSON(url)
names(json)

acidgenomics/pipette documentation built on Sept. 27, 2021, 9:10 a.m.