# Load your libraries here library('qcoder') library('dplyr') library('pander')
# Put the exact code that this report should be about inside of quotation marks. # Example "gender" code_to_report_on <- CODE # This can be copied from the qcode() application. Include quotation marks. project_path <- PATH_TO_PROJECT_HERE
# Do the code work project_name <- basename(project_path) docs_df_path <- paste0(project_path, "/data_frames/qcoder_documents_", project_name, ".rds") codes_df_path <- paste0(project_path, "/data_frames/qcoder_codes_", project_name, ".rds") text_df <- readRDS(docs_df_path) parsed <- qcoder::parse_qcodes(text_df) parsed <- parsed %>% dplyr::filter(qcode == code_to_report_on) %>% dplyr::select(doc, text)
r project_name
r code_to_report_on
pander::pander(parsed)
Type your text here.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.