Learn R Programming

mtconnectR (version 0.2.0)

read_dmtcd_file: Function to load the log data into R as a data.frame

Description

Function to load the log data into R as a data.frame

Usage

read_dmtcd_file(file_path_dmtcd, condition_names = c(),
  path_position_names = c())

Arguments

file_path_dmtcd
Path to the file containing log data
condition_names
A character string with the names of the data items that represent the conditions in the log data
path_position_names
A character string with the names of the data items that represent the path_position data item

Examples

Run this code
device_name = "test_device"
file_path_xml = "testdata/dataExtraction/test_devices.xml"
xpath_info = get_xpaths_from_xml(system.file(file_path_xml, package = "mtconnectR"), device_name)

Run the code above in your browser using DataLab