get_resource: Get JSON for a resource (URL). Authenticates if necessary

View source: R/connection.R

get_resourceR Documentation

Get JSON for a resource (URL). Authenticates if necessary

Description

Get JSON for a resource (URL). Authenticates if necessary

Usage

get_resource(zoltar_connection, url, col_types = NULL)

Arguments

zoltar_connection

A ZoltarConnection object as returned by new_connection()

url

A string of the resource's URL

col_types

Same as readr::read_csv takes

Value

A list that contains JSON information for the passed URL


reichlab/zoltr documentation built on April 13, 2024, 2:13 a.m.