set_reset: Set the reset time for OpenGWAS allowance

View source: R/query.R

set_resetR Documentation

Set the reset time for OpenGWAS allowance

Description

This function sets the reset time for the OpenGWAS allowance based on the retry-after header returned by the API response. It also displays a warning message indicating the time at which the allowance will reset.

Usage

set_reset(r)

Arguments

r

The API response object

Value

None


MRCIEU/ieugwasr documentation built on Aug. 22, 2024, 8:44 p.m.