# Some of these examples require a Causata connection, so they are not run
## Not run:
# conn <- Connect(group="example")
#
# # View available variables
# View(conn$variables)
#
# # View available time ranges
# View(conn$timeRanges)
#
# # View available time points
# View(conn$timePoints)
#
# # Get a list of variables matching the given labels: all online and demographics
# variables <- Vinclude(conn, label.patterns=c("online", "demographics"))
#
# # Get a list of all variables except those with "test" in the name
# variables <- Vexclude(conn, name.patterns="test")
#
# # build a query string and extract data
# query.str <- paste(
# "select", BacktickCollapse(variables),
# "from customers")
# df <- GetData(conn, query.str)
# Close(conn)
# ## End(Not run)
# simple example with BacktickCollapse
BacktickCollapse(c("variable-one", "variable-two"))
Run the code above in your browser using DataLab