Closed ni1o1 closed 2 years ago
Merging #54 (c3172ae) into main (a00a1c6) will increase coverage by
0.29%
. The diff coverage is92.90%
.
@@ Coverage Diff @@
## main #54 +/- ##
==========================================
+ Coverage 89.35% 89.65% +0.29%
==========================================
Files 26 28 +2
Lines 2453 2532 +79
==========================================
+ Hits 2192 2270 +78
- Misses 261 262 +1
Impacted Files | Coverage Δ | |
---|---|---|
src/transbigdata/mobilephonedata.py | 91.97% <91.97%> (ø) |
|
src/transbigdata/__init__.py | 100.00% <100.00%> (ø) |
|
src/transbigdata/tests/test_mobile.py | 100.00% <100.00%> (ø) |
|
src/transbigdata/traj.py | 87.27% <100.00%> (+0.38%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update a00a1c6...c3172ae. Read the comment docs.
Update the mobile phone data processing function, See example for detail usage. Add functions:
transbigdata.mobile_stay_move
Input trajectory data and gridding parameters, identify stay and move.
transbigdata.mobile_stay_dutation
Input the stay point data to identify the duration during night and day time.
transbigdata.mobile_identify_home
Identify home location from mobile phone stay data. The rule is to identify the locations with longest duration in night time.
transbigdata.mobile_identify_work
Identify work location from mobile phone stay data. The rule is to identify the locations with longest duration in day time on weekdays(Average duration should over
minhour
).transbigdata.mobile_plot_activity
Plot the activity plot of individual.