Closed kylebaron closed 3 years ago
To generate the data frame underlying the table:
yspec::lscape_table(spec)
If you pass pmtable = TRUE it will return the same object that comes out of pt_cont_wide() or pt_data_inventory() for example.
pmtable = TRUE
pt_cont_wide()
pt_data_inventory()
You can pass that to pmtables::stable_long() and then st_asis() to get it to show up in the Rmd.
pmtables::stable_long()
st_asis()
I was thinking of making a template intempl for data definitions and just knit these tables in Rstudio; maybe as a parameterized Rmd document.
templ
To generate the data frame underlying the table:
If you pass
pmtable = TRUE
it will return the same object that comes out ofpt_cont_wide()
orpt_data_inventory()
for example.You can pass that to
pmtables::stable_long()
and thenst_asis()
to get it to show up in the Rmd.I was thinking of making a template in
templ
for data definitions and just knit these tables in Rstudio; maybe as a parameterized Rmd document.