Rtumblr

Interact with the Tumblr API from R

https://github.com/schochastics/rtumblr

Science Score: 44.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.4%) to scientific vocabulary

Keywords

rstats tumblr
Last synced: 6 months ago · JSON representation ·

Repository

Interact with the Tumblr API from R

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 2
  • Open Issues: 2
  • Releases: 0
Topics
rstats tumblr
Created about 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Citation

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# Rtumblr 


[![CRAN status](https://www.r-pkg.org/badges/version/Rtumblr)](https://CRAN.R-project.org/package=Rtumblr)
[![R-CMD-check](https://github.com/schochastics/Rtumblr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/schochastics/Rtumblr/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/schochastics/Rtumblr/branch/main/graph/badge.svg)](https://app.codecov.io/gh/schochastics/Rtumblr?branch=main)


Rtumblr is a wrapper for the official tumblr API. (An [existing CRAN](https://CRAN.R-project.org/package=tumblR) package has been archived)

## Installation

You can install the development version of Rtumblr like so:

``` r
devtools::install_github("schochastics/Rtumblr")
```

## API keys

You need to register an app here: 
Then, create an environment variable called "RTUMBLR_TOKEN" (for instance in `.Renviron`)
from the consumer_key and the consumer_secret as follows.
If you have
``` r
consumer_key = 123456789
consumer_secret = abcdefghi
```

Then your environment variable RTUMBLR_TOKEN should be `123456789;abcdefghi`

## Usage

Most API endpoints only work with your own account. The ones already implemented include:

- `get_blog_blocks()`: get a list of accounts you blocked
- `get_blog_likes()`: get a list of posts you liked
- `get_blog_followers()`: get your followers
- `get_blog_following()`: get accounts you follow

Implemented endpoints that work with any account are:

- `get_blog_avatar()`: get the avatar of a blog
- `get_blog_info()`: get the general info of a blog
- `get_blog_posts()`: get the posts of a blog
- `get_posts_tag()`: get posts with a specific tag.

All function return a tibble (or list of tibble). To get information about columns, see the official API documentation:

Owner

  • Name: David Schoch
  • Login: schochastics
  • Kind: user
  • Location: Germany
  • Company: cynkra

Data Scientist/DevOps Engineer at cynkra and #RStats developer

Citation (CITATION.cff)

# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
 
cff-version: 1.2.0
message: 'To cite package "Rtumblr" in publications use:'
type: software
license: MIT
title: 'Rtumblr: Collecting and Analyzing ''Tumblr'' Data'
version: 0.1.0
doi: 10.32614/CRAN.package.Rtumblr
identifiers:
- type: url
  value: https://schochastics.github.io/Rtumblr/
abstract: 'An implementation of calls designed to collect ''Tumblr'' data via its
  Application Program Interfaces (API), which can be found at the following URL: <https://www.tumblr.com/docs/en/api/v2>.'
authors:
- family-names: Schoch
  given-names: David
  email: david@schochastics.net
  orcid: https://orcid.org/0000-0003-2952-4812
repository: https://CRAN.R-project.org/package=Rtumblr
repository-code: https://github.com/schochastics/Rtumblr
url: https://github.com/schochastics/Rtumblr/
contact:
- family-names: Schoch
  given-names: David
  email: david@schochastics.net
  orcid: https://orcid.org/0000-0003-2952-4812
keywords:
- rstats
- tumblr
references:
- type: software
  title: 'R: A Language and Environment for Statistical Computing'
  notes: Depends
  url: https://www.R-project.org/
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2024'
  version: '>= 2.10'
- type: software
  title: dplyr
  abstract: 'dplyr: A Grammar of Data Manipulation'
  notes: Imports
  url: https://dplyr.tidyverse.org
  repository: https://CRAN.R-project.org/package=dplyr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: François
    given-names: Romain
    orcid: https://orcid.org/0000-0002-2444-4226
  - family-names: Henry
    given-names: Lionel
  - family-names: Müller
    given-names: Kirill
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Vaughan
    given-names: Davis
    email: davis@posit.co
    orcid: https://orcid.org/0000-0003-4777-038X
  year: '2024'
  doi: 10.32614/CRAN.package.dplyr
- type: software
  title: httr
  abstract: 'httr: Tools for Working with URLs and HTTP'
  notes: Imports
  url: https://httr.r-lib.org/
  repository: https://CRAN.R-project.org/package=httr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2024'
  doi: 10.32614/CRAN.package.httr
- type: software
  title: tibble
  abstract: 'tibble: Simple Data Frames'
  notes: Imports
  url: https://tibble.tidyverse.org/
  repository: https://CRAN.R-project.org/package=tibble
  authors:
  - family-names: Müller
    given-names: Kirill
    email: kirill@cynkra.com
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  year: '2024'
  doi: 10.32614/CRAN.package.tibble
- type: software
  title: testthat
  abstract: 'testthat: Unit Testing for R'
  notes: Suggests
  url: https://testthat.r-lib.org
  repository: https://CRAN.R-project.org/package=testthat
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2024'
  doi: 10.32614/CRAN.package.testthat
  version: '>= 3.0.0'

GitHub Events

Total
  • Issues event: 1
  • Issue comment event: 2
  • Push event: 10
  • Pull request event: 4
  • Pull request review event: 1
  • Pull request review comment event: 1
  • Fork event: 1
Last Year
  • Issues event: 1
  • Issue comment event: 2
  • Push event: 10
  • Pull request event: 4
  • Pull request review event: 1
  • Pull request review comment event: 1
  • Fork event: 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 2
  • Total pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • 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
  • schochastics (2)
  • sckott (1)
Pull Request Authors
  • ArthurMuehl (2)
  • schochastics (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 237 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: Rtumblr

Collecting and Analyzing 'Tumblr' Data

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 237 Last month
Rankings
Forks count: 28.8%
Dependent packages count: 29.7%
Stargazers count: 31.7%
Dependent repos count: 35.4%
Average: 43.1%
Downloads: 89.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 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 >= 2.10 depends
  • dplyr * imports
  • httr * imports
  • tibble * imports
  • testthat >= 3.0.0 suggests
  • vcr >= 0.6.0 suggests
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite