docker pull agamk/rapids:latest`
+ docker pull moshiresearch/rapids:latest`
Run RAPIDS' container (after this step is done you should see a
prompt in the main RAPIDS folder with its python environment active)
-docker run -it agamk/rapids:latest
+docker run -it moshiresearch/rapids:latest
@@ -1100,8 +1100,8 @@
Install the Remote - Containers extension
Go to the Remote Explorer
panel on the left hand sidebar
On the top right dropdown menu choose Containers
-Double click on the agamk/rapids
container in theCONTAINERS
tree
-A new VS Code session should open on RAPIDS main folder insidethe container.
+Double click on the moshiresearch/rapids
container in theCONTAINERS
tree
+A new VS Code session should open on RAPIDS main folder inside the container.
diff --git a/dev/sitemap.xml b/dev/sitemap.xml
index 4968cdd6..89e4c735 100644
--- a/dev/sitemap.xml
+++ b/dev/sitemap.xml
@@ -1,171 +1,171 @@
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
None
- 2020-12-20
+ 2020-12-21
daily
\ No newline at end of file
diff --git a/dev/sitemap.xml.gz b/dev/sitemap.xml.gz
index 411e8b72..22fa7b9a 100644
Binary files a/dev/sitemap.xml.gz and b/dev/sitemap.xml.gz differ
diff --git a/dev/workflow-examples/analysis/index.html b/dev/workflow-examples/analysis/index.html
index 4c706cb8..c9e16a74 100644
--- a/dev/workflow-examples/analysis/index.html
+++ b/dev/workflow-examples/analysis/index.html
@@ -1195,7 +1195,7 @@
- Install RAPIDS
- Configure the user credentials of a local or remote MySQL server with writing permissions in your
.env
file. The config file where you need to modify the DATABASE_GROUP
is at example_profile/example_config.yaml
.
-- Unzip the test database to
data/external/rapids_example.sql
and run:
+ - Skip this step if you are using RAPIDS docker container. Unzip the test database to
data/external/rapids_example.sql
and run:
./rapids -j1 restore_sql_file --profile example_profile
- Create the participant files for this example by running:
diff --git a/dev/workflow-examples/minimal/index.html b/dev/workflow-examples/minimal/index.html
index d5902fd0..19666475 100644
--- a/dev/workflow-examples/minimal/index.html
+++ b/dev/workflow-examples/minimal/index.html
@@ -1061,69 +1061,94 @@
Minimal Working Example
-This is a quick guide for creating and running a simple pipeline to extract missing, outgoing, and incoming call features for daily
and night
epochs of one participant monitored on the US East coast.
+This is a quick guide for creating and running a simple pipeline to extract missing, outgoing, and incoming call
features for daily
(00:00:00
to 23:59:59
) and night
(00:00:00
to 05:59:59
) epochs of every day of data of one participant monitored on the US East coast with an Android smartphone.
+
+
Hint
+
If you don’t have call
data that you can use to try this example you can restore this CSV file as a table in a MySQL database.
+
- Install RAPIDS and make sure your
conda
environment is active (see Installation)
-
Make the changes listed below for the corresponding Configuration step (we provide an example of what the relevant sections in your config.yml
will look like after you are done)
-Things to change on each configuration step
1. Setup your database connection credentials in .env
. We assume your credentials group is called MY_GROUP
.
-2. America/New_York
should be the default timezone
-3. Create a participant file p01.yaml
based on one of your participants and add p01
to [PIDS]
in config.yaml
. The following would be the content of your p01.yaml
participant file:
+Required configuration changes
+-
+
Add your database credentials.
+Setup your database connection credentials in .env
, we assume your credentials group in the .env
file is called MY_GROUP
.
+
+-
+
Choose the timezone of your study.
+Since this example is processing data collected on the US East cost, America/New_York
should be the configured timezone, change this according to your data.
+
+-
+
Create your participants files.
+Since we are processing data from a single participant, you only need to create a single participant file called p01.yaml
. This participant file only has a PHONE
section because this hypothetical participant was only monitored with an smartphone. You also need to add p01
to [PIDS]
in config.yaml
. The following would be the content of your p01.yaml
participant file:
PHONE:
- DEVICE_IDS: [aaaaaaaa-1111-bbbb-2222-cccccccccccc] # your participant's AWARE device id
+ DEVICE_IDS: [a748ee1a-1d0b-4ae9-9074-279a2b6ba524] # the participant's AWARE device id
PLATFORMS: [android] # or ios
LABEL: MyTestP01 # any string
START_DATE: 2020-01-01 # this can also be empty
END_DATE: 2021-01-01 # this can also be empty
-4. [TIME_SEGMENTS][TYPE]
should be the default PERIODIC
. Change [TIME_SEGMENTS][FILE]
with the path of a file containing the following lines:
+
+-
+
Select what time segments you want to extract features on.
+[TIME_SEGMENTS][TYPE]
should be the default PERIODIC
. Change [TIME_SEGMENTS][FILE]
with the path (for example data/external/timesegments_periodic.csv
) of a file containing the following lines:
label,start_time,length,repeats_on,repeats_value
daily,00:00:00,23H 59M 59S,every_day,0
night,00:00:00,5H 59M 59S,every_day,0
-5. If you collected data with AWARE you won’t need to modify the attributes of [DEVICE_DATA][PHONE]
-6. Set [PHONE_CALLS][PROVIDERS][RAPIDS][COMPUTE]
to True
+
+-
+
Modify your device data source configuration
+In this example we do not need to modify this section because we are using smartphone data collected with AWARE stored on a MySQL database.
+
+-
+
Select what sensors and features you want to process.
+Set [PHONE_CALLS][PROVIDERS][RAPIDS][COMPUTE]
to True
in the config.yaml
file.
+
+
-Example of the config.yaml
sections after the changes outlined above
PIDS: [p01]
+Example of the config.yaml
sections after the changes outlined above
Highlighted lines are related to the configuration steps above.
+
PIDS: [p01]
+
+TIMEZONE: &timezone
+America/New_York
+
+DATABASE_GROUP: &database_group
+MY_GROUP
+
+# ... other irrelevant sections
-TIMEZONE: &timezone
-America/New_York
+TIME_SEGMENTS: &time_segments
+ TYPE: PERIODIC
+ FILE: "data/external/timesegments_periodic.csv" # make sure the three lines specified above are in the file
+ INCLUDE_PAST_PERIODIC_SEGMENTS: FALSE
-DATABASE_GROUP: &database_group
-MY_GROUP
-
-# ... other irrelevant sections
-
-TIME_SEGMENTS: &time_segments
- TYPE: PERIODIC
- FILE: "data/external/timesegments_periodic.csv" # make sure the three lines specified above are in the file
- INCLUDE_PAST_PERIODIC_SEGMENTS: FALSE
-
-# No need to change this if you collected AWARE data on a database and your credentials are grouped under `MY_GROUP` in `.env`
-DEVICE_DATA:
- PHONE:
- SOURCE:
- TYPE: DATABASE
- DATABASE_GROUP: *database_group
- DEVICE_ID_COLUMN: device_id # column name
- TIMEZONE:
- TYPE: SINGLE # SINGLE or MULTIPLE
- VALUE: *timezone
+# No need to change this if you collected AWARE data on a database and your credentials are grouped under `MY_GROUP` in `.env`
+DEVICE_DATA:
+ PHONE:
+ SOURCE:
+ TYPE: DATABASE
+ DATABASE_GROUP: *database_group
+ DEVICE_ID_COLUMN: device_id # column name
+ TIMEZONE:
+ TYPE: SINGLE # SINGLE or MULTIPLE
+ VALUE: *timezone
-############## PHONE ###########################################################
-################################################################################
+############## PHONE ###########################################################
+################################################################################
-# ... other irrelevant sections
+# ... other irrelevant sections
-# Communication call features config, TYPES and FEATURES keys need to match
-PHONE_CALLS:
- TABLE: calls # change if your calls table has a different name
- PROVIDERS:
- RAPIDS:
- COMPUTE: True # set this to True!
- CALL_TYPES: ...
-
+# Communication call features config, TYPES and FEATURES keys need to match
+PHONE_CALLS:
+ TABLE: calls # change if your calls table has a different name
+ PROVIDERS:
+ RAPIDS:
+ COMPUTE: True # set this to True!
+ CALL_TYPES: ...
+
-