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.
| Version: | 0.3.7 |
| Suggests: | magrittr |
| Published: | 2026-02-18 |
| DOI: | 10.32614/CRAN.package.encode |
| Author: | Tim Bergsma [aut, cre] |
| Maintainer: | Tim Bergsma <bergsmat at gmail.com> |
| License: | GPL-3 |
| NeedsCompilation: | no |
| CRAN checks: | encode results |
| Reference manual: | encode.html , encode.pdf |
| Package source: | encode_0.3.7.tar.gz |
| Windows binaries: | r-devel: encode_0.3.7.zip, r-release: encode_0.3.7.zip, r-oldrel: encode_0.3.7.zip |
| macOS binaries: | r-release (arm64): encode_0.3.7.tgz, r-oldrel (arm64): encode_0.3.7.tgz, r-release (x86_64): encode_0.3.7.tgz, r-oldrel (x86_64): encode_0.3.7.tgz |
| Old sources: | encode archive |
| Reverse imports: | metaplot, nonmemica, spec, yamlet |
Please use the canonical form https://CRAN.R-project.org/package=encode to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.