Reproducible Open Coding Kit
Prepend lines with one or more class instance identifiers to one or mo...
Apply multiple DiagrammeR global graph attributes
Specify that something is a source
Conversion between base10 and base30
Taking a vector, carry value over ('persistence')
Concatenate to screen without spaces
Check for presence of a package
Get an item in a specific language
Create a heatmap showing issues with items
Convert a character vector into an utterance vector
Cleaning & editing sources
Code frequencies separate by a variable
Create a frequency histogram for codes
Import a code book specification from a spreadsheet
Convert a codebook specification to PDF
Replace code identifiers with their full paths
Get a vector to find the full paths based on the leaf code identifier
Add one or more codes to one or more sources
Convenience function to get a list of all available coding schemes
Create a coding scheme
Collapse the occurrences in utterances into groups
Create an overview of coded fragments
Compress a vector or data frame
Vector compression helper functions
Confidence intervals for proportions, vectorized over all arguments
Convert 'rectangular' or spreadsheet-format data to one or more source...
Conveniently convert vectors to numeric
Count code occurrences
Create a co-occurrence matrix
Create HTML fragment with CSS styling
Convert a document (.docx, .pdf, .odt, .rtf, or .html) to a plain text...
Expand categorical attribute variables to a series of dichotomous vari...
Expand a vector or data frame
Export the fully merged code tree(s)
Export a merged source data frame
Export a ROCK project to a single ROCKproject file
Export codes to a plain text file
Export parsed sources to HTML or Markdown
Exporting tables to HTML
Extract the codings by each coder using the coderId
Extract the UIDs (or SQUIDs) from a vector
Generate a TSSID
Generate utterance identifiers (UIDs)
Generic underlying recoding function
Get the code identifiers a code's descendents
Get the code identifiers from QNA codings
Return all values from a nested list in a dataframe
Create a filter to select utterances in a source
Get the state transition data frame
Get the Dot code for a state transition graph
Get the state transition table
Get utterances and codes from source
Return one or more values from a nested list in a list of vectors
Make a vector of strings into headings
Print a heading
Generic convenience function to create a heatmap
Import a ROCK project from a ROCKproject file
Import a source from Google Documents
Read sources from a directory, parse them, and show coded fragments an...
Load a source from a file or a string
Make a ROCK project configuration file
Masking sources
Match the corresponding indices of (YAML) delimiters in a sequential l...
Merge source files by different coders
Rename one or more codes
Convert a number to a date using Excel's system
Options for the rock package
Padd a character vector
Create an ENA network out of one or more parsed sources
Parsing sources separately for each coder
Parsing sources
Prepend a line with a TSSID to a source
Prepending unique utterance identifiers
Efficiently preprocess data
Initialize a (pre)registration
Prettify a source in HTML
Add HTML tags to a source
Plot the graphs in a list of graphs
Convert a QNA network to Linear Topic Map format
Qualitative/Unified Exploration of State Transitions
Bind lots of dataframes together rowwise
Simple alternative for rbind.fill or bind_rows
Convenience function to read spreadsheet-like files
Add child codes under a parent code
Merge two or more codes
Move one or more codes to a different parent
Split a code into multiple codes
Repeat a string a number of times
Show all coded fragments
Convert a (pre)registration form to an R Markdown template
Import a Narrative Response Model specification
rock: A Reproducible Open Coding Kit
Get the roots from a vector with code paths
Create a source with items to code for Response Process Evaluation
Save your justifications to a file
Show a table with all attributes in the RStudio viewer and/or console
Show the fully merged code tree(s)
Show the inductive code tree(s)
Soft Non-numeric Occurrence Estimation (SNOE) plot
Split long lines
Strip the root from a code path
Synchronize multiple streams
Sync (expand or compress) a vector
Create a templated report for cognitive interviews
Convert a codebook specification to PDF
Remove one or more codes
Easily parse a vector into a character value
Wordwrapping a source
Wrap all elements in a vector
Write a source to a file
Get indices of YAML delimiters
The Reproducible Open Coding Kit ('ROCK', and this package, 'rock') was developed to facilitate reproducible and open coding, specifically geared towards qualitative research methods. It was developed to be both human- and machine-readable, in the spirit of MarkDown and 'YAML'. The idea is that this makes it relatively easy to write other functions and packages to process 'ROCK' files. The 'rock' package contains functions for basic coding and analysis, such as collecting and showing coded fragments and prettifying sources, as well as a number of advanced analyses such as the Qualitative Network Approach and Qualitative/Unified Exploration of State Transitions. The 'ROCK' and this 'rock' package are described in the ROCK book (Zörgő & Peters, 2022; <https://rockbook.org>), in Zörgő & Peters (2024) <doi:10.1080/21642850.2022.2119144> and Peters, Zörgő and van der Maas (2022) <doi:10.31234/osf.io/cvf52>, and more information and tutorials are available at <https://rock.science>.