Skip to contents

Make a request to the referencetables/divrectypes/ endpoint to retrieve a reference table of diversion record types available. The reference table functions can help provide information to use while querying other endpoints.

Usage

get_ref_divrectypes(divrectype = NULL, api_key = NULL)

Arguments

divrectype

character, (optional) diversion record type to query, if no divrectype is given, a dataframe with all diversion record types is returned.

api_key

character, (optional). If more than maximum number of requests per day is desired, an API key can be obtained from CDSS.

Value

dataframe of diversion record types