bind_query_resultsets: Bind the results of paginated queries

View source: R/utils-query.R

bind_query_resultsetsR Documentation

Bind the results of paginated queries

Description

This function accepts two tbl_df arguments that should represent the data frames returned by two different paginated API requests. It will throw an error if the data frames cannot be bound as-is because of mismatched types and encourage the user to set other arguments in sf_query() to work through the issues.

Usage

bind_query_resultsets(resultset, next_records)

Arguments

resultset

tbl_df; the first data frame to combine

next_records

tbl_df; the second data frame where any columns matched by name have the same datatype as the data frame provided to the resultset argument, otherwise, the call will fail with an error message.

Value

tbl_df of the results combined with next records, if successful.

Note

This function is meant to be used internally. Only use when debugging.


salesforcer documentation built on March 18, 2022, 6:26 p.m.