TerriaJS / terriajs

A library for building rich, web-based geospatial data platforms.
https://terria.io
Apache License 2.0
1.19k stars 364 forks source link

UI for filtering CSV data by column #1196

Open kring opened 8 years ago

kring commented 8 years ago

Add UI controls to the Now Viewing tab to allow the user to filter the data in a CSV file. For example, if one column in the CSV file is Year, the UI might allow the user to only show the points/regions where the Year is within a specified range. For numeric values, a double-sided slider is probably a good choice. For enums, checkboxes like the ones we see with ABS datasets could work.

This is related to our GovHack2014 project.

stevage commented 8 years ago

Related to #1209?

stevage commented 8 years ago

Came up as a requirement for ParlMap. They want to be able to filter a national dataset on a specific electorate (assuming that column exists), so that the color range is bounded to just that electorate. (Currently you often don't see much or any variation within a single electorate.)

AnaBelgun commented 8 years ago

Search by electorate came up as a requirement by AREMI Steering Committee and ARENA.

stevage commented 8 years ago

Ok, what do you mean by "search by electorate" though. There are potentially three different things:

AnaBelgun commented 8 years ago

I forgot now the initial discussion with ARENA, but I think they wanted to be able to search for an electorate name and zoom into it and also search/filter data based on a geospatial boundary, such as electorate.

AnaBelgun commented 8 years ago

So, I guess my comment doesn't belong to this particular issue, although it would be very useful for AREMI to filter csv data based on a column in that data, such as electorate

tephenavies commented 8 years ago

Allan Barger is keen for this too. Eg. for transaction data aggregated over quarters, where we no longer have the exact date of the transaction.