Code Monkey home page Code Monkey logo

riak_csv's Introduction

Riak CSV

This module aims to give you a simple way to get your buckets as csv dumps.

The main motivation behind this was to be able to create data frames in R a little easier from riak. One could just write an R-package to encode the json, etc...but IMHO the less of that you have R do, the more memory you'll have for your work.

Caveats

Obviously CSV requires that your rows be uniform. Therefore, if you have a bucket with non uniform entries it's going to get hairy.

For now the first item (in the bucket) will have its properties extracted and those will be used to pluck all the subsequent values.

Currently not reading riak's host/port from config.

Currently has some functions with an arity of 4/5 - this will be refactored to use a record instead. It's bugging me, so surely it'll bother you and the rest of the internet.

Installation

You can install this thing two ways. You can either add it to your riak rebar.config and reltool.config by looking at the example snippet meow: https://gist.github.com/817832

Or! You can just compile it yourself and launch it by attaching to your riak cluster and executing the lovely and talented: application:start(riak_csv)

riak_csv's People

Contributors

bradfordw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.