knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

Install from github

install_github( "ThinkR-open/uni" )
library(tidyverse, quietly = TRUE)

Examples

Full unicode table, as a tibble, extracted from https://github.com/unicode-table/unicode-table-data

uni::code

How many characters are used by each language

uni::code %>%
  filter( !is.na( languages ) ) %>%
  mutate( lang = languages %>% str_split(", ") ) %>%
  select(id, lang) %>%
  unnest() %>%
  count(lang, sort = TRUE) 


ThinkRstat/uni documentation built on May 18, 2019, 9:16 p.m.