get_api_df: Query either of the Covid-19Indicators tables (Resources or...

Description Usage Details

Description

The API has limit on the length of URL it can accept. This function uses a (trial-and-error) limit on the number of IDs to meet this constraint and sends multiple request (split on ResourceIDs) if necessary.

Usage

1
get_api_df(table_name, ResourceIDs, extra_filter = "")

Details

TODO: change so it checks the length of URL to determine number of requests


xaviermiles/portalLite documentation built on Jan. 28, 2022, 9:10 a.m.