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.
get_data(base_url, api_key, guid)
The base URL of the Junar service
The user's API key for the Junar service
The GUID of the data set of interest
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.