readSQLtable: Read SQL from Databricks

Description Usage Arguments Value

View source: R/readSQLtable.R

Description

Reading an SQL table from Databricks assumes that the user already has Databricks credentials and access rights to a particular Databricks cluster.

Usage

1
2
readSQLtable(tableName, token, query = NULL, hostName = NULL,
  httpPath = NULL)

Arguments

tableName

Name of the table to read.

token

DataBricks token. IT IS PERSONAL TO YOU.

query

SQL query. Default: "SELECT * FROM tableName"

hostName

Server host name. Default: "db.ref.core.data.digital.nhs.uk"

httpPath

HTTP path to the Databricks cluster. Default: "sql/protocolv1/o/0/rstudio-pilot"

Value

The SQL table.


codonlibrary/disutils documentation built on Nov. 4, 2019, 9:09 a.m.