This function cleans a SQL script, ready for using within R in the DfE.
Examples
# This assumes you have already set up a database connection
# and that the filepath for the function exists
# For more details see the vignette on connecting to SQL
# Pull a cleaned version of the SQL file into R
if (file.exists("your_script.sql")) {
sql_query <- get_clean_sql("your_script.sql")
}