Description Usage Arguments Details Value
View source: R/file_contents.R
The function will find data exported from .opf to .csv using the built-in Ruby
script.
1 2 3 4 5 6 7 |
folder |
Either a scalar character pointing to a directory where contents are to
be scanned, or a vector of |
columns |
Similar to the |
files |
The short name of the Datavyu "file" to import, as used for the original
datavyu |
class_overwrite |
A |
traverse |
Search subfolders of |
Most functions in this package only work if you had previously used the
datavyu2csv.rb script to export a Datavyu file to .csv. This script can be
obtained from ruby_script_folder(). Exported data is in the form of several
"/column__file.csv" files. Files will be searched based on the directory supplied
to the folder argument. Valid files will have the following columns: file,
column, onset, offset, ordinal, along with custom user codes as columns.
data.frame with all info from the located .csv files consisting of the
following columns:
column: the name of the specific column taken the .opf file.
codes: the argument/fields used to label each type of code in a column.
file: the file name taken from the original .opf file.
local: the path to the .csv file found on disk.
classes: the type for the given code.
combined: the column.field string to distinguish variable names.
old_classes: the estimated classes for each argument/field based on
data.table's fread.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.