thoughtgap / arc-analysis

Frontend for data returned by arc-data-server
0 stars 0 forks source link

Frontend app for data analysis #1

Open PalminX opened 5 years ago

PalminX commented 5 years ago

A frontend (web-)app for exploring the timeline data provided by the arc-data-server would be great.

Features:

sobri909 commented 5 years ago

I might actually have a TypeScript port of LocoKit's Histogram.swift, which could be used for building histograms for visualisations of things like start times, end times, etc (same as how Arc does for common arrival times, leaving times, etc).

It uses the FD rule for deciding the number of bins, given the source data. So it tends to make nicely distributed histograms.

I'll have a hunt around in the code for it. (LocoKit's server side uses it for building the GD activity type models from the UD models).

sobri909 commented 5 years ago

Ah damn. I just found it, and it's got all the useful bits stripped out and is purely used for combining UD models into GD models, so it doesn't have the FD rule stuff, or histogram creation from arrays of values.

But you can at least see the Swift version here, in the LocoKit repo. That has nice things like FD rule bin counts, and finding the peak bars/ranges (ie most common values), etc.

thoughtgap commented 5 years ago

I'm working on this. Will end up in a separate repository.

thoughtgap commented 5 years ago

I released a rough draft of such a frontend as arc-analysis. It is also available via github pages, but doesn't like to consume the non-https content from arc-data-server so far. So right now it's still required to build and run it yourself.