Learn R Programming

wikkitidy (version 0.1.14)

check_limit: Ensure that the limit is correct for the endpoint. Raise an error if not.

Description

Ensure that the limit is correct for the endpoint. Raise an error if not.

Usage

check_limit(limit, max)

Value

limit, assuming no errors

Arguments

limit

The limit to be added to the query

max

The maximum allowed for the given endpoint