parse_report_detail_rows | R Documentation |
This function accepts a list that is directly returned by the API and further
parses it to return a single tbl_df
representing the detail rows and
columns of the report without any filters, aggregates, or totals.
parse_report_detail_rows(
content,
fact_map_key = "T!T",
labels = TRUE,
guess_types = TRUE,
bind_using_character_cols = deprecated()
)
content |
|
fact_map_key |
|
labels |
|
guess_types |
|
bind_using_character_cols |
|
tbl_df
; a data frame representing the detail rows of a parsed
report result HTTP response where the rows represent each row in the report
and the columns represent the detail columns.
Below are the fact map key patterns for three report types:
T!T
: The grand total of a report. Both record data
values and the grand total are represented by this key.
<First level row grouping_second level row grouping_third
level row grouping>!T
: T refers to the row grand total.
<First level row grouping_second level row grouping>!<First
level column grouping_second level column grouping>.
Each item in a row or column grouping is numbered starting with 0. Here are some examples of fact map keys:
The first item in the first-level grouping.
The second item in the first-level grouping.
The first item in the first-level grouping and the first item in the second-level grouping.
The first item in the first-level grouping and the second item in the second-level grouping.
This function is meant to be used internally. Only use when debugging.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.