cubiql
cubiql copied to clipboard
Get the hierarcical levels of a dataset's dimension
The query can look like:
{dataset_births{
dimensions{
uri
levels{
enum_name
label
}}}}
This will return for example for the referenceArea:
- datazones 2001
- council area
- electoral wards
- etc ...
Just clarifying that you mean the returned array is ordered from most-specific -> most-general
?
What we need is to get the granularity levels of a dimension that appear at a dataset. Yes it could be ordered
On Tue, 21 Nov 2017 at 19:11, Rick Moynihan [email protected] wrote:
Just clarifying that you mean the returned array is ordered from most-specific -> most-general?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Swirrl/graphql-qb/issues/54#issuecomment-346095613, or mute the thread https://github.com/notifications/unsubscribe-auth/ADPwb6XQHbgLW-bsyc0NA7VFSZuSDXwLks5s4wREgaJpZM4Ql9YM .