rtweet

rtweet: Collecting and analyzing Twitter data - Published in JOSS (2019)

https://github.com/ropensci-archive/rtweet

Science Score: 46.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
    7 of 53 committers (13.2%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.1%) to scientific vocabulary

Keywords

r twitter

Keywords from Contributors

tidyverse reproducibility ropensci tidy-data json-ld codemeta rstats-package crypto-currency-exchanges wildlife makefile

Scientific Fields

Sociology Social Sciences - 87% confidence
Last synced: 4 months ago · JSON representation

Repository

🐦 R client for interacting with Twitter's [stream and REST] APIs

Basic Info
Statistics
  • Stars: 787
  • Watchers: 36
  • Forks: 197
  • Open Issues: 0
  • Releases: 13
Archived
Topics
r twitter
Created over 9 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog Contributing License Codemeta

README-old.Rmd

---
output: github_document
---



```{r, echo = FALSE}
knitr::opts_chunk$set(
  eval = TRUE,
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
```

# rtweet 


[![R-CMD-check](https://github.com/ropensci/rtweet/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ropensci/rtweet/actions/workflows/R-CMD-check.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/rtweet)](https://cran.r-project.org/package=rtweet)
[![Coverage Status](https://codecov.io/gh/ropensci/rtweet/branch/master/graph/badge.svg)](https://app.codecov.io/gh/ropensci/rtweet?branch=master)
![Downloads](https://cranlogs.r-pkg.org/badges/rtweet)
[![ZENODO](https://zenodo.org/badge/64161359.svg)](https://zenodo.org/badge/latestdoi/64161359)
[![rOpenSci](https://badges.ropensci.org/302_status.svg)](https://github.com/ropensci/software-review/issues/302)
[![JOSS](https://joss.theoj.org/papers/10.21105/joss.01829/status.svg)](https://doi.org/10.21105/joss.01829)
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/llrs)



Use twitter from R. 

**This package is no longer updated and no fixes can be expected.**  
A request to Orphan the package on CRAN was sent!

The maintainer cannot longer check most of the output of the functionality provided.
If you want to volunteer reach out to the maintainer. 

## Installation

To get the current released version from CRAN:

```{r, eval=FALSE}
install.packages("rtweet")
```

You can install the development version of rtweet from GitHub with:

```{r, eval = FALSE}
install.packages("rtweet", repos = 'https://ropensci.r-universe.dev')
```


## Usage

All users must be authenticated to interact with Twitter's APIs. 
See `vignette("auth", package = "rtweet")` for details.

```{r}
library(rtweet)
```

rtweet should be used in strict accordance with Twitter's [developer  terms](https://developer.twitter.com/en/developer-terms/more-on-restricted-use-cases).

```{r include=FALSE}
auth_as(rtweet:::rtweet_test())
```

## Usage

Depending on if you are a paid user or not you can do more or less things.

# Free

You can post (`tweet_post()`) and retrieve information about yourself (`user_self()`). 

# Paid

You can do all the other things: search tweets (`tweet_search_recent()`), retrieve your own bookmarks (`user_bookmarks()`), check who follows who, (`user_following()`, or `user_followers()`), ....

## Contact

Communicating with Twitter's APIs relies on an internet connection, which can sometimes be inconsistent. 

If you have questions, or needs an example or want to share a [use case](https://ropensci.org/usecases/), you can post them on [rOpenSci's discuss](https://discuss.ropensci.org/). 
Were you can [browse uses of rtweet](https://discuss.ropensci.org/tags/c/usecases/10/rtweet) too.

With that said, if you encounter an obvious bug for which there is not already an active [issue](https://github.com/ropensci/rtweet/issues), please [create a new issue](https://github.com/ropensci/rtweet/issues/new) with all code used (preferably a reproducible example) on Github.


# Code of Conduct

Please note that this package is released with a [Contributor
Code of Conduct](https://ropensci.org/code-of-conduct/). 
By contributing to this project, you agree to abide by its terms.

Owner

  • Name: rOpenSci Archive
  • Login: ropensci-archive
  • Kind: organization
  • Email: info@ropensci.org

Abandoned rOpenSci projects -- email info@ropensci.org if you have questions!

CodeMeta (codemeta.json)

{
  "@context": [
    "https://doi.org/10.5063/schema/codemeta-2.0",
    "http://schema.org"
  ],
  "@type": "SoftwareSourceCode",
  "identifier": "rtweet",
  "description": "An implementation of calls designed to collect and organize Twitter data via Twitter's REST and stream Application Program Interfaces (API), which can be found at the following URL: <https://developer.twitter.com/en/docs>.\n This package has been peer-reviewed by rOpenSci (v. 0.6.9).",
  "name": "rtweet: Collecting Twitter Data",
  "codeRepository": "https://CRAN.R-project.org/package=rtweet",
  "issueTracker": "https://github.com/ropensci/rtweet/issues",
  "license": "https://spdx.org/licenses/MIT",
  "version": "0.7.0",
  "programmingLanguage": {
    "@type": "ComputerLanguage",
    "name": "R",
    "version": "3.6.1",
    "url": "https://r-project.org"
  },
  "runtimePlatform": "R version 3.6.1 (2019-07-05)",
  "provider": {
    "@id": "https://cran.r-project.org",
    "@type": "Organization",
    "name": "Comprehensive R Archive Network (CRAN)",
    "url": "https://cran.r-project.org"
  },
  "author": [
    {
      "@type": "Person",
      "givenName": "Michael W.",
      "familyName": "Kearney",
      "email": "kearneymw@missouri.edu",
      "@id": "https://orcid.org/0000-0002-0730-4694"
    }
  ],
  "contributor": {},
  "copyrightHolder": {},
  "funder": {},
  "maintainer": [
    {
      "@type": "Person",
      "givenName": "Michael W.",
      "familyName": "Kearney",
      "email": "kearneymw@missouri.edu",
      "@id": "https://orcid.org/0000-0002-0730-4694"
    }
  ],
  "softwareSuggestions": [
    {
      "@type": "SoftwareApplication",
      "identifier": "ggplot2",
      "name": "ggplot2",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ggplot2"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "knitr",
      "name": "knitr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=knitr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "magick",
      "name": "magick",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=magick"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "openssl",
      "name": "openssl",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=openssl"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "readr",
      "name": "readr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=readr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rmarkdown",
      "name": "rmarkdown",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rmarkdown"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "testthat",
      "name": "testthat",
      "version": ">= 2.1.0",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=testthat"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "webshot",
      "name": "webshot",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=webshot"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "covr",
      "name": "covr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=covr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "igraph",
      "name": "igraph",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=igraph"
    }
  ],
  "softwareRequirements": [
    {
      "@type": "SoftwareApplication",
      "identifier": "R",
      "name": "R",
      "version": ">= 3.1.0"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "httr",
      "name": "httr",
      "version": ">= 1.3.0",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=httr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "jsonlite",
      "name": "jsonlite",
      "version": ">= 0.9.22",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=jsonlite"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "magrittr",
      "name": "magrittr",
      "version": ">= 1.5",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=magrittr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "tibble",
      "name": "tibble",
      "version": ">= 1.3.4",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=tibble"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "utils",
      "name": "utils"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "progress",
      "name": "progress",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=progress"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "Rcpp",
      "name": "Rcpp",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=Rcpp"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "httpuv",
      "name": "httpuv",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=httpuv"
    }
  ],
  "releaseNotes": "https://github.com/ropensci/rtweet/blob/master/NEWS.md",
  "readme": "https://github.com/ropensci/rtweet/blob/master/README.md",
  "fileSize": "3803.895KB",
  "contIntegration": [
    "https://travis-ci.org/mkearney/rtweet",
    "https://codecov.io/gh/mkearney/rtweet?branch=master"
  ],
  "developmentStatus": "https://www.tidyverse.org/lifecycle/#maturing",
  "citation": [
    {
      "@type": "ScholarlyArticle",
      "datePublished": "2019",
      "author": [
        {
          "@type": "Person",
          "givenName": [
            "Michael",
            "W."
          ],
          "familyName": "Kearney"
        }
      ],
      "name": "rtweet: Collecting and analyzing Twitter data",
      "identifier": "10.21105/joss.01829",
      "url": "https://joss.theoj.org/papers/10.21105/joss.01829",
      "description": "R package version 0.7.0",
      "paginiation": "1829",
      "@id": "https://doi.org/10.21105/joss.01829",
      "sameAs": "https://doi.org/10.21105/joss.01829",
      "isPartOf": {
        "@type": "PublicationIssue",
        "issueNumber": "42",
        "datePublished": "2019",
        "isPartOf": {
          "@type": [
            "PublicationVolume",
            "Periodical"
          ],
          "volumeNumber": "4",
          "name": "Journal of Open Source Software"
        }
      }
    }
  ],
  "relatedLink": "https://CRAN.R-project.org/package=rtweet"
}

GitHub Events

Total
  • Watch event: 4
Last Year
  • Watch event: 4

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 1,848
  • Total Committers: 53
  • Avg Commits per committer: 34.868
  • Development Distribution Score (DDS): 0.675
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Lluís l****a@g****m 601
Michael Kearney m****y@k****u 582
Michael W. Kearney k****w@m****u 497
Hadley Wickham h****m@g****m 85
hrbrmstr b****b@r****s 7
thomas-keller t****r@g****m 5
Jonathan Sidi y****s@m****m 4
Kearney k****w@m****u 4
Simon Heß s****s@g****m 4
Maëlle Salmon m****n@y****e 3
Giorgio Comai g@g****u 3
dieghernan d****o@g****m 3
Kevin Taylor k****3@g****m 3
Tyler t****w@g****m 3
Ben Dilday b****d@g****m 2
mikechapple m****e@n****u 2
Katrin Leinweber k****r@t****u 2
Richard Latham r****m@g****m 2
Jeroen Ooms j****s@g****m 2
Bfics 9****s 1
Benjamin Soltoff b****n@b****m 1
001ben 0****n 1
Dmitry Shkolnik d****k@g****m 1
Michael Chirico m****o@g****m 1
Andrew Collier a****w@e****z 1
dieghernan d****o@g****m 1
Martin John Hadley m****y@g****m 1
Malcolm Barrett m****t 1
Kohl Kinning k****g@g****m 1
Jon Harmon j****k@g****m 1
and 23 more...

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 86
  • Total pull requests: 14
  • Average time to close issues: 2 months
  • Average time to close pull requests: 6 days
  • Total issue authors: 51
  • Total pull request authors: 6
  • Average comments per issue: 4.34
  • Average comments per pull request: 1.21
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • llrs (16)
  • Sue596 (3)
  • neuwirthe (3)
  • ccamara (2)
  • Ariyanjyr (2)
  • tonghuixu (1)
  • RickPack (1)
  • mancebral (1)
  • ronirg (1)
  • aterhorst (1)
  • pasipasi123 (1)
  • rafapereirabr (1)
  • walinchus (1)
  • snvv (1)
  • simonheb (1)
Pull Request Authors
  • llrs (8)
  • bensoltoff (2)
  • majesticprimate (1)
  • rmvegasm (1)
  • bfiics (1)
  • filipemsc (1)
Top Labels
Issue Labels
bug (15) API v1 (8) question (6) enhancement (4) documentation (3) API v2 (3) premium (2) deprecation (1) not-reproducible (1) authentication (1) wontfix (1) tests (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 12
proxy.golang.org: github.com/ropensci-archive/rtweet
  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 4 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R >= 4.0.0 depends
  • bit64 >= 4.0.5 imports
  • curl >= 4.3.2 imports
  • httr >= 1.3.0 imports
  • httr2 >= 0.2.2 imports
  • jsonlite >= 0.9.22 imports
  • lifecycle >= 1.0.0 imports
  • methods * imports
  • progress >= 1.2.2 imports
  • rlang >= 0.4.10 imports
  • tibble >= 1.3.4 imports
  • utils * imports
  • withr >= 2.5.0 imports
  • askpass >= 1.1 suggests
  • covr >= 3.5.1 suggests
  • dplyr >= 1.0.9 suggests
  • ggplot2 >= 3.3.5 suggests
  • httpuv >= 1.6.5 suggests
  • igraph >= 1.3.2 suggests
  • knitr >= 1.39 suggests
  • magick >= 2.7.3 suggests
  • maps >= 3.4.0 suggests
  • openssl >= 2.0.2 suggests
  • rmarkdown >= 2.14 suggests
  • testthat >= 3.1.0 suggests
  • vcr >= 0.6.0 suggests
  • webshot >= 0.5.3 suggests