Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello,
Is there a way to create and edit RMarkdown reports using the python API?
Thanks.
Hi,
There is no API for rmarkdown reports, you can leverage project libraries and edit those via Python API and include that project library in Code report.
https://doc.dataiku.com/dss/latest/R/reusing-code.html#reusing-r-code
https://developer.dataiku.com/latest/concepts-and-examples/project-libraries.html#add-a-new-file-in-...
Thanks
Hi,
There is no API for rmarkdown reports, you can leverage project libraries and edit those via Python API and include that project library in Code report.
https://doc.dataiku.com/dss/latest/R/reusing-code.html#reusing-r-code
https://developer.dataiku.com/latest/concepts-and-examples/project-libraries.html#add-a-new-file-in-...
Thanks
Thanks,
could you provide further detail as to how to include a library in Code Report?
You would be able to include code as such in your report
library(dataiku)
dkuSourceLibR("miscfuncs.R")
do_awesome_stuff()
Note importing via dkuSourceLibR is for R code so html/markdown would have to be handled in the code report directly.
Project libraries for RMarkdown are support since DSS 9.