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:
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')) |
Bug tracker:https://github.com/bergsmat/encode/issues
Last updated 6 years agofrom:eae3872986. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 21 2024 |
R-4.5-win | NOTE | Nov 21 2024 |
R-4.5-linux | NOTE | Nov 21 2024 |
R-4.4-win | NOTE | Nov 21 2024 |
R-4.4-mac | NOTE | Nov 21 2024 |
R-4.3-win | NOTE | Nov 21 2024 |
R-4.3-mac | NOTE | Nov 21 2024 |
Exports:as_factorcodesdecodedecodesencodeencoded
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Coerce to Factor using Encoding if Present | as_factor |
Extract Codes from an Object | codes |
Extract Codes by Default from an Object | codes.default |
Decode an Object | decode |
Decode Data Frame. | decode.data.frame |
Decode an Object by Default | decode.default |
Extract Decodes from an Object | decodes |
Extract Decodes by Default from an Object | decodes.default |
Encode Factor-like Levels and Labels as a Simple String | encode |
Encode Character. | encode.character |
Encode Default. | encode.default |
Encode a List | encode.list |
Check If Object is Encoded | encoded |
Check If Default Object is Encoded | encoded.default |