bmap_set_daily_rate_limit: Set a daily rate limit for an API key.

Description Usage Arguments Value Examples

View source: R/rate_limit.R

Description

This function will save the value passed to arg "num_limit" to the pkg environment value "bmap_daily_rate_limit", which is meant to be the number of daily queries allowed for the API key currently being used (default value for "bmap_daily_rate_limit" upon pkg load is 5950). Prior to using this function, a valid API key must be registered in the current R session, using function bmap_set_key.

Usage

1

Arguments

num_limit

numeric value, number of daily API queries associated with the valid key currently being used.

Value

Function does not return a value.

Examples

1
2
3
4
## Not run: 
bmap_set_daily_rate_limit(20000)

## End(Not run)

ChrisMuir/baidugeo documentation built on Feb. 7, 2020, 5 p.m.