Migrate phone messages sensor to new data stream

pull/128/head
Meng Li 2021-03-09 23:48:42 -05:00 committed by JulioV
parent 3a65b3864d
commit bd4f647d37
4 changed files with 48 additions and 0 deletions

View File

@ -397,3 +397,24 @@ Stream columns named `FLAG_TO_MUTATE` means they are extracted based on the `MUT
Same as ANDROID
??? info "PHONE_MESSAGES"
=== "ANDROID"
**RAPIDS_COLUMN_MAPPINGS**
| RAPIDS column | Stream column |
|----------------------|---------------------|
| TIMESTAMP | timestamp |
| DEVICE_ID | device_id |
| MESSAGE_TYPE | message_type |
| TRACE | trace |
**MUTATION**
- **COLUMN_MAPPINGS** (None)
- **SCRIPTS** (None)
=== "IOS"
This sensor is not supported by iOS devices.

View File

@ -104,3 +104,13 @@ This is a description of the format RAPIDS needs to process data for the followi
| PROVIDER | A string that denotes the provider: `gps`, `fused` or `network` |
| ACCURACY | The estimated location accuracy |
??? info "PHONE_MESSAGES"
| RAPIDS column | Description |
|--------------------|---------------------------------------------------------------------------|
| TIMESTAMP | An UNIX timestamp (13 digits) when a row of data was logged |
| DEVICE_ID | A string that uniquely identifies a device |
| MESSAGE_TYPE | An integer that denotes message type: 1 = received, 2 = sent |
| TRACE | SHA-1 one-way source/target of the message |

View File

@ -182,3 +182,14 @@ PHONE_LOCATIONS:
MUTATION:
COLUMN_MAPPINGS:
SCRIPTS: # List any python or r scripts that mutate your raw data
PHONE_MESSAGES:
ANDROID:
RAPIDS_COLUMN_MAPPINGS:
TIMESTAMP: timestamp
DEVICE_ID: device_id
MESSAGE_TYPE: message_type
TRACE: trace
MUTATION:
COLUMN_MAPPINGS:
SCRIPTS: # List any python or r scripts that mutate your raw data

View File

@ -65,6 +65,12 @@ PHONE_LOCATIONS:
- PROVIDER
- ACCURACY
PHONE_MESSAGES:
- TIMESTAMP
- DEVICE_ID
- MESSAGE_TYPE
- TRACE
FITBIT_STEPS_SUMMARY:
- TIMESTAMP