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

Description Usage Arguments Examples

Description

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

Usage

1
2
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

1
2
3
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)

mtconnectR documentation built on May 1, 2019, 10:38 p.m.