[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/08: gnu: Add r-janitor.

From: guix-commits
Subject: 04/08: gnu: Add r-janitor.
Date: Mon, 4 Jul 2022 07:51:25 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 4aee04819e98d1fecf8b0d3c59d2c34f47bad2c5
Author: Ricardo Wurmus <>
AuthorDate: Mon Jul 4 13:19:22 2022 +0200

    gnu: Add r-janitor.
    * gnu/packages/cran.scm (r-janitor): New variable.
 gnu/packages/cran.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index de6986d1eb..57c2ae5d15 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -28942,6 +28942,46 @@ novels, ready for text analysis.  These novels are 
\"Sense and Sensibility\",
 and \"Persuasion\".")
     (license license:expat)))
+(define-public r-janitor
+  (package
+    (name "r-janitor")
+    (version "2.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "janitor" version))
+              (sha256
+               (base32
+                "09nqm957m2f54y2l30619b58x4i7gxwvr2lwg5kly5xy1ya1a1nn"))))
+    (properties `((upstream-name . "janitor")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-dplyr
+           r-lifecycle
+           r-lubridate
+           r-magrittr
+           r-purrr
+           r-rlang
+           r-snakecase
+           r-stringi
+           r-stringr
+           r-tidyr
+           r-tidyselect))
+    (native-inputs (list r-knitr))
+    (home-page "";)
+    (synopsis "Simple tools for examining and cleaning dirty data")
+    (description
+     "The main janitor functions can: perfectly format @code{data.frame column}
+names; provide quick counts of variable combinations (i.e., frequency tables
+and crosstabs); and isolate duplicate records.  Other janitor functions nicely
+format the tabulation results.  These tabulate-and-report functions
+approximate popular features of SPSS and Excel.  This package follows the
+principles of the \"tidyverse\" and works well with the pipe function
+@code{%>%}.  janitor was built with beginning-to-intermediate R users in mind
+and is optimized for user-friendliness.  Advanced R users can already do
+everything covered here, but with janitor they can do it faster and save their
+thinking for the fun stuff.")
+    (license license:expat)))
 (define-public r-tokenizers
     (name "r-tokenizers")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]