It’s frustrating to reinvent the wheel just to do basic data science. We’ve experienced that here at Civis, which is why we’re always automating these tasks by adding them to the Civis Data Science API. By coding with the Data Science API, you can take advantage of everything Civis Platform can do, including our favorite data science workflows, like CivisML for building models at scale with scikit-learn.
Today, we are pleased to announce we’ve open sourced civis-r, the official R interface to the Civis Data Science API. With civis-r you can use the cloud compute, machine learning, and reporting capabilities of Civis with your favorite R tools. If Python is your language of choice, see our previous post on open sourcing the Python client and this post for examples of how the Civis Data Science API can make your life easier.
So what can you do with civis-r? For starters, you can move your data to and from the cloud with a single line of code. Your data can be stored as rows in a table, CSVs on a remote file system, or even as serialized R objects like nested lists. For example,
Civis-r also includes functionality for working with CivisML, Civis's machine learning service. With the combined power of CivisML and civis-r, you can build models in the cloud where the models can use as much memory as they need and there’s no chance of your laptop crashing.
Huh, I guess we'll call that a tie.
I could keep going on about the features in civis-r, including publishing reports or predicting on huge datasets in parallel, but I don't want to spoil the joy you'll get from discovering on your own. You can start the journey with the full documentation, creating an API key and, of course, installing:
Hope you enjoy civis-r,
Patrick and Keith
This post was co-authored by Patrick M.