R/parse_source_by_coderId.R
, R/parse_sources_by_coderId.R
parsing_sources_by_coderId.Rd
Parsing sources separately for each coder
parse_source_by_coderId( input, ignoreOddDelimiters = FALSE, postponeDeductiveTreeBuilding = TRUE, encoding = "UTF-8", silent = TRUE ) parse_sources_by_coderId( input, recursive = TRUE, filenameRegex = ".*", ignoreOddDelimiters = FALSE, postponeDeductiveTreeBuilding = TRUE, encoding = rock::opts$get(encoding), silent = rock::opts$get(silent) )
input | For |
---|---|
ignoreOddDelimiters | If an odd number of YAML delimiters is encountered, whether this
should result in an error ( |
postponeDeductiveTreeBuilding | Whether to imediately try to build the deductive
tree(s) based on the information in this file ( |
encoding | The encoding of the file to read (in |
silent | Whether to provide ( |
recursive | Whether to search all subdirectories ( |
filenameRegex | A regular expression to match against located files; only files matching this regular expression are processed. |
### Get path to example source examplePath <- system.file("extdata", package="rock"); ### Get a path to one example file exampleFile <- file.path(examplePath, "example-1.rock"); ### Parse single example source parsedExample <- rock::parse_source_by_coderId(exampleFile);