Elasticsearch Data Analysis with R


At ropensci conf right now - will get to this soon - thanks for your question


Hi Sckott,
Can you kindly look into the issue as soon as you can. I am a bit stuck in
my project due to this issue.
Thanks. Your help will be greatly appreciated.


Yes, you probably want aggregations - and probably within that want metrics aggregations - but check to make sure.

There’s examples of doing aggregation queries in the docs for elastic::Search

Did you try the parameter asdf - it attempts to coerce output to a data.frame, and is likely to be useful when doing aggregations