Render a question registry as the standard notebook table
Source:R/questions.R
questions_datatable.RdThe ## Questions for Data Providers section every ingest notebook ends with.
One call so the 16 notebooks cannot show different columns in different orders
— which they did, each with its own hand-written priority factor.
Arguments
- x
a path to a
questions.csv, or a data.frame fromread_questions()- caption
table caption
- page_length
rows per page
Value
A DT::datatable() htmlwidget.
Details
Columns that are empty for every question are dropped, so a dataset with no answers yet does not render two blank columns.
Examples
if (FALSE) { # \dontrun{
questions_datatable(here::here(cc$questions_file))
} # }