powered by
Pretty-print aggs and query JSON objects.
# S3 method for elastic_api print(x, ...)
elastic_query or elastic_aggs object.
elastic_query
elastic_aggs
For consitency with all other print methods.
print
Character string of pretty-printed JSON object.
# NOT RUN { all_docs <- query('{"match_all": {}}') print(all_docs) # }
Run the code above in your browser using DataLab