bergsmat/encode: Represent Ordered Lists and Pairs as Strings

Interconverts between ordered lists and compact string notation. Useful for capturing code lists, and pair-wise codes and decodes, for text storage. Analogous to factor levels and labels. Generics encode() and decode() perform interconversion, while codes() and decodes() extract components of an encoding. The function encoded() checks whether something is interpretable as an encoding.

Getting started

Package details

AuthorTim Bergsma
MaintainerTim Bergsma <[email protected]>
LicenseGPL-3
Version0.3.4
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("bergsmat/encode")
bergsmat/encode documentation built on April 8, 2018, 7:59 a.m.