Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Note

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


salesforcer

An Implementation of 'Salesforce' APIs Using Tidy Principles

v0.2.2
MIT + file LICENSE
Authors
Steven M. Mortimer [aut, cre], Takekatsu Hiramura [ctb], Jennifer Bryan [ctb, cph], Joanna Zhao [ctb, cph]
Initial release
2020-09-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.