Package: encode 0.3.6

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

Authors:Tim Bergsma

encode_0.3.6.tar.gz
encode_0.3.6.zip(r-4.5)encode_0.3.6.zip(r-4.4)encode_0.3.6.zip(r-4.3)
encode_0.3.6.tgz(r-4.4-any)encode_0.3.6.tgz(r-4.3-any)
encode_0.3.6.tar.gz(r-4.5-noble)encode_0.3.6.tar.gz(r-4.4-noble)
encode_0.3.6.tgz(r-4.4-emscripten)encode_0.3.6.tgz(r-4.3-emscripten)
encode.pdf |encode.html
encode/json (API)

# Install 'encode' in R:
install.packages('encode', repos = c('https://bergsmat.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/bergsmat/encode/issues

On CRAN:

3.95 score 2 stars 5 packages 10 scripts 512 downloads 3 mentions 6 exports 0 dependencies

Last updated 6 years agofrom:eae3872986. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-winNOTENov 21 2024
R-4.5-linuxNOTENov 21 2024
R-4.4-winNOTENov 21 2024
R-4.4-macNOTENov 21 2024
R-4.3-winNOTENov 21 2024
R-4.3-macNOTENov 21 2024

Exports:as_factorcodesdecodedecodesencodeencoded

Dependencies: