Description Usage Arguments Value
View source: R/exportJPKtoSQLite.r
exportJPKtoSQLite is doing parsing JPK elemens for example from "Faktura" table of JPK_FA file single record is between this characters "<Faktura typ=\"G\">","</Faktura>", function generate SQLite file with tables with records of JPK file.
1 2 3 | exportJPKtoSQLite(file_xml = "", file_SQL = "Plik_JPK.sqlite",
export_dir = "", bufor_size = 10000, pathToBinary = Sys.getenv(x =
"JPKr_GO_BINARY"))
|
file_xml |
path to xml file |
file_SQL |
name of sqlfile you want to create 'remember to add .sqlite at the end' |
export_dir |
dir where you want o save SQLite file |
bufor_size |
size of single instert of records you want to write to sqlite base. Default is 1000 |
UseGolang |
T/F param to use golang for faster parsing xml files. 400mb file on my PC is 3h with pure R, and 1,5miniwht GO |
SQLite db filled with parsed JPK file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.