GithubHelp home page GithubHelp logo

ona.r's Introduction

formhub.R =========

formhub.R is a library for making reading data form ona.io into R easier. Fork me on GitHub

Examples

For most of the examples, I use the ggplot2 library, which is an amazing data visualization library worth every minute of your time spent learning it.

Installing formhub.R

The package for formhub.R in R is simply called formhub. For now, it cannot be installed from CRAN, but using Hadley Wickam's excellent devtools package, you can install it directly from github. To install (or upgrade), run the following commands from your R terminal:

install.packages('devtools') 
library(devtools)
install_github("formhub.R", username="SEL-Columbia")
library(formhub)

And voila! The formhub package is installed in your R system! You can check by running:

help(formhubDownload)

Features

At the moment, it has the following features:

  • One command download of ona.io data -- both public and private
  • (Automatic) casting of data to the right type, based on the type of the input field in XLSform
    • select one fields are converted to factors
    • integer/decimal converted to numerics
    • date fields (including today), and datetime fields (including start and end) are converted to lubridate instants [timezone information is discarded at the moment]
    • TRUE / FALSE fields created out of select multiple options are converted into booleans
  • removeColumns convenience function that removes columns based on matching the title with a regular expression
  • 'extra-schema' over-ride.

For planned features, go to the issues page.

ona.r's People

Contributors

popstick avatar

Watchers

 avatar  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.