get_data: Get data for a given GUID

Description Usage Arguments Details

Description

Get the data for any given GUID and return it as a data frame. Note that we use the "ajson" JSON format from the API. The "JSON" format has a more complex structure.

Usage

1
get_data(base_url, api_key, guid)

Arguments

base_url

The base URL of the Junar service

api_key

The user's API key for the Junar service

guid

The GUID of the data set of interest

Details

We do use the JSON response to get the fLength value, which indicates the length of the dataset. This way we can include a fixed way to get around the default limit of 1000 rows of the Junar API.

Note that this removes all meta-data from the JSON response given by the API.


junr documentation built on May 1, 2019, 7:57 p.m.