variable_interval_1_2017_tibble: variable_interval_1_2017 dataset ('tibble' version)

Description Usage Format See Also Examples

Description

This is the same dataset as variable_interval_1_2017, but with less specialised data strutures for storing things like the event reocrd. For example, instead of a formal_event_record from the CAB package, a tibble is used, which is essentially a data.frame.

Usage

1

Format

A data.table.

See Also

variable_interval_1_2017 for documentation for this dataset. tibble for more information about tibble.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# code for creating this dataset
data( variable_interval_1_2017 )
working_data = data.table::copy( variable_interval_1_2017 )
event_records = working_data[ , event_record ]
event_record_tibbles = lapply( event_records, function(x) as_tibble( x@events ) )
arranged_vis = working_data[ , arranged_vi ]
arranged_vis_tibbles = lapply( arranged_vis, function(x) as_tibble( x ) )
variable_interval_1_2017_tibble = as_tibble( working_data )
variable_interval_1_2017_tibble[ , "event_record" ] = lst( event_record_tibbles )
variable_interval_1_2017_tibble[ , "arranged_vi" ] = lst( arranged_vis_tibbles )

# Save the data
save( variable_interval_1_2017_tibble, file = "variable_interval_1_2017_tibble.RData")

Don-Li/CABdata documentation built on May 6, 2019, 2:53 p.m.