Skip to content

Commit

Permalink
v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
morganherlocker committed Nov 4, 2019
1 parent 79a68d9 commit e608835
Show file tree
Hide file tree
Showing 12 changed files with 1,060 additions and 27,659 deletions.
26 changes: 24 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,33 @@
CHANGELOG
---

### 3.0.2
## 4.0.0

- add custom zone aggregation for pickups and dropoffs
- fix bug where map would not immediately refresh when unselecting minute time filter
- deprecate --day flag from CLI
- add startDay, endDay, and reportDay flags to CLI
- add support for aggregation windows of arbitrary size, enabling weekly, monthly, annual, etc. reports
- refactor geographic aggregators to support multi-day aggregation windows
- add warmup config for detecting vehicles deployed before aggregation window
- add configurable summary options for selecting which metrics appear in UI
- deprecate 7 day / 30 day snapshots in favor of dedicated reports
- add accessible hover tooltips for all metrics
- improve report hash styling
- update all metric descriptions in readme documentation
- add canonical config documentation to readme
- intuitive descriptions of MDS status codes in fleet status chart legend
- implement report diffing algorithm for detecting changes
- add report history to listing page with diff statistics UI
- update demo to show census blocks
- fixed "timesliders get stuck" bug
- add zoom option to example config

## 3.0.2

- fix report listing template using legacy format

### 3.0.1
## 3.0.1

- cartographic changes to improve quantile classes in custom zones

Expand Down
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,36 @@ npm install -g mobility-metrics

## Configuration

A `config.json` file is required to run Mobility Metrics. Enable providers and set credentials through this file. This file is used to store access tokens - **handle with care, these tokens are sensitive!**. See the config file in `/example/example.json` for details.
A `config.json` file is required to run Mobility Metrics. Enable providers and set credentials through this file. This file is used to store access tokens - **handle with care, these tokens are sensitive!**. See the config file in `/example/example.json` for a working example.

### Options

- `boundary`
- a GeoJSON bounding box array used for downloading the street network for matching
- `center`
- default map center represented as a coordinate array
- `zoom`
- default map zoom level
- `privacyMinimum`
- minimum unique record count for geographic trip volumes and origin destination flows
- `lost`
- maximum number of days without status change before vehicles are permanently lost
- `summary`
- enabled or disabled metrics in summary UI
- `providers`
- list of providers to query
- `type`
- "local" for data off disk or "mds" for data off MDS provider API
- `trips`
- URI of trip data
- `status_changes`
- URI of status change event feed
- `token`
- token for MDS API; blank if local
- `enabled`
- true or false
- `zones`
- optional GeoJSON FeatureCollection of Polygons and/or MultiPolygon with a unique property named `id`

## Provider types

Expand Down
Loading

0 comments on commit e608835

Please sign in to comment.