Description Usage Arguments Value Examples
dpMakeTable
creates an initial one-row data frame for
a table in the data profiling project.
1 | dpMakeTable(in_project_id, name, source, description, created_by, notes = NA)
|
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. |
data.frame Initialized to one row with columns:
project_id - UUID of project with this table
table_id - integer sequence of tables within project
table_name - from argument list
table_source - from argument list
table_description
table_notes- from argument list
table_rows - # rows in table
table_columns - # columns in table
created_by - from argument list
created_at - Sys.time()
mod_by - initially NA
mod_at - initially NA
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.