View source: R/analytics-report.R
sf_query_report | R Documentation |
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.
sf_query_report(report_id, report_metadata = NULL, verbose = FALSE)
report_id |
|
report_metadata |
.
|
verbose |
|
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.
tbl_df
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.