Learn R Programming

rnassqs (version 0.6.3)

nassqs_check: Check the response.

Description

Check that the response is valid, i.e. that it doesn't exceed 50,000 records and that all the parameter values are valid. This is used to ensure that the query is valid before querying to reduce wait times before receiving an error.

Usage

nassqs_check(response)

Value

nothing if check is passed, or an informative error if not passed.

Arguments

response

a httr::GET() request result returned from the API.