Description Usage Arguments Value Examples
There're three export types you can choose:
dt: the type of data.table
tbl: the type of tibble (like data.frame but more better)
nested_tbl: the type of nested tibble (just return one table)
1 | export_ptt(ptt.miner, export.type = character(), obj.name = character())
|
ptt.miner |
a R6 class object uses |
export.type |
a string. the three export types in description part. |
obj.name |
a string. the global object name you want to name. |
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.
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.