简体   繁体   中英

elastic search client using R packages

I am using elastic search as data store. In my project i need to analyze the elastic search data using R . In java i did these operations using es client. But i couldn't find any packages in R that support elastic search operations. I have tried using RCurl packages like this:

count <- fromJSON(getURL("http://localhost:9200/myindex/mytype/_count"))

But this is not i want. Is there any packages in CRAN or other repositories that perform elastic search operations?

Thanks

I've been working on an elasticsearch R client here https://github.com/ropensci/elastic

There's a bunch of examples here https://github.com/ropensci/elastic#quick-start

It is alpha software though, so expect changes. I'll try to get alot of work done on it next month.

Would love pull requests.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM