Skip to main content

ชุดข้อมูลอนุกรมเวลา (Time-Series) แสดงระดับค่าที่วัดได้จากเซ็นเซอร์

มาตรฐานนี้ดัดแปลงมาจากรูปแบบไฟล์ของชุดข้อมูล Mozilla Common Voice

รูปแบบไฟล์#

{
"records": [
{
"time": <เวลาที่วัดค่า: timestamp, UTC+0>,
"location": <ตำแหน่งที่ติดตั้งเซนเซอร์: geolocation>,
"name": <ชื่อตัวแปรที่วัด เช่น pm2_5: string>,
"value": <ค่าที่วัดได้: any>,
},
... // หมายเหตุ: 1 javascript object ต่อ 1 ค่าที่อ่านได้ หากอ่านได้หลายตัวแปรในเวลาเดียวกัน ให้แยกแต่ละค่าที่อ่านได้ไว้ให้คนละ object กัน
]
}

Keys#

KeyRequiredTypeDescription
timetimestampTimestamp that the data is captured
locationgeolocationThe geolocation where the sensor is installed
namestringThe value that was captured e.g. "pm2_5" (see Common Key Names for more information)
valueany (number preferred for numerical data)The captured value

Common Key Names#

สำหรับ key “name” หากเป็นค่าที่พบบ่อย ให้ใช้ค่าและหน่วยดังต่อไปนี้

ค่าที่วัดค่าของ key "name"หน่วย (ระบุใน schema file)
ปริมาณฝุ่น PM 2.5"pm2_5"µg/m3
ปริมาณฝุ่น PM 10"pm10"µg/m3
อุณหภูมิ"temp"°C

ตัวอย่าง#

{
"records": [
{
"path": "common_voice_th_123456.mp3",
"sentence": "ดำและแดงไปโรงเรียน",
"locale": "th",
"age": "twenties",
"gender": "male"
},
{
"path": "common_voice_th_123457.mp3",
"sentence": "ระยะเวลาของโครงการคือ?",
"locale": "th",
"age": "fourties",
"gender": "female"
}
]
}