Comments (2)
I've been working through the refactor design issues on this ticket and have made some progress. My proposal is the following:
- add a
--days
flag that lets mobility-metrics know how many days of data to include before the specified report day (--day
) - add date range to the top of the report
- go back to one summary per report with the summary covering whatever the specified date range happens to be (currently there is a 1 day, 7 days, and 30 days summary)
- For maps, use all data within the query range and modify the format to eliminate the day keys; hours and minutes bins will group data across days
I'm still working on a PR for this, so let me know if there are objections or other ideas for how this should be designed. I will have a testable branch out early next week.
from mobility-metrics.
Addressed in v4.0 release. I changed the initial designs here a bit. The --day flag was deprecated in favor of:
- startDay
- first day of aggregation window
- endDay
- last day of aggregation window
- reportDay
- date used for listing the report; created date
Additionally, you can now add a "lost" property to your config specifying a number of days before a vehicle is considered lost in action, so that it will no longer affect availability or onstreet metrics after going silent. The raw data cache will use the lost property to pull data from before your aggregation window, but this data will not factor into metrics, other than detecting deployed vehicles. Defaults to 2 days.
from mobility-metrics.
Related Issues (20)
- trip & status hashing HOT 1
- report hashing HOT 1
- Add report signature to report interface HOT 1
- export all dump failure HOT 1
- bug in weekly aggregates
- Make the timezone configurable
- Add ability to specify MDS version HOT 2
- document config options HOT 1
- Ability to configure which summary statistics appear HOT 2
- MDS specifies min_end_time query parameter for trips, but this uses start_time & end_time HOT 5
- add hover popup showing stats on maps
- polygon filter HOT 1
- vehicle type filter HOT 1
- docker based deployment HOT 1
- [Nodejs 12] Problem with Mapbox dependency during installation HOT 2
- --version,-v flag HOT 1
- Zones optionality brakes geo aggregation
- Problem installing mobility-metrics on Linux HOT 1
- Add User-Agent to Header HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobility-metrics.