From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: <62441@debbugs.gnu.org>
Cc: rekado@elephly.net
Subject: [bug#62441] [PATCH 4/4] gnu: Add r-ctrdata.
Date: Sat, 25 Mar 2023 18:45:55 +0100 [thread overview]
Message-ID: <20230325174555.837323-4-madalinionel.patrascu@mdc-berlin.de> (raw)
In-Reply-To: <20230325174555.837323-1-madalinionel.patrascu@mdc-berlin.de>
* gnu/packages/cran.scm (r-ctrdata): New variable.
---
gnu/packages/cran.scm | 46 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9b314bae43..6e70dd134a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -97,6 +97,7 @@ (define-module (gnu packages cran)
#:use-module (gnu packages pcre)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages php)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio) ;libsndfile
#:use-module (gnu packages protobuf)
@@ -396,6 +397,51 @@ (define-public r-cplm
comparison tool involving zero-inflated and highly skewed distributions.")
(license license:gpl2+)))
+(define-public r-ctrdata
+ (package
+ (name "r-ctrdata")
+ (version "1.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "ctrdata" version))
+ (sha256
+ (base32 "076v3bll8s6m61wcbwgrgrm34g0wa7gsc90mbwxwap1xfxyzjjsg"))))
+ (properties `((upstream-name . "ctrdata")))
+ (build-system r-build-system)
+ (inputs
+ (list coreutils
+ perl
+ php
+ sed))
+ (propagated-inputs
+ (list r-clipr
+ r-curl
+ r-dplyr
+ r-httr
+ r-jsonlite
+ r-lubridate
+ r-nodbi
+ r-rvest
+ r-stringi
+ r-xml2))
+ (native-inputs (list r-r-rsp))
+ (home-page "https://cran.r-project.org/package=ctrdata")
+ (synopsis "Retrieve and analyze clinical trials in public registers")
+ (description
+ "This package provides a system for querying, retrieving and analyzing
+protocol- and results-related information on clinical trials from three public
+registers, the @acronym{EUCTR, European Union Clinical Trials Register} @url{
+https://www.clinicaltrialsregister.eu/}, @acronym{CTGOV, ClinicalTrials.gov}
+@url{https://clinicaltrials.gov/} and the @acronym{ISRCTN, International Clinical
+Trials Registry Platform} @url{https://www.isrctn.com/}. Trial information is
+downloaded, converted and stored in a database. Functions are included to
+identify deduplicated records, to easily find and extract variables (fields) of
+interest even from complex nesting as used by the registers, and to update
+previous queries. The package can be used for meta-analysis and trend-analysis
+of the design and conduct as well as for results of clinical trials.")
+ (license license:expat)))
+
(define-public r-ctrialsgov
(package
(name "r-ctrialsgov")
--
2.39.2
next prev parent reply other threads:[~2023-03-25 17:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-25 10:24 [bug#62441] [patch] gnu: Add r-ctrialsgov, r-jsonify, r-nodbi, r-ctrdata Mădălin Ionel Patrașcu
2023-03-25 17:45 ` [bug#62441] [PATCH 1/4] gnu: Add r-ctrialsgov Mădălin Ionel Patrașcu
2023-03-25 17:45 ` [bug#62441] [PATCH 2/4] gnu: Add r-jsonify Mădălin Ionel Patrașcu
2023-03-25 17:45 ` [bug#62441] [PATCH 3/4] gnu: Add r-nodbi Mădălin Ionel Patrașcu
2023-03-25 17:45 ` Mădălin Ionel Patrașcu [this message]
2023-03-26 17:01 ` bug#62441: [PATCH 1/4] gnu: Add r-ctrialsgov Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230325174555.837323-4-madalinionel.patrascu@mdc-berlin.de \
--to=madalinionel.patrascu@mdc-berlin.de \
--cc=62441@debbugs.gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).