as_quot {WikidataR} | R Documentation |
Add quotations marks
Description
Add escaped quotation marks around strings that need them ready for submision to an API
Usage
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' |
Value
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")
[Package WikidataR version 2.3.3 Index]