strVectorSQLRepr: String representation of a character vector for SQLite...

Description Usage Arguments Author(s)

View source: R/0_strConcat.R

Description

Transform a character vector (e.g. c("a", "b") into a string representation that can be used in a SQLite query (e.g. "('a', 'b')").

Usage

1
strVectorSQLRepr(vec, print_out = FALSE, single_quote = TRUE)

Arguments

vec

character.

print_out

logical. Print out the string representation when set to TRUE.

single_quote

logical. Whether to use single quote for each element. Use double quote if set to FALSE. Default to TRUE.

Author(s)

Kaiyin Zhong


CollapsABEL documentation built on May 29, 2017, 9:43 a.m.

Search within the CollapsABEL package
Search all R packages, documentation and source code