Currently, codebook uses the flextable package to create codebooks as a Word document. I would like to add the option of creating codebooks as HTML documents that can be hosted on, for example, GitHub pages.
[ ] Wrap the current codebook() code inside a new function codebook_word(). Keep in in codebook.R. Create a new function codebook_html() also written in codebook.R. All the codebook function does is choose one of those two function.
Currently,
codebook
uses theflextable
package to create codebooks as a Word document. I would like to add the option of creating codebooks as HTML documents that can be hosted on, for example, GitHub pages.codebook()
code inside a new functioncodebook_word()
. Keep in incodebook.R
. Create a new functioncodebook_html()
also written incodebook.R
. All the codebook function does is choose one of those two function.