salesforcer (version 0.2.2)

bind_query_resultsets: 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.