export_ptt: Export data store in miner_object for you to analyze.

Description Usage Arguments Value Examples

View source: R/main-caller.R

Description

There're three export types you can choose:

Usage

1
export_ptt(ptt.miner, export.type = character(), obj.name = character())

Arguments

ptt.miner

a R6 class object uses PTTmineR$new() to create.

export.type

a string. the three export types in description part.

obj.name

a string. the global object name you want to name.

Value

export_ptt() is a side-effect function also. After you excute this function, you will get the object name 'obj.name' in your global environment.

Examples

1
2
3
4
5
6
7
8
# export data into global environment.
## Not run: rookie_miner %>%
    export_ptt(export.type = "dt", obj.name = "my_ptt_data")
    
## End(Not run)

# then you can call the object you name in the global environment.
## Not run: my_ptt_data

shihjyun/PTTmineR documentation built on Oct. 22, 2020, 2:46 a.m.