convert_to | R Documentation |
Convert B3 files to structured formats based on the template.
convert_to(
filename,
template = NULL,
parse_fields = TRUE,
format = "csv",
destdir = NULL
)
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 |
a string with the file path of generated file.
read_marketdata
## Not run:
f <- system.file("extdata/Indic.txt", package = "rb3")
res <- convert_to(f, output_format = "csv")
res <- convert_to(f, output_format = "json")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.