following_cursor: A Decorator for Following Response Cursor

View source: R/iss.R

following_cursorR Documentation

A Decorator for Following Response Cursor

Description

Iterative queries will be issued to fetch all section pages as indicated by ⁠<section>.cursor⁠; the cursor section itself will be removed from the response.

Usage

following_cursor(query_iss_fn)

Arguments

query_iss_fn

A function object corresponding to query_iss.

Value

Decorated query_iss_fn.

Examples

## Not run: 
following_cursor(query_iss)(
    'history/engines/stock/markets/shares/securities/MOEX',
    params = list(
        from = '2021-09-01',
        till = '2021-12-31',
        start = 10
    )
)

## End(Not run)

moexer documentation built on May 29, 2024, 11:14 a.m.