osd_to_json.Rd
Convert OSD plaintext to JSON using NSSH structural elements
osd_to_json(
logfile = file.path(output_dir, "OSD/OSD.log"),
input_dir = "OSD",
pattern = "txt",
output_dir = "inst/extdata",
osd_files = NULL
)
Path to log file; default: file.path(output_dir, "OSD/OSD.log")
Default: 'OSD'
; files matching pattern are listed recursively
Argument passed to list.files
when osd_files
is not specified
Default: 'inst/extdata'
; folder to create alphabetical folder structure with JSON files
Default NULL
; Optional over-ride vector of file names for testing
A logical vector equal in length to the number of input files.