CRAN/E | encode

encode

Represent Ordered Lists and Pairs as Strings

Installation

About

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. If a vector has an encoded 'guide' attribute, as_factor() uses it to coerce to factor.

Key Metrics

Version 0.3.6
Published 2019-04-25 1836 days ago
Needs compilation? no
License GPL-3
CRAN checks encode results

Downloads

Yesterday 15 0%
Last 7 days 116 -13%
Last 30 days 461 +14%
Last 90 days 1.178 -11%
Last 365 days 4.726 +2%

Maintainer

Maintainer

Tim Bergsma

bergsmat@gmail.com

Authors

Tim Bergsma

Material

Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

encode archive

Suggests

magrittr

Reverse Imports

metaplot
nonmemica
spec
yamlet