get.table.sample: EDAS DB Integration API Interface - Data Sampling DB 테이블...

Description Usage Arguments Value See Also Examples

Description

EDAS DB Integration API Interface - Data Sampling DB 테이블 데이터 샘플링

Usage

1
get.table.sample(edasDBObj, table, samplingrate)

Arguments

edasDBObj

EDAS.DB.API

table

EDAS DataBase Table Name - 테이블 명

samplingrate

a sampling ratio ( < 1 ) or number ( >= 1) - 샘플 데이터 건수 또는 비율

Value

sample data from the specified table

See Also

Other EDAS: EDAS.DB.API-class, describe.table, edas.datapreprocessing.daytype, edas.datavalidation.api.timeinterval, edas.db.api.query, edas.db, edas.newModel, edas.validate

Examples

1
2
3
4
5
6
7
8
db_server <- "10.0.0.1" 
db_port <- 13306
db_username <- "test"
db_password <- "xxxx"
db_name <- "edas"
dbConnector <- edas.db(testuser_name, testuser_password, "edas", testpoc_server, testpoc_port)
get.table.sample(dbConnector, "EDAS_S_USAGE", .0002)
get.table.sample(dbConnector, "EDAS_S_USAGE", 1) 

jinlee86/bems_analysisr_package documentation built on May 14, 2019, 8:34 a.m.