as_quot function

Add quotations marks

Add quotations marks

Add escaped quotation marks around strings that need them ready for submision to an API

as_quot(x, format = "tibble")

Arguments

  • x: a vector, data frame, or tibble of strings
  • format: either "tibble" / "csv" to use plain quotation marks (default), or "api" / "website" to use '%22'

Returns

tibble of items inside of escaped quotation marks unless they are already in escaped quotation marks, is a QID, (in which chase it is returned unchanged)

Examples

as_quot("text")
  • Maintainer: Thomas Shafee
  • License: MIT + file LICENSE
  • Last published: 2021-11-16

Downloads (last 30 days):