-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make codebook table work with knit2wp and/or output:github_document [feature request] #55
Comments
Hi @JanaJarecki, not sure I can solve this on my end, but I'll think about. It happens, because knitr uses the webshot packages to make an image if we don't render to HTML. Of course, you are rendering to HTML, but indirectly via Markdown. Maybe I can catch if you're doing that and spit out a non-fancy table. Or maybe you could use rmarkdown::render with |
@rubenarslan thank you for the answer, clarifications, and suggestions. Anything I can do here? Quick Feedback: |
Different Question: In your the tutorial - https://rubenarslan.github.io/codebook/articles/codebook.html#codebook-table-1 - you just uploaded the rendered HTML page, correct? No automatization involved, right? |
One very cool feature would be to make
codebook
Rmd files work withknit2wp
and/oroutput: github_document
. Particularly, the github_document version would be cool, then one could directly view a codebook on a Github repo and e.g. sync it with the osf!Here is a sample current output: of uploading a codebook Rmd with
knit2wp
(the github_document variant produces mostly the same): http://janajarecki.com/blog/codebook-for-data-in-jarecki-rieskamp-2020/As we see, the text is pitch-perfect, but the codebook table gets transformed into a picture -- I suspect that has to do with the searchability javascript plugin of the table, but I'm not sure.
Cheers
Jana
The text was updated successfully, but these errors were encountered: