Bookworm-project / BookwormAPI

An API implementing a grammar for text analysis
MIT License
13 stars 1 forks source link

Allow "aesthetic" in the API? #3

Open bmschmidt opened 11 years ago

bmschmidt commented 11 years ago

Think about whether to allow queries to be passed to API with an 'aesthetic' field instead of a 'groups' and 'counts' field. The API would just do the resolution, essentially, but it might also constrain results (for an x-axis aesthetic, for example, it could restrain the query to the top 100 groups by default). That would speed up both query times and network transmission times, which can be quite significant on some of the huge grid queries.