Version 0.2 (latest)
A file conforming to the openEPDA data format is a text file with UTF-8 encoding.
A file has the following structure.
The first line is a format identifier, # openEPDA DATA FORMAT. After
this, the data part follows, which contains two sections. The first section
adheres to the YAML format, and
contains all scalar (numeric and textual) data in the name: value form.
This format is applicable for storing all previously mentioned types of
the data. The second section is a CSV-formatted (RFC 4180 CSV Files) part to store the tabular
measurement data.
An example of a file recorded in the openEPDA data format is shown below. Line 1 specifies the file format. Lines 2 to 16 contain metadata in YAML-format, including the values for two reserved keys. Here, only string and float data types are used, however arrays and maps can also be included. Line 18 contains a standard document-end marker. Lines 19 to the end of the document contain the CSV-formatted tabular data with a single header line.
Attributes
Reserved
The following keys have a special meaning:
_timestamp: time the data was created in ISO format._openEPDA_version: string defining the format version, e.g.'0.2'
Example data file
Line number |
File contents |
|---|---|
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|