Helper function for quoting kql elements.
If the quote character is present in the string, it will be doubled. NA
s will be replaced with NULL.
kql_quote(x, quote)
x
: Character vector to escape.quote
: Single quoting character.kql_quote("abc", "'") kql_quote("I've had a good day", "'") kql_quote(c("abc", NA), "'")