knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(slobr) # For this tutorial we will use a demo database that is contained within the package slobr::run_slobr("demo")
The app will open in a browser window.
1 - Under 'Table Selection', choose 'Table 1'
knitr::include_graphics(paste0(getwd(), "/figures/tut-1.png"))
2 - Select the cell in the table that you would like to populate with a flob, then click 'write cell'
knitr::include_graphics(paste0(getwd(), "/figures/tut-2.png"))
3 - Choose a file and once slobr has indicated that the upload is complete, click 'write'
knitr::include_graphics(paste0(getwd(), "/figures/tut-3.png"))
In some cases, you may need to add a new column in which to store flobs. Take for example the 'RwsData' table, which does not yet have a flob column.
1 - Click 'other options', then 'add column',
knitr::include_graphics(paste0(getwd(), "/figures/tut-4.png"))
2 - Give the new column a name and click 'add column',
knitr::include_graphics(paste0(getwd(), "/figures/tut-5.png"))
3 - You now have a flob column and can populate it as usual.
knitr::include_graphics(paste0(getwd(), "/figures/tut-6.png"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.