# Reproducible Open Coding Kit

## Documentation for package ‘rock’ version 0.9.6

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package README

## Help Pages

A B C D E F G H I L M N O P Q R S T V W Y

rock-package | rock: A Reproducible Open Coding Kit

## -- A --

add_html_tags | Add HTML tags to a source
apply_graph_theme | Apply multiple DiagrammeR global graph attributes
as.rock_source | Specify that something is a source

## -- B --

base30conversion | Conversion between base10 and base30
base30toNumeric | Conversion between base10 and base30

## -- C --

carry_over_values | Taking a vector, carry value over ('persistence')
cat0 | Concatenate to screen without spaces
checkPkgs | Check for presence of a package
ci_get_item | Get an item in a specific language
ci_heatmap | Create a heatmap showing issues with items
ci_import_nrm_spec | Import a Narrative Response Model specification
cleaned_source_to_utterance_vector | Convert a character vector into an utterance vector
clean_source | Cleaning & editing sources
clean_sources | Cleaning & editing sources
codebook_fromSpreadsheet | Import a code book specification from a spreadsheet
codebook_to_pdf | Convert a codebook specification to PDF
codeIds_to_codePaths | Replace code identifiers with their full paths
codePaths_to_namedVector | Get a vector to find the full paths based on the leaf code identifier
code_freq_by | Code frequencies separate by a variable
code_freq_hist | Create a frequency histogram for codes
code_source | Add one or more codes to one or more sources
code_sources | Add one or more codes to one or more sources
codingSchemes_get_all | Convenience function to get a list of all available coding schemes
codingScheme_levine | Create a coding scheme
codingScheme_peterson | Create a coding scheme
codingScheme_willis | Create a coding scheme
collapse_occurrences | Collapse the occurrences in utterances into groups
collect_coded_fragments | Create an overview of coded fragments
compress_with_or | Vector compression helper functions
compress_with_sum | Vector compression helper functions
confIntProp | Confidence intervals for proportions, vectorized over all arguments
convertToNumeric | Conveniently convert vectors to numeric
convert_csv2_to_source | Convert 'rectangular' or spreadsheet-format data to one or more sources
convert_csv_to_source | Convert 'rectangular' or spreadsheet-format data to one or more sources
convert_df_to_source | Convert 'rectangular' or spreadsheet-format data to one or more sources
convert_sav_to_source | Convert 'rectangular' or spreadsheet-format data to one or more sources
convert_xlsx_to_source | Convert 'rectangular' or spreadsheet-format data to one or more sources
count_occurrences | Count code occurrences
create_codingScheme | Create a coding scheme
create_cooccurrence_matrix | Create a co-occurrence matrix
css | Create HTML fragment with CSS styling

## -- D --

doc_to_txt | Convert a document (.docx, .pdf, .odt, .rtf, or .html) to a plain text file

## -- E --

exampleCodebook_1 | An very rudimentary example codebook specification
expand_attributes | Expand categorical attribute variables to a series of dichotomous variables
exportToHTML | Exporting tables to HTML
export_codes_to_txt | Export codes to a plain text file
export_fullyMergedCodeTrees | Export the fully merged code tree(s)
export_mergedSourceDf_to_csv | Export a merged source data frame
export_mergedSourceDf_to_csv2 | Export a merged source data frame
export_mergedSourceDf_to_sav | Export a merged source data frame
export_mergedSourceDf_to_xlsx | Export a merged source data frame
export_ROCKproject | Export a ROCK project to a single ROCKproject file
export_to_html | Export parsed sources to HTML or Markdown
export_to_markdown | Export parsed sources to HTML or Markdown
extract_codings_by_coderId | Extract the codings by each coder using the coderId
extract_uids | Extract the UIDs (or SQUIDs) from a vector

## -- F --

form_to_rmd_template | Convert a (pre)registration form to an R Markdown template

## -- G --

generate_tssid | Generate a TSSID
generate_uids | Generate utterance identifiers (UIDs)
generic_recoding | Generic underlying recoding function
get | Options for the rock package
get_childCodeIds | Get the code identifiers a code's descendents
get_codeIds_from_qna_codings | Get the code identifiers from QNA codings
get_dataframe_from_nested_list | Return all values from a nested list in a dataframe
get_descendentCodeIds | Get the code identifiers a code's descendents
get_source_filter | Create a filter to select utterances in a source
get_state_transition_df | Get the state transition data frame
get_state_transition_dot | Get the Dot code for a state transition graph
get_state_transition_table | Get the state transition table
get_utterances_and_codes_from_source | Get utterances and codes from source
get_vectors_from_nested_list | Return one or more values from a nested list in a list of vectors

## -- H --

heading | Print a heading
heading_vector | Make a vector of strings into headings
heatmap_basic | Generic convenience function to create a heatmap

## -- I --

import_ROCKproject | Import a ROCK project from a ROCKproject file
import_source_from_gDocs | Import a source from Google Documents
inspect_coded_sources | Read sources from a directory, parse them, and show coded fragments and code tree

## -- L --

loading_sources | Load a source from a file or a string
load_source | Load a source from a file or a string
load_sources | Load a source from a file or a string

## -- M --

make_ROCKproject_config | Make a ROCK project configuration file
mask_source | Masking sources
mask_sources | Masking sources
mask_utterances | Masking sources
match_consecutive_delimiters | Match the corresponding indices of (YAML) delimiters in a sequential list
merge_sources | Merge source files by different coders

## -- N --

number_as_xl_date | Convert a number to a date using Excel's system
numericToBase30 | Conversion between base10 and base30

## -- O --

opts | Options for the rock package

## -- P --

padString | Padd a character vector
parsed_sources_to_ena_network | Create an ENA network out of one or more parsed sources
parse_source | Parsing sources
parse_sources | Parsing sources
parse_sources_by_coderId | Parsing sources separately for each coder
parse_source_by_coderId | Parsing sources separately for each coder
parsing_sources | Parsing sources
plot.rock_parsedSources | Parsing sources
prepending_uids | Prepending unique utterance identifiers
prepend_ciids_to_source | Prepend lines with one or more class instance identifiers to one or more sources
prepend_ciids_to_sources | Prepend lines with one or more class instance identifiers to one or more sources
prepend_ids_to_source | Prepending unique utterance identifiers
prepend_ids_to_sources | Prepending unique utterance identifiers
prepend_tssid_to_source | Prepend a line with a TSSID to a source
preprocess_source | Efficiently preprocess data
prereg_initialize | Initialize a (pre)registration
prettify_source | Prettify a source in HTML
print.rock_ci_nrm | Import a Narrative Response Model specification
print.rock_graphList | Plot the graphs in a list of graphs
print.rock_parsedSource | Parsing sources
print.rock_parsedSources | Parsing sources

## -- Q --

qna_to_tlm | Convert a QNA network to Linear Topic Map format
quest | Qualitative/Unified Exploration of State Transitions

## -- R --

rbind_dfs | Simple alternative for rbind.fill or bind_rows
rbind_df_list | Bind lots of dataframes together rowwise
read_spreadsheet | Convenience function to read spreadsheet-like files
recode_addChildCodes | Add child codes under a parent code
recode_delete | Remove one or more codes
recode_merge | Merge two or more codes
recode_move | Move one or more codes to a different parent
recode_rename | Rename one or more codes
recode_split | Split a code into multiple codes
repeatStr | Repeat a string a number of times
repStr | Repeat a string a number of times
reset | Options for the rock package
resultsOverview_allCodedFragments | Show all coded fragments
rock | rock: A Reproducible Open Coding Kit
root_from_codePaths | Get the roots from a vector with code paths
rpe_create_source_with_items | Create a source with items to code for Response Process Evaluation

## -- S --

save_workspace | Save your justifications to a file
search_and_replace_in_source | Cleaning & editing sources
search_and_replace_in_sources | Cleaning & editing sources
set | Options for the rock package
show_attribute_table | Show a table with all attributes in the RStudio viewer and/or console
show_fullyMergedCodeTrees | Show the fully merged code tree(s)
show_inductive_code_tree | Show the inductive code tree(s)
snoe_plot | Soft Non-numeric Occurrence Estimation (SNOE) plot
split_long_lines | Split long lines
stripCodePathRoot | Strip the root from a code path
syncing_df_compress | Compress a vector or data frame
syncing_df_expand | Expand a vector or data frame
syncing_vector_compress | Compress a vector or data frame
syncing_vector_expand | Expand a vector or data frame
sync_streams | Synchronize multiple streams
sync_vector | Sync (expand or compress) a vector

## -- T --

template_ci_heatmap_1_to_pdf | Create a templated report for cognitive interviews
template_codebook_to_pdf | Convert a codebook specification to PDF

## -- V --

vecTxt | Easily parse a vector into a character value
vecTxtQ | Easily parse a vector into a character value

## -- W --

wordwrap_source | Wordwrapping a source
wrapVector | Wrap all elements in a vector
write_source | Write a source to a file
write_sources | Write a source to a file
writing_sources | Write a source to a file

## -- Y --

yaml_delimiter_indices | Get indices of YAML delimiters