Subject: [PATCH] gnu: Add r-oenb.

From: Danjela lura <[email-masked]>
Date: Sat, 28 Mar 2020 11:13:21 +0100

From: Danjela Lura <[email-masked]>

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 759b9263f3..9dd24d164d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2019 Nicolò Balzarotti <[email-masked]>
 ;;; Copyright © 2019 Wiktor Żelazny <[email-masked]>
 ;;; Copyright © 2020 Todor Kondić <[email-masked]>
+;;; Copyright © 2020 Danjela Lura <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -100,6 +101,31 @@
 the system clipboards.")
     (license license:gpl3)))
 
+(define-public r-oenb
+  (package
+    (name "r-oenb")
+    (version "0.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "oenb" version))
+       (sha256
+        (base32
+         "1x1jlqp6r27c4gb7wafzpmh5rq6yq61a2d395r5lsmv2g5jb4biz"))))
+    (properties `((upstream-name . "oenb")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-dplyr" ,r-dplyr)
+       ("r-xml" ,r-xml)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/franzmohr/oenb")
+    (synopsis "Tools for the OeNB Data Web Service")
+    (description
+     "Tools to access data from the data web service of the
+@acronym{OeNB, Oesterreichische Nationalbank},
+@url{https://www.oenb.at/en/Statistics/User-Defined-Tables/webservice.html}.")
+    (license license:gpl2+)))
+
 (define-public r-scales
   (package
     (name "r-scales")
-- 
2.25.1