Skip to contents

Print the prior table

Usage

ov_print_history_table(history_table, team, setter_id)

Arguments

history_table

data.frame: the prior_table component of the object returned by ov_create_history_table()

team

string: team name

setter_id

string: setter_id

Examples

hist_dvw <- ovdata_example("190301_kats_beds")
history_table <- ov_create_history_table(dvw = hist_dvw, attack_by = "zone")
team = history_table$prior_table$team[1]
setter_id = history_table$prior_table$setter_id[1]
ov_print_history_table(history_table, team, setter_id)
#> Warning: The `fmt_missing()` function is deprecated and will soon be removed
#> * Use the `sub_missing()` function instead
#> <div id="stemainzdu" style="overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
#>   <style>html {
#>   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;
#> }
#> 
#> #stemainzdu .gt_table {
#>   display: table;
#>   border-collapse: collapse;
#>   margin-left: auto;
#>   margin-right: auto;
#>   color: #333333;
#>   font-size: 16px;
#>   font-weight: normal;
#>   font-style: normal;
#>   background-color: #FFFFFF;
#>   width: auto;
#>   border-top-style: solid;
#>   border-top-width: 2px;
#>   border-top-color: #A8A8A8;
#>   border-right-style: none;
#>   border-right-width: 2px;
#>   border-right-color: #D3D3D3;
#>   border-bottom-style: solid;
#>   border-bottom-width: 2px;
#>   border-bottom-color: #A8A8A8;
#>   border-left-style: none;
#>   border-left-width: 2px;
#>   border-left-color: #D3D3D3;
#> }
#> 
#> #stemainzdu .gt_heading {
#>   background-color: #FFFFFF;
#>   text-align: center;
#>   border-bottom-color: #FFFFFF;
#>   border-left-style: none;
#>   border-left-width: 1px;
#>   border-left-color: #D3D3D3;
#>   border-right-style: none;
#>   border-right-width: 1px;
#>   border-right-color: #D3D3D3;
#> }
#> 
#> #stemainzdu .gt_title {
#>   color: #333333;
#>   font-size: 125%;
#>   font-weight: initial;
#>   padding-top: 4px;
#>   padding-bottom: 4px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#>   border-bottom-color: #FFFFFF;
#>   border-bottom-width: 0;
#> }
#> 
#> #stemainzdu .gt_subtitle {
#>   color: #333333;
#>   font-size: 85%;
#>   font-weight: initial;
#>   padding-top: 0;
#>   padding-bottom: 6px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#>   border-top-color: #FFFFFF;
#>   border-top-width: 0;
#> }
#> 
#> #stemainzdu .gt_bottom_border {
#>   border-bottom-style: solid;
#>   border-bottom-width: 2px;
#>   border-bottom-color: #D3D3D3;
#> }
#> 
#> #stemainzdu .gt_col_headings {
#>   border-top-style: solid;
#>   border-top-width: 2px;
#>   border-top-color: #D3D3D3;
#>   border-bottom-style: solid;
#>   border-bottom-width: 2px;
#>   border-bottom-color: #D3D3D3;
#>   border-left-style: none;
#>   border-left-width: 1px;
#>   border-left-color: #D3D3D3;
#>   border-right-style: none;
#>   border-right-width: 1px;
#>   border-right-color: #D3D3D3;
#> }
#> 
#> #stemainzdu .gt_col_heading {
#>   color: #333333;
#>   background-color: #FFFFFF;
#>   font-size: 100%;
#>   font-weight: normal;
#>   text-transform: inherit;
#>   border-left-style: none;
#>   border-left-width: 1px;
#>   border-left-color: #D3D3D3;
#>   border-right-style: none;
#>   border-right-width: 1px;
#>   border-right-color: #D3D3D3;
#>   vertical-align: bottom;
#>   padding-top: 5px;
#>   padding-bottom: 6px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#>   overflow-x: hidden;
#> }
#> 
#> #stemainzdu .gt_column_spanner_outer {
#>   color: #333333;
#>   background-color: #FFFFFF;
#>   font-size: 100%;
#>   font-weight: normal;
#>   text-transform: inherit;
#>   padding-top: 0;
#>   padding-bottom: 0;
#>   padding-left: 4px;
#>   padding-right: 4px;
#> }
#> 
#> #stemainzdu .gt_column_spanner_outer:first-child {
#>   padding-left: 0;
#> }
#> 
#> #stemainzdu .gt_column_spanner_outer:last-child {
#>   padding-right: 0;
#> }
#> 
#> #stemainzdu .gt_column_spanner {
#>   border-bottom-style: solid;
#>   border-bottom-width: 2px;
#>   border-bottom-color: #D3D3D3;
#>   vertical-align: bottom;
#>   padding-top: 5px;
#>   padding-bottom: 5px;
#>   overflow-x: hidden;
#>   display: inline-block;
#>   width: 100%;
#> }
#> 
#> #stemainzdu .gt_group_heading {
#>   padding-top: 8px;
#>   padding-bottom: 8px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#>   color: #333333;
#>   background-color: #FFFFFF;
#>   font-size: 100%;
#>   font-weight: initial;
#>   text-transform: inherit;
#>   border-top-style: solid;
#>   border-top-width: 2px;
#>   border-top-color: #D3D3D3;
#>   border-bottom-style: solid;
#>   border-bottom-width: 2px;
#>   border-bottom-color: #D3D3D3;
#>   border-left-style: none;
#>   border-left-width: 1px;
#>   border-left-color: #D3D3D3;
#>   border-right-style: none;
#>   border-right-width: 1px;
#>   border-right-color: #D3D3D3;
#>   vertical-align: middle;
#> }
#> 
#> #stemainzdu .gt_empty_group_heading {
#>   padding: 0.5px;
#>   color: #333333;
#>   background-color: #FFFFFF;
#>   font-size: 100%;
#>   font-weight: initial;
#>   border-top-style: solid;
#>   border-top-width: 2px;
#>   border-top-color: #D3D3D3;
#>   border-bottom-style: solid;
#>   border-bottom-width: 2px;
#>   border-bottom-color: #D3D3D3;
#>   vertical-align: middle;
#> }
#> 
#> #stemainzdu .gt_from_md > :first-child {
#>   margin-top: 0;
#> }
#> 
#> #stemainzdu .gt_from_md > :last-child {
#>   margin-bottom: 0;
#> }
#> 
#> #stemainzdu .gt_row {
#>   padding-top: 8px;
#>   padding-bottom: 8px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#>   margin: 10px;
#>   border-top-style: solid;
#>   border-top-width: 1px;
#>   border-top-color: #D3D3D3;
#>   border-left-style: none;
#>   border-left-width: 1px;
#>   border-left-color: #D3D3D3;
#>   border-right-style: none;
#>   border-right-width: 1px;
#>   border-right-color: #D3D3D3;
#>   vertical-align: middle;
#>   overflow-x: hidden;
#> }
#> 
#> #stemainzdu .gt_stub {
#>   color: #333333;
#>   background-color: #FFFFFF;
#>   font-size: 100%;
#>   font-weight: initial;
#>   text-transform: inherit;
#>   border-right-style: solid;
#>   border-right-width: 2px;
#>   border-right-color: #D3D3D3;
#>   padding-left: 5px;
#>   padding-right: 5px;
#> }
#> 
#> #stemainzdu .gt_stub_row_group {
#>   color: #333333;
#>   background-color: #FFFFFF;
#>   font-size: 100%;
#>   font-weight: initial;
#>   text-transform: inherit;
#>   border-right-style: solid;
#>   border-right-width: 2px;
#>   border-right-color: #D3D3D3;
#>   padding-left: 5px;
#>   padding-right: 5px;
#>   vertical-align: top;
#> }
#> 
#> #stemainzdu .gt_row_group_first td {
#>   border-top-width: 2px;
#> }
#> 
#> #stemainzdu .gt_summary_row {
#>   color: #333333;
#>   background-color: #FFFFFF;
#>   text-transform: inherit;
#>   padding-top: 8px;
#>   padding-bottom: 8px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#> }
#> 
#> #stemainzdu .gt_first_summary_row {
#>   border-top-style: solid;
#>   border-top-color: #D3D3D3;
#> }
#> 
#> #stemainzdu .gt_first_summary_row.thick {
#>   border-top-width: 2px;
#> }
#> 
#> #stemainzdu .gt_last_summary_row {
#>   padding-top: 8px;
#>   padding-bottom: 8px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#>   border-bottom-style: solid;
#>   border-bottom-width: 2px;
#>   border-bottom-color: #D3D3D3;
#> }
#> 
#> #stemainzdu .gt_grand_summary_row {
#>   color: #333333;
#>   background-color: #FFFFFF;
#>   text-transform: inherit;
#>   padding-top: 8px;
#>   padding-bottom: 8px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#> }
#> 
#> #stemainzdu .gt_first_grand_summary_row {
#>   padding-top: 8px;
#>   padding-bottom: 8px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#>   border-top-style: double;
#>   border-top-width: 6px;
#>   border-top-color: #D3D3D3;
#> }
#> 
#> #stemainzdu .gt_striped {
#>   background-color: rgba(128, 128, 128, 0.05);
#> }
#> 
#> #stemainzdu .gt_table_body {
#>   border-top-style: solid;
#>   border-top-width: 2px;
#>   border-top-color: #D3D3D3;
#>   border-bottom-style: solid;
#>   border-bottom-width: 2px;
#>   border-bottom-color: #D3D3D3;
#> }
#> 
#> #stemainzdu .gt_footnotes {
#>   color: #333333;
#>   background-color: #FFFFFF;
#>   border-bottom-style: none;
#>   border-bottom-width: 2px;
#>   border-bottom-color: #D3D3D3;
#>   border-left-style: none;
#>   border-left-width: 2px;
#>   border-left-color: #D3D3D3;
#>   border-right-style: none;
#>   border-right-width: 2px;
#>   border-right-color: #D3D3D3;
#> }
#> 
#> #stemainzdu .gt_footnote {
#>   margin: 0px;
#>   font-size: 90%;
#>   padding-left: 4px;
#>   padding-right: 4px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#> }
#> 
#> #stemainzdu .gt_sourcenotes {
#>   color: #333333;
#>   background-color: #FFFFFF;
#>   border-bottom-style: none;
#>   border-bottom-width: 2px;
#>   border-bottom-color: #D3D3D3;
#>   border-left-style: none;
#>   border-left-width: 2px;
#>   border-left-color: #D3D3D3;
#>   border-right-style: none;
#>   border-right-width: 2px;
#>   border-right-color: #D3D3D3;
#> }
#> 
#> #stemainzdu .gt_sourcenote {
#>   font-size: 90%;
#>   padding-top: 4px;
#>   padding-bottom: 4px;
#>   padding-left: 5px;
#>   padding-right: 5px;
#> }
#> 
#> #stemainzdu .gt_left {
#>   text-align: left;
#> }
#> 
#> #stemainzdu .gt_center {
#>   text-align: center;
#> }
#> 
#> #stemainzdu .gt_right {
#>   text-align: right;
#>   font-variant-numeric: tabular-nums;
#> }
#> 
#> #stemainzdu .gt_font_normal {
#>   font-weight: normal;
#> }
#> 
#> #stemainzdu .gt_font_bold {
#>   font-weight: bold;
#> }
#> 
#> #stemainzdu .gt_font_italic {
#>   font-style: italic;
#> }
#> 
#> #stemainzdu .gt_super {
#>   font-size: 65%;
#> }
#> 
#> #stemainzdu .gt_two_val_uncert {
#>   display: inline-block;
#>   line-height: 1em;
#>   text-align: right;
#>   font-size: 60%;
#>   vertical-align: -0.25em;
#>   margin-left: 0.1em;
#> }
#> 
#> #stemainzdu .gt_footnote_marks {
#>   font-style: italic;
#>   font-weight: normal;
#>   font-size: 75%;
#>   vertical-align: 0.4em;
#> }
#> 
#> #stemainzdu .gt_asterisk {
#>   font-size: 100%;
#>   vertical-align: 0;
#> }
#> 
#> #stemainzdu .gt_slash_mark {
#>   font-size: 0.7em;
#>   line-height: 0.7em;
#>   vertical-align: 0.15em;
#> }
#> 
#> #stemainzdu .gt_fraction_numerator {
#>   font-size: 0.6em;
#>   line-height: 0.6em;
#>   vertical-align: 0.45em;
#> }
#> 
#> #stemainzdu .gt_fraction_denominator {
#>   font-size: 0.6em;
#>   line-height: 0.6em;
#>   vertical-align: -0.05em;
#> }
#> </style>
#>   <table class="gt_table">
#>   
#>   <thead class="gt_col_headings">
#>     <tr>
#>       <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1"></th>
#>       <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1">2</th>
#>       <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1">8</th>
#>       <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1">9</th>
#>       <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1">4</th>
#>       <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1">3</th>
#>     </tr>
#>   </thead>
#>   <tbody class="gt_table_body">
#>     <tr class="gt_group_heading_row">
#>       <td colspan="6" class="gt_group_heading">4</td>
#>     </tr>
#>     <tr class="gt_row_group_first"><td class="gt_row gt_right gt_stub">Perfect</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #E65100; color: #FFFFFF;">1</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td></tr>
#>     <tr><td class="gt_row gt_right gt_stub">Good</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #E65100; color: #FFFFFF;">1</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td></tr>
#>     <tr><td class="gt_row gt_right gt_stub">Poor</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFF3E0; color: #000000;">0</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td></tr>
#>     <tr class="gt_group_heading_row">
#>       <td colspan="6" class="gt_group_heading">5</td>
#>     </tr>
#>     <tr class="gt_row_group_first"><td class="gt_row gt_right gt_stub">Perfect</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #E65100; color: #FFFFFF;">1</td></tr>
#>     <tr><td class="gt_row gt_right gt_stub">Poor</td>
#> <td class="gt_row gt_center" style="background-color: #FFF3E0; color: #000000;">0</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFF3E0; color: #000000;">0</td></tr>
#>     <tr class="gt_group_heading_row">
#>       <td colspan="6" class="gt_group_heading">6</td>
#>     </tr>
#>     <tr class="gt_row_group_first"><td class="gt_row gt_right gt_stub">Perfect</td>
#> <td class="gt_row gt_center" style="background-color: #E65100; color: #FFFFFF;">1</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td></tr>
#>     <tr><td class="gt_row gt_right gt_stub">Good</td>
#> <td class="gt_row gt_center" style="background-color: #FFF3E0; color: #000000;">0</td>
#> <td class="gt_row gt_center" style="background-color: #E65100; color: #FFFFFF;">1.0</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #E65100; color: #FFFFFF;">1</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td></tr>
#>     <tr><td class="gt_row gt_right gt_stub">OK</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFF3E0; color: #000000;">0.0</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td></tr>
#>     <tr><td class="gt_row gt_right gt_stub">Poor</td>
#> <td class="gt_row gt_center" style="background-color: #FFF3E0; color: #000000;">0</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFF3E0; color: #000000;">0</td>
#> <td class="gt_row gt_center" style="background-color: #FFF3E0; color: #000000;">0</td></tr>
#>     <tr class="gt_group_heading_row">
#>       <td colspan="6" class="gt_group_heading">1</td>
#>     </tr>
#>     <tr class="gt_row_group_first"><td class="gt_row gt_right gt_stub">Good</td>
#> <td class="gt_row gt_center" style="background-color: #E65100; color: #FFFFFF;">1</td>
#> <td class="gt_row gt_center" style="background-color: #FFA018; color: #000000;">0.5</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td></tr>
#>     <tr class="gt_group_heading_row">
#>       <td colspan="6" class="gt_group_heading">2</td>
#>     </tr>
#>     <tr class="gt_row_group_first"><td class="gt_row gt_right gt_stub">Good</td>
#> <td class="gt_row gt_center" style="background-color: #E65100; color: #FFFFFF;">1</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #E65100; color: #FFFFFF;">1</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td></tr>
#>     <tr><td class="gt_row gt_right gt_stub">Poor</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFF3E0; color: #000000;">0</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td></tr>
#>     <tr class="gt_group_heading_row">
#>       <td colspan="6" class="gt_group_heading">3</td>
#>     </tr>
#>     <tr class="gt_row_group_first"><td class="gt_row gt_right gt_stub">Poor</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td>
#> <td class="gt_row gt_center" style="background-color: #FFF3E0; color: #000000;">0</td>
#> <td class="gt_row gt_center" style="background-color: #FFFFFF; color: #000000;">.</td></tr>
#>   </tbody>
#>   
#>   
#> </table>
#> </div>