response_data {ArctosR} | R Documentation |
Get query records as a data frame
Description
Obtain the data frame with the records from a successful query.
Usage
response_data(query)
Arguments
query |
The query object to extract the data frame from. |
Value
A data frame with the information requested in the query.
Examples
library(ArctosR)
# Request to download all available data
query <- get_records(
scientific_name = "Canis lupus", guid_prefix = "MSB:Mamm",
columns = list("guid", "parts", "partdetail")
)
# Grab the dataframe of records from the query
df <- response_data(query)
[Package ArctosR version 0.1.1 Index]