A function to quickly return the information stored in the header of the
original data file imported via pathviewR
's read_
functions.
get_header_viewr(obj_name, ...)
obj_name | The input viewr object; a tibble or data.frame with attribute
|
---|---|
... | Additional arguments that may be passed to other |
The value of the header
attribute, or NULL if no exact match
is found and no or more than one partial match is found.
Vikram B. Baliga
library(pathviewR) ## Import the Motive example data included in the package motive_data <- read_motive_csv(system.file("extdata", "pathviewR_motive_example_data.csv", package = 'pathviewR')) ## Now display the Header information get_header_viewr(motive_data)#> metadata value #> 1 Format Version 1.23 #> 2 Take Name sept-18_mixed-group_16-30 #> 3 Take Notes #> 4 Capture Frame Rate 100.000000 #> 5 Export Frame Rate 100.000000 #> 6 Capture Start Time 2019-09-18 04.30.02.695 PM #> 7 Total Frames in Take 190951 #> 8 Total Exported Frames 190951 #> 9 Rotation Type Quaternion #> 10 Length Units Meters #> 11 Coordinate Space Global