sf_query_report {salesforcer} | R Documentation |
Get Report Data without Saving Changes to or Creating a Report
Description
Run a report without creating a new report or changing the existing one by making a POST request to the query resource. This allows you to get report data without filling up your Org with unnecessary reports.
Usage
sf_query_report(report_id, report_metadata = NULL, verbose = FALSE)
Arguments
report_id |
|
report_metadata |
.
|
verbose |
|
Details
Note that you can query a report's data simply by providing its Id
.
However, the data will only be the detailed data from the tabular format
with no totals or other metadata. If you would like more control, for example,
filtering the results or grouping them in specific ways, then you will need
to specify a list to the report_metadata
argument. The report_metadata
argument requires specific knowledge on the structure the reportMetadata
property of a report. For more information, please review the Salesforce documentation
in detail HERE.
Additional references are provided in the "See Also"
section.
Value
tbl_df
Salesforce Documentation
See Also
Other Report functions:
sf_copy_report()
,
sf_create_report()
,
sf_delete_report()
,
sf_describe_report_type()
,
sf_describe_report()
,
sf_execute_report()
,
sf_list_report_fields()
,
sf_list_report_filter_operators()
,
sf_list_report_types()
,
sf_list_reports()
,
sf_run_report()
,
sf_update_report()