OpenGovIntelligence / json-qb-api-implementation

3 stars 3 forks source link

Adding /measures-values or compacting all value retrieval paths to one #3

Closed mohadelrezk closed 7 years ago

mohadelrezk commented 7 years ago

From @mohadelrezk on December 2, 2016 11:1

We have the following paths: @Path("/dimension-values") @Path("/attribute-values")

either we add @Path("/measure-values"), or compact the three paths to one as it uses same sparql query (getDimensionAttributeValues).

Copied from original issue: zeginis/JSON-QB-REST-API#4

zeginis commented 7 years ago

From @mohadelrezk on December 2, 2016 11:14

In the query for values of dim, attributes and measure distinct will influence data analysis results.

Copied from original issue: zeginis/JSON-QB-REST-API#7

zeginis commented 7 years ago

The @Path("/dimension-values") @Path("/attribute-values") return the distinct values of a dimension/attribute. E.g for the sex dimension it will return: {male, female, all}

They are not ment to be used for data analysis but to get information about the dimensions and the values used.

For the analysis you should use @Path("/slice") or @Path("/table")