kql_quote function

Helper function for quoting kql elements.

Helper function for quoting kql elements.

If the quote character is present in the string, it will be doubled. NAs will be replaced with NULL.

kql_quote(x, quote)

Arguments

  • x: Character vector to escape.
  • quote: Single quoting character.

Examples

kql_quote("abc", "'") kql_quote("I've had a good day", "'") kql_quote(c("abc", NA), "'")
  • Maintainer: Alex Kyllo
  • License: MIT + file LICENSE
  • Last published: 2023-10-12