Learn R Programming

tidytuesdayR (version 1.0.3)

rate_limit_check: Get Rate limit left for GitHub Calls

Description

The GitHub API limits the number of requests that can be sent within an hour. This function returns the stored rate limits that are remaining.

Usage

rate_limit_check(n = 10, quiet = FALSE)

Value

return the number of calls are remaining as a numeric values

Arguments

n

number of requests that triggers a warning indicating the user is close to the limit

quiet

should messages be returned when the rate limit is zero or less than n?

Examples

Run this code

rate_limit_check()

Run the code above in your browser using DataLab