Skip to content

Commit 9d22aa0

Browse files
Jingjing TangJingjing Tang
authored andcommitted
Added explainations to TestDate and StorageDate
1 parent 3637c8e commit 9d22aa0

File tree

1 file changed

+7
-1
lines changed
  • quidel_covidtest/delphi_quidel_covidtest

1 file changed

+7
-1
lines changed

quidel_covidtest/delphi_quidel_covidtest/pull.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,13 @@ def fix_zipcode(df):
7474

7575
def fix_date(df):
7676
"""
77-
Quidel Covid Test are labeled with Test Date and Storage Date.
77+
Quidel Covid Test are labeled with Test Date and Storage Date. In principle,
78+
the TestDate should reflect when the test was performed and the StorageDate
79+
when the test was logged in the MyVirena cloud storage device. We expect
80+
that the test date should precede the storage date by several days. However,
81+
in the actual data the test date can be far earlier than the storage date
82+
and the test date can also occur after the storage date.
83+
7884
- For most of the cases, use test date as the timestamp
7985
- Remove tests with a storage date which is earlier than the test date
8086
- If the storage date is 90 days later than the test date, the storage

0 commit comments

Comments
 (0)