get_resource {zoltr}R 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


[Package zoltr version 1.0.1 Index]