dpMakeTable: Make a table data frame.

Description Usage Arguments Value Examples

Description

dpMakeTable creates an initial one-row data frame for a table in the data profiling project.

Usage

1
dpMakeTable(in_project_id, name, source, description, created_by, notes = NA)

Arguments

in_project_id

character The UUID ID for the project in which this table is to be included.

name

character R data.frame or DBMS table name

source

character The literal string to connect to the table. Will be a function of environment; eg text file, DBMS, R, etc.

description

character A longer description of table.

created_by

character Person or system creating this table entry.

notes

character Notes about this table.

Value

data.frame Initialized to one row with columns:

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
TblName <- "NewsCurrentEvents"
TblSource <- system.file("extdata", "NewsCurrentEvents.csv",
                          package = "dProf")
dpTables <- dpMakeTable(dpTest$project_id[1], TblName, TblSource, "Jim P",
                        notes = "Using the example csv in project")
str(dpTables)

## End(Not run)

ds4ci/dProf documentation built on May 15, 2019, 2:56 p.m.