GetSqlData: GetSqlData

GetSqlDataR Documentation

GetSqlData

Description

This function will grab data from a SQL database using a SQL file

Usage

GetSqlData(
  DRIVER = "SQL Server",
  SERVER = "sdl02-vm161",
  DB_NAME = "OpsDW",
  PROJECT_PATH = NULL,
  DEBUG = TRUE
)

Arguments

DRIVER

Name of the SQL Platform

SERVER

Name of the server

DB_NAME

Name of the database

PROJECT_PATH

path to the project directory

DEBUG

If TRUE, the function will run in debug mode

Value

Returns the results of the sql query

Author(s)

Abraham Mathew

See Also

Other Data Import: GetCsvData(), GetSqlQuery()


abmathewks/GoodeR documentation built on June 12, 2025, 1:48 a.m.