Convert B3 files to structured formats based on the template.
Arguments
- filename
a string containing a path for the file.
- template
a string with the template name.
- parse_fields
a logical indicating if the fields must be parsed.
- format
output format
- destdir
a string with destination directory to save converted file
Examples
if (FALSE) {
f <- system.file("extdata/Indic.txt", package = "rb3")
res <- convert_to(f, output_format = "csv")
res <- convert_to(f, output_format = "json")
}