crertel / cityxr-data-engine Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
The REST api needs to allow users to query a data source's values at a particular time.
Users should specify:
(check the config table is_disabled flag for where we might be able to store this)
The REST api needs to allow users to query a data source's values between two times, on a closed-open interval.
We need a page to view the different run status and data values. This can live in the ingest server, which already has a lot of this.
This needs to:
The data server needs to be able to send updates to clients that are subscribed to a data source over websockets.
Subscribers are notified once a run completes. Historical data must be fetched using the API.
Process of subscription for websockets is:
NOTIFY
perhaps? see example gist somebody used here), notify subscribers through websockets that new data is available.Clients subscribe using this method:
{
"ds": "<datasource id>",
"a": "sub"
}
To unsubscribe:
{
"ds": "<datasource id>",
"a": "unsub"
}
Once subscribed, a client should expect messages of the form:
{
"t": "<RFC3339 timestamp of sending time",
"rid"
"ds": "<datasource id>",
"d" : [
<data frames as objects whose keys are the column names and whose values are the data points>
]
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.