Allow for better data exploration from the dataset page

Created on Friday 30 September 2022, 14:30

Back to task list
  • ID
    1014051
  • Project
    Metabolism of Cities Data Hub
  • Status
    Completed
  • Priority
    Medium
  • Type
    Programming work
  • Tags
    General data hub improvements
  • Assigned to
    Paul Hoekman
  • Subscribers
    Paul Hoekman

You are not logged in

Log In Register

Please join us and let's build things, together!

Description

Currently we have a dataset page where we show the data visualization and a data table (if it was turned on). However, other than that those pages are identical to other library item pages. It's time to spice them up with additional tools only available to datasets.

Discussion and updates


New task was created


Task was assigned to Paul Hoekman


Status change: Open → In Progress


A bit cryptic but intriguing. I wonder how things will be spiced up!


I worked on this last year and I developed some new tools. The following options are available to browse data pages:

  • Material filter: this allows you to only visualize specific filters within the dataset you are viewing
  • Location filter: if the dataset covers multiple locations then you can simply select which space(s) you want to restrict the visualizations to
  • Temporal filter: same but for time series filtering
  • Data download: option to download all data or only the filtered data
  • Geospatial boundary: this allows you to filter the data based on any geospatial boundary present in the system. Let's say you have a dataset that covers all cities in a country (at city-level). At the same time the system has the shapefile of all provinces in the system. You can then apply a geospatial boundary to your dataset and select a specific province, and the system will then show/visualize only data from cities that are within that particular province.

This new format can be viewed by adding:
?data-layout=true

To any dataset page. Example: https://data.metabolismofcities.org/dashboards/cape-town/datasets/33052/?data-layout=true

I have stepped down from my role at Metabolism of Cities but if any future volunteer programmer wants to ask any question about this, feel free to get in touch. If the format needs to be activated for any of the websites as the default view for datasets, then a programmer can use the 'data-layout' variable in the library/views.py file (and configure any required conditioning there).


Status change: In Progress → Completed