Skip to content

Commit 2448628

Browse files
authored
Merge pull request #275 from sgsmob/release_safegraph
Documentation update for smoothed safegraph signals
2 parents 6e013a7 + 2fcb498 commit 2448628

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/api/covidcast-signals/safegraph.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ documentation](https://docs.safegraph.com/docs/social-distancing-metrics).
3333
| `full_time_work_prop` | The fraction of mobile devices that spent more than 6 hours at a location other than their home during the daytime (SafeGraph's `full_time_work_behavior_devices / device_count`) |
3434
| `part_time_work_prop` | The fraction of devices that spent between 3 and 6 hours at a location other than their home during the daytime (SafeGraph's `part_time_work_behavior_devices / device_count`) |
3535
| `median_home_dwell_time` | The median time spent at home for all devices at this location for this time period, in minutes |
36+
| `completely_home_prop_7dav` | Offers a 7-day trailing window average of the `completely_home_prop`. |
37+
| `full_time_work_prop_7dav` | Offers a 7-day trailing window average of the`full_time_work_prop`. |
38+
| `part_time_work_prop_7dav` | Offers a 7-day trailing window average of the`part_time_work_prop`.|
39+
| `median_home_dwell_time_7dav` | Offers a 7-day trailing window average of the `median_home_dwell_time`.|
3640

3741
After computing each metric on the census block group (CBG) level, we aggregate
3842
to the county-level by taking the mean over CBGs in a county to obtain the value
@@ -42,6 +46,11 @@ doing so, we make the simplifying assumption that each CBG contributes an iid
4246
observation to the county-level distribution. `n` also serves as the sample
4347
size. The same method is used for aggregation to states.
4448

49+
SafeGraph's signals measure mobility each day, which causes strong day-of-week effects:
50+
weekends have substantially different values than weekdays. Users interested in long-term
51+
trends, rather than mobility on one specific day, may prefer the `7dav` signals since
52+
averaging over the preceding 7 days removes these day-of-week effects.
53+
4554
## Lag
4655

4756
SafeGraph provides this data with a three-day lag, meaning estimates for a

0 commit comments

Comments
 (0)