Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emilhvitfeldt/emoji
Data About Emojis
https://github.com/emilhvitfeldt/emoji
Last synced: about 2 months ago
JSON representation
Data About Emojis
- Host: GitHub
- URL: https://github.com/emilhvitfeldt/emoji
- Owner: EmilHvitfeldt
- License: other
- Created: 2021-07-25T20:55:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-03T00:24:26.000Z (about 2 years ago)
- Last Synced: 2024-04-23T23:55:38.363Z (8 months ago)
- Language: R
- Homepage: https://emilhvitfeldt.github.io/emoji
- Size: 24 MB
- Stars: 26
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```[![R-CMD-check](https://github.com/EmilHvitfeldt/emoji/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/EmilHvitfeldt/emoji/actions/workflows/R-CMD-check.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/emoji)](https://CRAN.R-project.org/package=emoji)
[![Downloads](https://cranlogs.r-pkg.org/badges/emoji)](https://CRAN.R-project.org/package=emoji)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![Codecov test coverage](https://codecov.io/gh/EmilHvitfeldt/emoji/branch/main/graph/badge.svg)](https://app.codecov.io/gh/EmilHvitfeldt/emoji?branch=main)
[![Codecov test coverage](https://codecov.io/gh/EmilHvitfeldt/emoji/graph/badge.svg)](https://app.codecov.io/gh/EmilHvitfeldt/emoji)The goal of emoji is to provide up to date information inn the form of data sets on emojis and their use.
## Installation
You can install the released version of emoji from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("emoji")
```And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("EmilHvitfeldt/emoji")
```## Example
```{r, echo=FALSE}
library(tibble)
```The main data set in this package is the `emojis` data set which contains almost all the information contained in this package.
```{r}
library(emoji)emojis
```the `emoji_name` is a vector of emojis with descriptive names
```{r}
emoji_name[1:10]
```Each of the emojis have zero or more keywords associated with them.
```{r}
emoji_keyword[c(150:155)]
```when can use `emoji_keyword` together with `emoji_name` to show then emojis for each keyword.
```{r}
lapply(emoji_keyword[c(150:155)], function(x) unname(emoji_name[x]))
```## Code of Conduct
Please note that the emoji project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.