ni1o1 / transbigdata

A Python package develop for transportation spatio-temporal big data processing, analysis and visualization.
https://transbigdata.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
455 stars 115 forks source link

0.4.10 #54

Closed ni1o1 closed 2 years ago

ni1o1 commented 2 years ago

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.

codecov-commenter commented 2 years ago

Codecov Report

Merging #54 (c3172ae) into main (a00a1c6) will increase coverage by 0.29%. The diff coverage is 92.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.