All Projects → bgreenwell → RBitmoji

bgreenwell / RBitmoji

Licence: other
An R wrapper to the overly complicated Bitmoji API 😱

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to RBitmoji

emojibot
Emojibot is a Slack bot that announces new custom emoji to a specific channel.
Stars: ✭ 17 (-32%)
Mutual labels:  emoji
emojione-color
OpenType-SVG font of EmojiOne 2.3
Stars: ✭ 112 (+348%)
Mutual labels:  emoji
bitsnpicas
Bits'N'Picas - Bitmap & Emoji Font Creation & Conversion Tools
Stars: ✭ 171 (+584%)
Mutual labels:  emoji
WeChat
Wechat: 一款使用javafx实现的网络聊天室。
Stars: ✭ 29 (+16%)
Mutual labels:  emoji
iiitdmj-gpa
GPA Calculator + Quiz Bot for IIITDM Jabalpur
Stars: ✭ 16 (-36%)
Mutual labels:  emoji
FaceEmotionClassifier
人脸识别与卡通化
Stars: ✭ 102 (+308%)
Mutual labels:  emoji
kekfinder
Emoji finding tool
Stars: ✭ 17 (-32%)
Mutual labels:  emoji
Emojilog
A nice little diary for emoji logs.
Stars: ✭ 12 (-52%)
Mutual labels:  emoji
gatsby-remark-emojis
🚀 Processes emoji in markdown and inlines <img> tags with the corresponding base64 representation of the image.
Stars: ✭ 28 (+12%)
Mutual labels:  emoji
rich
Rich is a Python library for rich text and beautiful formatting in the terminal.
Stars: ✭ 36,988 (+147852%)
Mutual labels:  emoji
morphoji
PHP emoji converter
Stars: ✭ 13 (-48%)
Mutual labels:  emoji
gitmoji-plugin
Choose the right emoji emoticon for git commit, make git log commit more interesting.
Stars: ✭ 110 (+340%)
Mutual labels:  emoji
gitbucket-emoji-plugin
Provides Emoji support for GitBucket
Stars: ✭ 19 (-24%)
Mutual labels:  emoji
github emoji
all emojis in github
Stars: ✭ 77 (+208%)
Mutual labels:  emoji
emoji-cz
✨ A commitizen emoji adapter.
Stars: ✭ 62 (+148%)
Mutual labels:  emoji
erk
Ərk is an open source, cross-platform IRC client written in Python 3, Qt 5, and Twisted.
Stars: ✭ 21 (-16%)
Mutual labels:  emoji
country-code-to-flag-emoji
A function that returns a flag emoji given IETF language tag.
Stars: ✭ 46 (+84%)
Mutual labels:  emoji
unicode-emoji-json
Emoji data from unicode.org as easily consumable JSON files.
Stars: ✭ 149 (+496%)
Mutual labels:  emoji
emoji picker
A Flutter package that provides an Emoji Keyboard widget
Stars: ✭ 82 (+228%)
Mutual labels:  emoji
wink-sentiment
Accurate and fast sentiment scoring of phrases with #hashtags, emoticons :) & emojis 🎉
Stars: ✭ 51 (+104%)
Mutual labels:  emoji

RBitmoji: An R wrapper to the overly complicated Bitmoji API

CRAN_Status_Badge Travis-CI Build Status AppVeyor Build Status

Ya, this is happening…

Installation

You can (try to) install the development version of RBitmoji from GitHub using

if (!requireNamespace("devtools")) {
  install.packages("devtools")
}
devtools::install_github("bgreenwell/RBitmoji")

Obtaining your Bitmoji ID

In order to use RBitmoji you will need your unique Bitmoji ID, which can be difficult to find. Fortunately, the get_id() function can simplify the process! TO use this function, you must supply the email address associated with your Bitmoji account. You will then be prompted to enter your Bitmoji account password using a secure blah, blah, blah. For example:

library(RBitmoji)
my_id <- get_id("[email protected]")

If successful, your id will be stored in the variable my_id. Once that is done, you can use the plot_comic() function to do real data science.

Basic usage

If you are familiar with Bitmoji, then you know that there are hundreds of comics available for your avatar, each of which is associated with a comic id and a tag. As of right now, you can only look up and plot comics by tag, but in the future, we’ll add an id argument as well. Also, note that many comics are associated with multiple tags and vice versa, so use set.seed() for reproducibility. Below are some simple examples (the value of my_id was found using the get_id() function).

# Use set.seed() to generate the same comic everytime for a particular tag
set.seed(101)  # for reproducibility
my_id <- "1551b314-5e8a-4477-aca2-088c05963111-v1"
plot_comic(my_id, tag = "fail")

# Another example
plot_comic(my_id, tag = "time magazine")

# Some tags are associated with multiple comics
par(mfrow = c(2, 2))
for (i in 1:4) plot_comic(my_id, tag = "cool")

# Overlay comics on various plots
comic <- get_comic(my_id, tag = "volcano", transparent = TRUE)
library(ggplot2)

ggplot(iris, aes(x = Petal.Length, y = Petal.Width)) +
  geom_point(aes(color = Species)) +
  annotation_raster(comic, xmin = 1, xmax = 3, ymin = 1.5, ymax = 2.5)

# You have two ids, you can also plot comics with friends
set.seed(102)  # for reproducibility
plot_comic(c(my_id, my_id), tag = "vomit")
plot_comic(c(my_id, my_id), tag = "drink")

Inspirations

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].