Code Monkey home page Code Monkey logo

upfront's Introduction

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Signed by Signed commit %

Minimal R Version License

upfront

Base R Convenience Wrappers That Put Data Up Front

Description

A series of functions that help use the new built-in pipe operator in R without the need for the heft of the tidyverse.

What’s Inside The Tin

The following functions are implemented:

  • arrange: Convenience data frame sorter
  • bind_cols: More convenient cbind.data.frame
  • bind_rows: More convenient do.call(rbind.data.frame, …)
  • capture_error: More convenient capture.output
  • capture_output: More convenient capture.output
  • compact: Discard empty elements
  • count: Convenience aggregate
  • dfilter: Convenience subset
  • discard: Discard elements based on condition
  • dselect: Convenience extract
  • %l0%: Infix length 0
  • is_empty: Infix is empty
  • is_even: Infix is even
  • is_false: Infix is false
  • is_negative: Infix is negative
  • is_odd: Infix is odd
  • is_positive: Infix is positive
  • is_true: Infix is TRUE
  • is_zero: Infix is zero
  • keep: Keep elements based on condition
  • map_chr: Typed Map
  • map_dbl: Typed Map
  • map_df: Typed more convenient Map
  • map_dfc: Typed more convenient Map
  • map_dfr: Typed more convenient Map
  • map_int: Typed Map
  • map_lgl: Typed Map
  • map: More convenient Map
  • map2_chr: Typed more convenient Map
  • map2_dbl: Typed more convenient Map
  • map2_df: Typed more convenient Map
  • map2_dfc: Typed more convenient Map
  • map2_int: Typed more convenient Map
  • map2_lgl: Typed more convenient Map
  • map2: More convenient mapply
  • possibly: More convient try
  • quietly: More convenient suppressWarmings
  • safely: More convenient try
  • set_names: Set object names
  • walk: Less noisy lapply
  • walk2: Less noisy, more convenient lapply

Installation

remotes::install_github("hrbrmstr/upfront")

NOTE: To use the ‘remotes’ install options you will need to have the {remotes} package installed.

Usage

library(upfront)

# current version
packageVersion("upfront")
## [1] '0.1.0'

upfront Metrics

Lang # Files (%) LoC (%) Blank lines (%) # Lines (%)
R 3 0.38 291 0.5 75 0.5 103 0.5
YAML 1 0.12 1 0.0 0 0.0 0 0.0
SUM 4 0.50 292 0.5 75 0.5 103 0.5

{cloc} 📦 metrics for upfront

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

upfront's People

Contributors

hrbrmstr avatar

Stargazers

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