Package: encode
Type: Package
Title: Represent Ordered Lists and Pairs as Strings
Version: 0.3.7
Authors@R: person(given = "Tim",
                  family = "Bergsma",
                  role = c("aut", "cre"),
                  email = "bergsmat@gmail.com")
Maintainer: Tim Bergsma <bergsmat@gmail.com>
Description: 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.
License: GPL-3
Imports:
Suggests: magrittr
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-02-17 17:25:39 UTC; tim.bergsma
Author: Tim Bergsma [aut, cre]
Repository: CRAN
Date/Publication: 2026-02-18 06:30:36 UTC
Built: R 4.6.0; ; 2026-04-25 18:37:46 UTC; unix
