dpColumnPropertiesR: Data Profile Column Properties via R

Description Usage Arguments Details Value Examples

Description

dpColumnPropertiesR calculates the column properties of an R data frame.

Usage

1
2
dpColumnPropertiesR(in_project_id, in_table_id, input_tbl,
  collapse_with = "|")

Arguments

in_project_id

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

in_table_id

integer The table sequence number for table to analize.

input_tbl

data.frame The data frame to analize.

collapse_with

= "|" character The characer string used with collapse

Details

The data frame is typically loaded from a text file, Excel sheet, or other tabular structure.

For DBMS resident data you should use dpColumnPropertiesSQL to avoid downloading all rows to R.

Value

data.frame with a row for each column in input_tbl and columns:

Examples

1
2
3
4
5
6
7
## Not run: 
dpProjID <- dpTables$project_id[1]
dpTblID <- 1
Tbl <- read_csv(dpTables$table_source[dpTblID])
dpColProp <- dpColumnPropertiesR(dpProjID, dpTblID, Tbl)

## End(Not run)

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