lowLevelQuerySql: Low level function for retrieving data to a data frame

Description Usage Arguments Details Value

View source: R/Sql.R

Description

This is the equivalent of the querySql function, except no error report is written when an error occurs.

Usage

1
lowLevelQuerySql(connection, query = "", datesAsString = FALSE)

Arguments

connection

The connection to the database server.

query

The SQL statement to retrieve the data

datesAsString

Should dates be imported as character vectors, our should they be converted to R's date format?

Details

Retrieves data from the database server and stores it in a data frame. Null values in the database are converted to NA values in R.

Value

A data frame containing the data retrieved from the server


OHDSI/DatabaseConnector documentation built on Nov. 16, 2018, 6:20 p.m.