Data Table Specifications
The Data Table specifications are included to show the file structure for the
sample data and the tables used in selecting and verifying information in the program.
These specification have been included to assist those who desire to develop and
maintain their own database system of water sampling information and for those who need to
develop programs to automatically write data in the standard comma delimited format.
It is important to be aware that the information provided as part of data is
specific to key field information in the APPX database. Incorrectly entered data
creates errors and problems which must be resolved before the data can be processed and
incorporated into the APPX database.
In order to minimize data entry error, a series of tables have been created in
conjunction with the program that provide valid field data entry information. The
Field Names used in the tables are further explained in the Field Names and Descriptions section. The specifications for those tables follow the specifications for the EDI
standard format:
Table 01 - SAMPLES (STANDARD EDI FORMAT)
The SAMPLES Table represents the unique set of sampling information required to
identify the mine, location, date and time for each sample parameter and method used for
the sample. This database file is in the required format for updating fields in the APPX
water database. This file structure is used to generate a comma delimited file which can
be transferred electronically for incorporation into the APPX database using the
division's standard EDI format. The field order and the field names are as follows:
Structure for table: SAMPLES
| FIELD NAME |
DESCRIPTION |
| DATE-ANAL* |
Date the Analysis was performed, 8 characters
text, DATE value. (Data is entered from the Lab/Field Sample Sheets and Reports) |
| ANAL_METHD |
Method of Analysis, 10 character text,
different methods of analysis can be used when sampling any given parameter (from the APPX
water sample database), use valid entry table for selection. (Use Table 03 - METHODS) |
| TIME_ANAL |
Time the Analysis was taken, 4 character text,
TIME value HHMM (military), (i.e. 4:30pm is 1630)(Data is entered from the Lab/Field
Sample Sheets and Reports) |
| ANAL_NAME |
Name of Lab Analyst, 3 character text,
(initials of analyst)(Data is entered from the Lab/Field Sample Sheets and Reports) |
| VALUE |
Analytical Value Measured, 14 characters
numeric, 6 decimal places. (Data is entered from the Lab/Field Sample Sheets and Reports) |
| COMMENTS |
Comments regarding the Sample Data, 50
characters text, (Data is entered from the Lab/Field Sample Sheets and Reports) |
| EQUALITY |
Equality Indicator, 1 character text, use
valid entry table. Acceptable values for this field are "<",
">", or "" |
| DATE_SAMP* |
Field Date of Sample, 8 characters text, DATE
value.(Data is entered from the Lab/Field Sample Sheets and Reports) |
| TIME_SAMP |
Field Time of Sample, 4 characters text, TIME
value HHMM(military time), (i.e. 4:30pm is 1630)(Data is entered from the Lab/Field Sample
Sheets and Reports) |
| LAB_CODE |
Laboratory Code, 3 character text, a
three-letter code of each lab (from the APPX water sample database), use valid entry table
for selection. (Use Table 02 - LABS) |
| DATE_REC |
Date Lab Received Sample, 8 characters text,
DATE value.(Data is entered from the Lab/Field Sample Sheets and Reports) |
| DATE_RPT* |
Date of Lab Report, 8 characters text, DATE
value.(Data is entered from the Lab/Field Sample Sheets and Reports) |
| LAB_ID |
Laboratory Identification Number, 10 character
text, must be derived from the actual lab data sheet. This is the sampling laboratories
unique lab number assigned to each sample data sheet. (Data is entered from the Lab/Field
Sample Sheets and Reports) |
| LAB_NAME |
Name of Laboratory, 35 characters text, (from
the APPX water sample database), use valid entry table for selection. (Use Table 02 -
LABS) |
| DESCRIPT(3) |
Description of the Analytical Method Used for
the Sample Parameter, 35 characters text, (from the APPX water sample database), use valid
entry table for selection.(Use Table 03 - METHODS) |
| MINE_DET |
Minimum Detection Limit, 14 characters
numeric, 6 decimal places. (Data is entered from the Lab/Field Sample Sheets and Reports) |
| MINE_ID |
Mine ID Number, 4 character numeric integer,
each mine has a unique three digit Id number (from the APPX water sample database), use
valid entry table for selection. (Use Table 05 - SITES) |
| MINE_NAME |
Name of Mine, 25 characters text, (from the
APPX water sample database), use valid entry table for selection.(Use Table 05 - SITES) |
| MINE_NUM |
Mine Number, 3 characters text, (from the APPX
water sample database), since the Mine Number is the last three digits of the Permit
Number, i.e. 007'004', this field is not present in the tables. |
| MINE_OPER |
Name of Mine Operator (Company), 25 characters
text, (from the APPX water sample database), since the Permit Number and the Mine Name are
sufficient for identification, this field has not been included for selection. |
| DESCRIPT(4) |
Description of the Sample Parameters, 35
characters text, (from the APPX water sample database), use valid entry table for
selection.(Use Table 04 - PARAMETER) |
| PARAM_ID |
Sample Parameter Identification Number, 4
character numeric integer, each analysis has a specific parameter number (from the APPX
water sample database), use valid entry table for selection. (Use Table 04 - PARAMETER) |
| PERM_NO |
Permit Number, 6 characters text [County
Number&Mine Number], this is the unique permit number used to identify each coal mine
based on state-established county numbers and assigned mine numbers for each mine in their
respective counties. (from the APPX water sample database), use valid entry table for
selection.(Use Table 05 - SITES) |
| SAMPLR_NAM |
Name of Sampler, 20 characters text (Data is
entered from the Lab/Field Sample Sheets and Reports) |
| SAMP_TYPE |
Type of Sample Taken, 4 character numeric
integer, unique numbers assigned to the type of sample take, acceptable entries for this
field are: 4 - Grab Sample; 10 - No Flow; 11 - No Access; and. 20 - Field Reading. |
| DESCRIPT(5) |
Description of the Sample Location Site, 40
characters text, (usually the description or name of the site as it is referenced to by
the mine operator). (from the APPX water sample database), use valid entry table for
selection.(Use Table 05 - SITES) |
| SITE_ID |
Sample Site Identification Number, 4 character
numeric integer, unique three digit number assigned to sample point at a mine (from the
APPX water sample database), use valid entry table for selection. (Use Table 05 - SITES) |
| SITE_NAME |
Name of Sample Site Location, 25 characters
text, (from the APPX water sample database), use valid entry table for selection. (Use
Table 05 - SITES) |
| UNITS |
Unit of Measure, 10 character text, an
acceptable unit of measure for each parameter is necessary (from the APPX water sample
database), use valid entry table for selection. (Use Table 06 - UNITS) |
| DESCRIPT(6) |
Description of the Units of measure, 35
characters text, (from the APPX water sample database), use valid entry table for
selection. (Use Table 06 - UNITS) |