# NOT RUN {
if (reticulate::py_module_available("sqlparse")) {
library("sqlparseR")
raw <- "select*from foo; select*from bar;"
statements <- sql_split(raw)
print(statements)
}
# }
Run the code above in your browser using DataLab