Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emilhvitfeldt/emoji

Data About Emojis
https://github.com/emilhvitfeldt/emoji

Last synced: about 2 months ago
JSON representation

Data About Emojis

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%"
)
```

# emoji

[![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.