Migrate phone apps foreground sensor to new data stream
parent
6b13c80e40
commit
824523e32c
|
@ -84,6 +84,25 @@ Stream columns named `FLAG_TO_MUTATE` means they are extracted from the `FLAG_AS
|
||||||
src/data/streams/mutations/phone/aware/activity_recogniton_ios_unification.R
|
src/data/streams/mutations/phone/aware/activity_recogniton_ios_unification.R
|
||||||
```
|
```
|
||||||
|
|
||||||
|
??? info "PHONE_APPLICATIONS_FOREGROUND"
|
||||||
|
|
||||||
|
=== "ANDROID"
|
||||||
|
|
||||||
|
**COLUMN_MAPPINGS**
|
||||||
|
|
||||||
|
| RAPIDS column | Stream column |
|
||||||
|
|--------------------|--------------------|
|
||||||
|
| TIMESTAMP | timestamp |
|
||||||
|
| DEVICE_ID | device_id |
|
||||||
|
| PACKAGE_NAME | package_name |
|
||||||
|
| APPLICATION_NAME | application_name |
|
||||||
|
| IS_SYSTEM_APP | is_system_app |
|
||||||
|
|
||||||
|
**MUTATION_SCRIPTS**
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
|
||||||
??? info "PHONE_CONVERSATION"
|
??? info "PHONE_CONVERSATION"
|
||||||
|
|
||||||
=== "ANDROID"
|
=== "ANDROID"
|
||||||
|
|
|
@ -24,6 +24,17 @@ This is a description of the format RAPIDS needs to process data for the followi
|
||||||
| CONFIDENCE | An integer (ranged from 0 to 100) that denotes the prediction accuracy |
|
| CONFIDENCE | An integer (ranged from 0 to 100) that denotes the prediction accuracy |
|
||||||
|
|
||||||
|
|
||||||
|
??? info "PHONE_APPLICATIONS_FOREGROUND"
|
||||||
|
|
||||||
|
| 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 |
|
||||||
|
| PACKAGE_NAME | Application’s package name |
|
||||||
|
| APPLICATION_NAME | Application’s localized name |
|
||||||
|
| IS_SYSTEM_APP | Device’s pre-installed application |
|
||||||
|
|
||||||
|
|
||||||
??? info "PHONE_CONVERSATION"
|
??? info "PHONE_CONVERSATION"
|
||||||
|
|
||||||
| RAPIDS column | Description |
|
| RAPIDS column | Description |
|
||||||
|
|
|
@ -36,6 +36,16 @@ PHONE_ACTIVITY_RECOGNITION:
|
||||||
MUTATION_SCRIPTS:
|
MUTATION_SCRIPTS:
|
||||||
- "src/data/streams/mutations/phone/aware/activity_recogniton_ios_unification.R"
|
- "src/data/streams/mutations/phone/aware/activity_recogniton_ios_unification.R"
|
||||||
|
|
||||||
|
PHONE_APPLICATIONS_FOREGROUND:
|
||||||
|
ANDROID:
|
||||||
|
COLUMN_MAPPINGS:
|
||||||
|
TIMESTAMP: timestamp
|
||||||
|
DEVICE_ID: device_id
|
||||||
|
PACKAGE_NAME: package_name
|
||||||
|
APPLICATION_NAME: application_name
|
||||||
|
IS_SYSTEM_APP: is_system_app
|
||||||
|
MUTATION_SCRIPTS: # List any python or r scripts that mutate your raw data
|
||||||
|
|
||||||
PHONE_CONVERSATION:
|
PHONE_CONVERSATION:
|
||||||
ANDROID:
|
ANDROID:
|
||||||
COLUMN_MAPPINGS:
|
COLUMN_MAPPINGS:
|
||||||
|
|
|
@ -12,6 +12,13 @@ PHONE_ACTIVITY_RECOGNITION:
|
||||||
- ACTIVITY_NAME
|
- ACTIVITY_NAME
|
||||||
- CONFIDENCE
|
- CONFIDENCE
|
||||||
|
|
||||||
|
PHONE_APPLICATIONS_FOREGROUND:
|
||||||
|
- TIMESTAMP
|
||||||
|
- DEVICE_ID
|
||||||
|
- PACKAGE_NAME
|
||||||
|
- APPLICATION_NAME
|
||||||
|
- IS_SYSTEM_APP
|
||||||
|
|
||||||
PHONE_CONVERSATION:
|
PHONE_CONVERSATION:
|
||||||
- TIMESTAMP
|
- TIMESTAMP
|
||||||
- DEVICE_ID
|
- DEVICE_ID
|
||||||
|
|
Loading…
Reference in New Issue