Learn R Programming

mtconnectR (version 1.2.1)

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

Description

Function to load 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 items

Examples

Run this code
# NOT RUN {
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