| sanitiseTable | R Documentation | 
Sanitise a data table by restricting the number of rows or characters and rounding numeric columns.
sanitiseTable(x, maxRows = 5000, sigFig = 3, maxCharacters = 100)
| x | a tibble or data.frame containing the data to be sanitised | 
| maxRows | the maximum number of rows with which to restrict the table size | 
| sigFig | the significant figures with which to round numeric columns | 
| maxCharacters | the maximum number of characters allowed in a string before it is truncated | 
A sanitised tibble or data.frame.
sanitiseTable(iris,maxRows = 10,sigFig = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.