From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OIicB80zH2TEzQAASxT56A (envelope-from ) for ; Sat, 25 Mar 2023 18:47:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wAeLB80zH2TsUgEA9RJhRA (envelope-from ) for ; Sat, 25 Mar 2023 18:47:57 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BC3CE1024D for ; Sat, 25 Mar 2023 18:47:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pg7yy-00051Z-46; Sat, 25 Mar 2023 13:47:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pg7yq-0004zR-Me for guix-patches@gnu.org; Sat, 25 Mar 2023 13:47:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pg7yq-0005nn-E1 for guix-patches@gnu.org; Sat, 25 Mar 2023 13:47:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pg7yp-00087y-9i; Sat, 25 Mar 2023 13:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62441] [PATCH 4/4] gnu: Add r-ctrdata. Resent-From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Original-Sender: "Debbugs-submit" Resent-CC: rekado@elephly.net, guix-patches@gnu.org Resent-Date: Sat, 25 Mar 2023 17:47:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62441 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: <62441@debbugs.gnu.org> Cc: rekado@elephly.net X-Debbugs-Original-Xcc: rekado@elephly.net Received: via spool by 62441-submit@debbugs.gnu.org id=B62441.167976640431189 (code B ref 62441); Sat, 25 Mar 2023 17:47:03 +0000 Received: (at 62441) by debbugs.gnu.org; 25 Mar 2023 17:46:44 +0000 Received: from localhost ([127.0.0.1]:43418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pg7yW-00086z-9m for submit@debbugs.gnu.org; Sat, 25 Mar 2023 13:46:44 -0400 Received: from b2062.mx.srv.dfn.de ([194.95.234.172]:59757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pg7yK-00085w-HV for 62441@debbugs.gnu.org; Sat, 25 Mar 2023 13:46:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received; s=mdc; t=1679766386; x=1681580787; bh=lKxij0GKexrq5jyvTIGWeispF7hGWuEkJgEAzGd2WOk=; b=BoncWdrbkmtp BL6+OJQrvmCZ3GOuhGIIqLQvGq0klDCLbV2F4NbM0PzgpTlnZTN5jXqgRBnG1CfW wk580k35R0+yOb/0dtWYv0MEMnXxwfZ6JXWItq0ItdKCfR1m/8m9IEke0k5Yd+wb /LbMHfhZZNd2YFIssPNi92M/c9sKJIA= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by b2062.mx.srv.dfn.de (Postfix) with ESMTPS id 9BB3C16014E for <62441@debbugs.gnu.org>; Sat, 25 Mar 2023 18:46:26 +0100 (CET) Received: from pimi-TRX40-AORUS-PRO-WIFI.lan (77.23.232.54) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Sat, 25 Mar 2023 18:46:21 +0100 From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Date: Sat, 25 Mar 2023 18:45:55 +0100 Message-ID: <20230325174555.837323-4-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230325174555.837323-1-madalinionel.patrascu@mdc-berlin.de> References: <20230325174555.837323-1-madalinionel.patrascu@mdc-berlin.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [77.23.232.54] X-ClientProxiedBy: SW-IT-P-EX1.mdc-berlin.net (141.80.113.54) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3092-9.0.1002-27526.001 X-TM-AS-Result: No-10-3.500300-5.000000 X-TMASE-MatchedRID: ZAkTtSyZ7B7/R1NSMc2qCU7nLUqYrlslFIuBIWrdOePfUZT83lbkEPVS VC7uYV8ESQyRa2QqiAppuUdAUcH4tSq+GZ9ZHxIhuW77/y896siFzNNPDc6umBHfiujuTbedBO6 2kWcWGBhu4z/YYEdR45bpyCR4N2Viq2NInS93zS9oMLOoNHsM9rLZpUHs8KMVpz4V9BzQ0RpwuO Ip1++GNwWy+slqkucq38BVk5/okjyLBhscdVmCC4FhphRl/QgVN5dqZcIK7VgCHZkKE/8Uqp6ba /D5x6cp4vM1YF6AJbbY2hczJbMEQgtuKBGekqUpOlxBO2IcOBYFPVJaadF6GoKXCgPaz4KMCxLZ 5MCYylxqJ3jSe0KrrSQTUdsZa70Jjxkh99Y595kohu0bpV5Ex0MP4oSvXW48/gL0Zxhzykd+3Bn dfXUhXQ== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-3.500300-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27526.001 X-TM-SNTS-SMTP: 3A90914720C714FACA7E7756E67FA6AB47DD8D5AC4456D49C027E0B764512CCD2002:F X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679766476; a=rsa-sha256; cv=none; b=JzXfBs0f5OquNe8Ghy12wS+TQTKw7FdC33TNIcBBMuVwxnu9FDveertoVWAK9PsOLZtrEa ljDO8YEjocYZMyAcCFv0XRDVf8Pcilh2R1UJdC0tqwCyDFtSDDyD6969WTgykbW5sJO9Pm +oZ9Hbnp+tzutOyHXS2tzuaGXJzIh/PBYHxYcQqcDU2SbrGKA5nTEXvSXbNOv5oePlWxYT GxEiee9qb803VXxJTbw7azzK9ktRST4IUlc7pRxaF4z+rsNpOQu1a10jmJZqq3OB/83Nqd eXGC+tzv6pOwGHfR8AweBxdVajaFS70nwwYaDxKfe3FE7W4lxsXt8XgZDt2Fpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=BoncWdrb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679766476; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=40bT0H3OHDOJQMlmuFHeyZCZDs33aARaWnB7o3pQv3Q=; b=roQxjyfJFLnM4fDzsMnTgSoIzAW0y3L9WrGjmNBce/WFH+0MKoSp5hUJeH7r+7BBPwywt2 cZupVYD3iHZrwYYy0N6LiKR+9GgqfohDoYdtcW1hJnGjSkidYAhyyEQhzJeTgqi70FB125 kV4TKL8qvFUrdcYJC5ydJsjtvv2T0n6Dd0wd9LZvxziKjPUBtNTkl1G79lEHmB0U8rVcvM gBj7wCtlQWLVHow0jRkSE+tURc8MwdYZPayInXhqKjku2SX+X7L2o51uutAuCKqHEp2tfO ALonrf/sREGq3OrD57XuFSHdccP3XfywW9lZg7bHwhf9gixKpNJViGMn4qAyAw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=BoncWdrb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.03 X-Spam-Score: -1.03 X-Migadu-Queue-Id: BC3CE1024D X-TUID: ARrBjKZ9g+Uh * 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