'evidentiaRy' (/ˌevəˈden(t)shəRē/) is a set of packages and functions that help non-profit organizations wrangle data and perform small and big tests of change. This package is designed to make it easy to install and load multiple packages and helpful functions in a single step.
This package was seeded by cloning the 'tidyverse' described at https://tidyverse.org. The tidyverse is a set of packages that work in harmony because they share common data representations and API design. The tidyverse package is designed to make it easy to install and load core packages from the tidyverse in a single command.
# Install from CRAN (at some point)
# install.packages("evidentiaRy")
# Or the development version from GitHub
# install.packages("devtools")
devtools::install_github("project-evident/evidentiaRy")
library(evidentiaRy)
will load the core evidentiaRy packages:
You also get a condensed summary of conflicts with other packages you have loaded:
library(evidentiaRy)
#> ── Attaching packages ───────────────────────────────────────────────────────────────────────── evidentiaRy 0.1 ──
#> ✔ ggplot2 2.2.1 ✔ purrr 0.2.4
#> ✔ tibble 1.4.2 ✔ dplyr 0.7.4
#> ✔ tidyr 0.8.0 ✔ stringr 1.3.0
#> ✔ readr 1.1.1 ✔ forcats 0.3.0
#> ── Conflicts ────────────────────────────────────────────────────────────────────────── evidentiaRy_conflicts() ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag() masks stats::lag()
You can see conflicts created later with evidentiaRy_conflicts()
:
library(MASS)
#>
#> Attaching package: 'MASS'
#> The following object is masked from 'package:dplyr':
#>
#> select
evidentiaRy_conflicts()
#> ── Conflicts ────────────────────────────────────────────────────────────────────────── evidentiaRy_conflicts() ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag() masks stats::lag()
#> ✖ MASS::select() masks dplyr::select()
And you can check that all tidyverse packages are up-to-date with evidentiaRy_update()
:
evidentiaRy_update()
#> The following packages are out of date:
#> * broom (0.4.0 -> 0.4.1)
#> * DBI (0.4.1 -> 0.5)
#> * Rcpp (0.12.6 -> 0.12.7)
#> Update now?
#>
#> 1: Yes
#> 2: No
As well as the core tidyverse, installing this package also installs a selection of other packages that you're likely to use frequently, but probably not in every analysis. This includes packages for:
Working with specific types of vectors:
Importing other types of data:
Modelling
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.