Closed spwoodcock closed 1 week ago
As a first pass, perhaps it might be good to just add some documentation for how to connect PowerBI or other tools directly to the ODK Collect OData endpoints?
This is a very quick win, as the endpoints are already available and should provide most of what we need!
Example OData endpoint (requires auth): https://odk.hotosm.org/v1/projects/86/datasets/features.svc/$metadata
This endpoint will be used to get all available endpoints and data, e.g. Entity data: https://odk.hotosm.org/v1/projects/86/datasets/features.svc/Entities
.
PowerBI
Tableau
Grafana
Redash
Start a new project, add a new data source 'OData Feed'
Use the OData URLs shown in the ODK docs:
a. Submission data: /v1/projects/{projectId}/forms/{xmlFormId}.svc
e.g. https://odk.hotosm.org/v1/projects/86/forms/df9135c8-84b1-4753-b348-e8963a8b4088.svc
a. Entity data: /v1/projects/{projectId}/datasets/{name}.svc
e.g. https://odk.hotosm.org/v1/projects/86/datasets/features.svc
Enter your credentials using Basic Auth
Preview the data
Transform data as needed, load into charts, graphs, etc, to create the dashboard you need.
This very basic example shows the mapping progress of project 86 in the production ODK Central server.
It shows that about 50% of buildings were mapped, with about 2% having issues (status=6)
[!NOTE] This is using ODK Central OData endpoints that are already available. This issue is about creating new OData endpoints.
While this may be useful to reassess in the future, I actually think the ODK Central endpoints provide pretty much everything we will need to cover most use cases!
@ramyaragupathy @manjitapandey I am confident this approach can fulfill all the requirements for the Tokha project coming up:
I'm going to close this issue in favour of another around documenting this process well, so that people can create their own visualisations easily.
[!NOTE] I do still think we should have a basic visualisation dashboard in FMTM to cover most user needs, for those that can't /won't be able to set up the proposed solution. But it's not the primary goal of FMTM.
so @spwoodcock , we will be using PowerBi or Redash?? I am not clear on this.
Both!
Redash needs more research into the config and is a possible long term solution for us + recommendation for technical users.
PowerBI is recommended for immediate use and non-technical users too. For Tokha at least we definitely recommend this 👍
Describing various options in different forms.
Note with these options we need to pay to host them...
Grafana has an OData plugin and is a fantastic CNCF project.
services:
grafana:
image: grafana/grafana-oss:11.2.0
container_name: grafana
restart: unless-stopped
ports:
- '3022:3000'
environment:
GF_INSTALL_PLUGINS: dvelop-odata-datasource
volumes:
- grafana-storage:/var/lib/grafana
volumes: grafana-storage:
In summary this is a tough decision!
Recommendation:
.pbix
file dashboard).
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
/projects/{project_id}.svc
Describe alternatives you've considered