context("indices.get API")
es = ElasticsearchClient("http://localhost:9200")
if (!indices.exists(es, "test_r_elasticsearch")$exists) {
indices.create(es, "test_r_elasticsearch")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.