Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (0.8.1) of this package.
Take me there.
rock
Copy Link
Link to current version
Version
Version
0.8.1
0.6.7
0.5.5
0.5.4
0.5.1
0.4.3
0.4.1
0.1.1
0.1.0
0.0.1
Install
install.packages('rock')
Monthly Downloads
99
Version
0.5.4
License
GPL-3
Maintainer
Gjalt-Jorn Ygram Peters
Last Published
January 21st, 2024
Functions in rock (0.5.4)
Search all functions
cat0
Concatenate to screen without spaces
codeIds_to_codePaths
Replace code identifiers with their full paths
cleaned_source_to_utterance_vector
Convert a character vector into an utterance vector
clean_source
Cleaning & editing sources
ci_heatmap
Create a heatmap showing issues with items
base30toNumeric
Conversion between base10 and base30
checkPkgs
Check for presence of a package
collect_coded_fragments
Create an overview of coded fragments
ci_get_item
Get an item in a specific language
codePaths_to_namedVector
Get a vector to find the full paths based on the leaf code identifier
codebook_fromSpreadsheet
Import a code book specification from a spreadsheet
codebook_to_pdf
Convert a codebook specification to PDF
code_source
Add one or more codes to one or more sources
create_cooccurrence_matrix
Create a co-occurrence matrix
export_mergedSourceDf_to_csv
Export a merged source data frame
collapse_occurrences
Collapse the occurrences in utterances into groups
code_freq_hist
Create a frequency histogram for codes
get_childCodeIds
Get the code identifiers of the children of a code with a given identifier
export_codes_to_txt
Export codes to a plain text file
expand_attributes
Expand categorical attribute variables to a series of dichotomous variables
parse_source
Parsing sources
load_source
Load a source from a file or a string
doc_to_txt
Convert a document (.docx, .pdf, etc) to a plain text file
css
Create HTML fragment with CSS styling
convert_df_to_source
Convert 'rectangular' or spreadsheet-format data to one or more sources
parse_source_by_coderId
Parsing sources separately for each coder
exampleCodebook_1
An very rudimentary example codebook specification
get_source_filter
Create a filter to select utterances in a source
print.rock_graphList
Plot the graphs in a list of graphs
add_html_tags
Add HTML tags to a source
exportToHTML
Exporting tables to HTML
rbind_df_list
Bind lots of dataframes together rowwise
recode_addChildCodes
Add child codes under a parent code
recode_merge
Merge two or more codes
generate_uids
Generate utterance identifiers (UIDs)
generic_recoding
Generic underlying recoding function
inspect_coded_sources
Read sources from a directory, parse them, and show coded fragments and code tree
heading
Print a heading
prepend_ids_to_source
Prepending unique utterance identifiers
opts
Options for the rock package
repeatStr
Repeat a string a number of times
mask_source
Masking sources
apply_graph_theme
Apply multiple DiagrammeR global graph attributes
show_attribute_table
Show a table with all attributes in the RStudio viewer and/or console
rock
rock: A Reproducible Open Coding Kit
recode_rename
Rename one or more codes
form_to_rmd_template
Convert a (pre)registration form to an R Markdown template
number_as_xl_date
Convert a number to a date using Excel's system
rpe_create_source_with_items
Create a source with items to code for Response Process Evaluation
resultsOverview_allCodedFragments
Show all coded fragments
save_workspace
Save your justifications to a file
parsed_sources_to_ena_network
Create an ENA network out of one or more parsed sources
template_codebook_to_pdf
Convert a codebook specification to PDF
prereg_initialize
Initialize a (pre)registration
template_ci_heatmap_1_to_pdf
Create a templated report for cognitive interviews
stripCodePathRoot
Strip the root from a code path
vecTxt
Easily parse a vector into a character value
wrapVector
Wrap all elements in a vector
show_inductive_code_tree
Show the inductive code tree(s)
create_codingScheme
Create a coding scheme
codingSchemes_get_all
Convenience function to get a list of all available coding schemes
extract_codings_by_coderId
Extract the codings by each coder using the coderId
merge_sources
Merge source files by different coders
match_consecutive_delimiters
Match the corresponding indices of (YAML) delimiters in a sequantial list
export_to_html
Export parsed sources to HTML or Markdown
rbind_dfs
Simple alternative for rbind.fill or bind_rows
recode_move
Move one or more codes to a different parent
recode_split
Split a code into multiple codes
yaml_delimiter_indices
Get indices of YAML delimiters
ci_import_nrm_spec
Import a Narrative Response Model specification
read_spreadsheet
Convenience function to read spreadsheet-like files
root_from_codePaths
Get the roots from a vector with code paths
recode_delete
Remove one or more codes