Skip to content
A wrapper for getting giphy GIFs in R
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
vignettes
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.md
code_of_conduct.md

README.md

giphyR

The giphy package is a programmatic R interface to Giphy.

Development

We welcome contributions from any individual, whether code, documentation, or issue tracking. All participants are expected to follow the code of conduct for this project.

  • Simon Goring - University of Wisconsin-Madison, Department of Geography

Package functions resolve various giphy APIs and enable plotting. Note that the package requires the installation of ImageMagick. Otherwise it's really hard to manage the data. Also, check out the great magick package, by Jeroen Ooms. More plugins will be available over time to that package. Currently giphyR is a very simple wrapper.

Currently implemented in giphyR

  • search - Search all Giphy GIFs for a word or phrase. Punctuation will be stripped and ignored.
  • trending - Fetch GIFs currently trending online. Hand curated by the Giphy editorial team.
  • translate - The translate API draws on search, but uses the Giphy "special sauce" to handle translating from one vocabulary to another.
  • random - Returns a random GIF from Giphy, which may be limited using tags.
  • gif_id - Get GIF metadata based on the unique id.
  • plot - Plot the GIF returned by any of the above calls.

Install giphyR

  • Development version from GitHub:
install.packages("devtools")
library(devtools)
install_github("rSimonGoring/giphyR")
library(giphyR)
You can’t perform that action at this time.