View source: R/get_RMIS_data.R
get_RMIS_data | R Documentation |
get_RMIS_data
downloads data from the RMIS API returning
data for the specified agency and module. Restricted to returning a maximum
of 1000 records. If 1000 records are returned, more data should exist on
subsequent pages (Recommendation: increment your page argument).
get_RMIS_data(
api_key,
agency = c("NPT", "ADFG", "CCT", "CDFO", "CDFW", "CDFWKT", "CRITFC", "IDFG", "NMFS",
"NMFSNWR", "NWIFC", "ODFW", "QDNR", "QUIL", "RMPC", "STIL", "USFWS", "WDFW", "YAKA",
"YTFP"),
module = c("release", "location", "files", "recovery", "catchsample", "description"),
page = 1,
perpage = 1000
)
api_key |
unique access key obtained from RMIS. |
agency |
desired return agency |
module |
desired module to get data from |
page |
desired page to return (default: 1) |
perpage |
Number of records returned 1-1000 (default: 1000) |
data frame containing RMIS data from selected module
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.