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


zoltr documentation built on June 27, 2024, 5:08 p.m.