summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLars-Dominik Braun <ldb@leibniz-psychology.org>2021-03-15 10:42:29 +0100
committerLars-Dominik Braun <ldb@leibniz-psychology.org>2021-03-15 10:53:18 +0100
commit181e3c01282f9260a5ff868d15369521bedb3583 (patch)
treeef4799066ac7811d780d4b9b2556f203c7264db7 /gnu
parent83b6d7a33e559b688f34822ec7ef28d63ab28924 (diff)
downloadguix-181e3c01282f9260a5ff868d15369521bedb3583.tar.gz
gnu: Add r-rtweet.
* gnu/packages/cran.scm (r-rtweet): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index bd3c040d1d..37a13b4c1a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -27965,3 +27965,34 @@ supply the workflow to create thematic maps.  This package also facilitates
     (description
       "Enables mapping of country level and gridded user datasets.")
     (license license:gpl2+)))
+
+(define-public r-rtweet
+  (package
+    (name "r-rtweet")
+    (version "0.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "rtweet" version))
+        (sha256
+          (base32
+            "05pbvxm2vmf6935b9s6663k3aifnkr3m52wh2jvnplmrwyrfpn9n"))))
+    (properties `((upstream-name . "rtweet")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-httpuv" ,r-httpuv)
+        ("r-httr" ,r-httr)
+        ("r-jsonlite" ,r-jsonlite)
+        ("r-magrittr" ,r-magrittr)
+        ("r-progress" ,r-progress)
+        ("r-rcpp" ,r-rcpp)
+        ("r-tibble" ,r-tibble)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+      "https://docs.ropensci.org/rtweet/")
+    (synopsis "Collecting Twitter Data")
+    (description
+      "An implementation of calls designed to collect and organize Twitter data
+via @url{https://developer.twitter.com/en/docs,Twitter's REST and stream
+Application Program Interfaces (API)}.")
+    (license license:expat)))