.fn_set_ratelimit {ffscrapr}R Documentation

Set rate limit

Description

A helper function that creates a new copy of the httr::GET function and stores it in the .ffscrapr_env hidden object

Usage

.fn_set_ratelimit(toggle = TRUE, platform, rate_number, rate_seconds)

Arguments

toggle

a logical to turn on rate_limiting if TRUE and off if FALSE

rate_number

number of calls per rate_seconds

rate_seconds

number of seconds


[Package ffscrapr version 1.4.8 Index]