Learn R Programming

⚠️There's a newer version (1.2.1) of this package.Take me there.

yamlet (version 0.9.3)

Versatile Curation of Table Metadata

Description

A YAML-based mechanism for working with table metadata. Supports compact syntax for creating, modifying, viewing, exporting, importing, displaying, and plotting metadata coded as column attributes. The 'yamlet' dialect is valid 'YAML' with defaults and conventions chosen to improve readability. See ?yamlet, ?decorate.data.frame and ?modify.default. See ?read_yamlet ?write_yamlet, ?io_csv, and ?ggplot.decorated.

Copy Link

Version

Install

install.packages('yamlet')

Monthly Downloads

372

Version

0.9.3

License

GPL-3

Maintainer

Tim Bergsma

Last Published

August 20th, 2022

Functions in yamlet (0.9.3)

append_units

Append Units
anti_join.decorated

Anti_join Decorated
append_units.default

Append Units By Default
append_units.data.frame

Append Units for Data Frame
arbitrate.NULL

Arbitrate Null
arbitrate.list

Arbitrate List
arbitrate

Arbitrate Two Attributes
alias.data.frame

Alias a Data Frame
arbitrate.default

Arbitrate Default
as_dvec

Coerce to Decorated Vector
arrange.decorated

Arrange Decorated
as_spork.unit_string

Coerce Unit String to Spork
as_spork.symbolic_units

Coerce Symbolic Units to Spork
as_unit_string.units

Coerce Units to Unit String.
as.character.yam

Coerce Yam to Character
cell_value

Calculate a Cell Value
canonical.yamlet

Sort Yamlet
as_unit_string.symbolic_units

Coerce Symbolic Units to Unit String.
as.integer.classified

Coerce Classified to Integer
as.data.frame.yamlet

Coerce Yamlet to Data Frame
as_dvec.character

Coerce Character to Decorated Vector
as_dvec.complex

Coerce Complex to Decorated Vector
as_dvec.dvec

Coerce Decorated Vector to Decorated Vector
as_yamlet

Coerce to Yamlet
as_dvec.numeric

Coerce Numeric to Decorated Vector
as_yam.character

Coerce Character to Yam
as_dvec.units

Coerce Units to Decorated Vector
as_decorated

Coerce to Decorated
as_yam.yamlet

Coerce Yamlet to Yam
as_yamlet.data.frame

Coerce Data Frame to Yamlet
as_decorated.default

Coerce to Decorated by Default
as_yamlet.character

Coerce Character To Yamlet Format
classified.dvec

Classify Decorated Vector
footnote

Footnote Something
filter.decorated

Filter Decorated
conditionalize

Conditionalize Attributes
as_spork.units

Coerce Units to Spork
as.character.yamlet

Coerce Yamlet to Character
as.data.frame.dvec

Coerce Decorated Vector to Data Frame
arbitrate.namedList

Arbitrate Named List
encode.yamlet

Encode Yamlet
desolve.dvec

Desolve Guide for Decorated Vector
as_unit_string

Coerce to Unit String
as_unit_string.factor

Coerce Factor to Unit String
as_unit_string.character

Coerce Character to Unit String
as_yamlet.yam

Coerce Yam To Yamlet Format
conditionalize.data.frame

Conditionalize Attributes of Data Frame
as_yamlet.yamlet

Coerce Yamlet to Yamlet
decorate

Decorate a List-like Object
io_yamlet.yamlet

Export Yamlet
io_yamlet.data.frame

Export Data Frame Attributes as Yamlet
desolve.classified

Desolve Guide for Classified
explicit_guide.dvec

Coerce Decorated Vector Guide to Something More Explicit
desolve.decorated

Desolve Guide for Decorated
explicit_guide.yamlet

Coerce Yamlet Guide to Something More Explicit
ggplot.decorated

Create a New ggplot for a Decorated Data Frame
canonical.decorated

Sort Decorations
canonical

Enforce Canonical Order
ggplot.ggready

Create a New ggplot for a GGready Data Frame
ggready

Prepare Data for GGplot
inner_join.decorated

Inner_join Decorated
ggready.data.frame

Prepare Data Frame for GGplot
implicit_guide.data.frame

Coerce Data Frame Guide to Something More Implicit
io_res

Import and Export Resolved Tables
implicit_guide

Coerce Guide to Something More Implicit
as_dvec.integer

Coerce Integer to Decorated Vector
isLevels.character

Test Character Value is Levels
io_csv

Import and Export Documented Tables as CSV
list2encoding

Coerce List to Encoding
merge.decorated

Merge Decorated
length.dvec

Get Length of a Decorated Vector
modify.default

Modify Attributes of Indicated Components by Default
io_res.character

Import Documented Table as Resolved
left_join.decorated

Left_join Decorated
mutate.decorated

Mutate Decorated
as_yamlet.list

Coerce List to Yamlet
classified.classified

Create Classified from Classified
decorations.data.frame

Retrieve Decorations for Data Frame
classified

Classify Something
desolve

Desolve Guide
ggready.decorated

Prepare Decorated Data Frame for GGplot
group_by.decorated

Group_by Decorated
names<-.decorated

Assign Names of Decorated
promote

Promote Something
named

Evaluate Named Arguments
io_csv.character

Import Documented Table as CSV
reexports

Objects exported from other packages
read_yamlet

Read Yamlet
reconcile

Reconcile Atttributes
resolve.dvec

Resolve Guide for Decorated Vector
promote.data.frame

Promote Data Frame
semi_join.decorated

Semi_join Decorated
rescale.dvec

Rescale dvec
singularity

Choose Singular Expression
[[.classified

Element-select Classified
to_yamlet.yamlet

Coerce Yamlet to Yamlet Storage Format
[[.decorated

Element-select Decorated.
type_sum.classified

Summarize Type of Classified
unclassified

Unclassify Something
unclassified.classified

Unclassify Classified
vec_ptype2.dvec.integer

Find Common Type for dvec, integer
vec_cast.dvec.dvec

Cast to dvec from dvec
vec_cast.dvec.integer

Cast to dvec from integer
isLevels.default

Test Value is Levels by Default
vec_ptype2.dvec.logical

Find Common Type for dvec, logical
is_parseable

Check Parseable as Units
is_parseable.default

Check Something is Parseable as Units by Default
io_csv.data.frame

Export Documented Table as CSV
as_dvec.logical

Coerce Logical to Decorated Vector
c.classified

Combine Classified
classified.data.frame

Classify Data Frame
as_yam

Coerce to Yam
c.dvec

Combine Decorated Vector
as_units.dvec

Coerce Decorated Vector to Units
decorate.character

Decorate Character
decorate.data.frame

Decorate Data Frame
classified.default

Create Classified by Default
promote.default

Promote by Default
promote.list

Promote a List
io_yamlet.character

Import Yamlet
mimic

Try To Look Like Something Else
mimic.classified

Try To Make Classified Look Like Another Equal-length Variable
parsimonious.list

Reduce A List to its Simplest Sufficient Version
io_yamlet

Import and Export Yamlet
explicit_guide.data.frame

Coerce Data Frame Guide to Something More Explicit
explicit_guide

Coerce Guide to Something More Explicit
right_join.decorated

Right_join Decorated
decorate.list

Decorate List
decorations

Retrieve Decorations
print.decorated_ggplot

Substitute Expressions, Titles and Labels in ggplots
print.ggready_ggplot

Print Automatic Labels and Units for ggplot
gather.decorated

Gather a Decorated Data Frame
print.yamlet

Print a Yamlet
full_join.decorated

Full_join Decorated
implicit_guide.dvec

Coerce Decorated Vector Guide to Something More Implicit
[.decorated

a <- as_decorated(as.list(setNames(letters[1:3], LETTERS[1:3]))) attr(a$B, 'label') <- 'foo' a <- a[1:3] attributes(a) Subset Decorated
[.dvec

Subset Decorated Vector
slice.decorated

Slice Decorated
vec_cast.dvec.double

Cast to dvec from double
[.classified

Subset Classified
vec_ptype2.integer.dvec

Find Common Type for integer, dvec
vec_ptype2.logical.dvec

Find Common Type for logical, dvec
vec_cast.dvec.complex

Cast to dvec from complex
io_table

Import and Export Documented Tables
infer_guide

Infer Type of Guide
io_res.decorated

Export Resolved Table
footnote.decorated

Footnote Decorated
isConditional

Test Object is Conditional
summarize.decorated

Summarize Decorated
sub_units

Place Units Under Label
[[<-.dvec

Assign Element of Decorated Vector
to_yamlet.NULL

Coerce Null to Yamlet Storage Format
vec_ptype2.character.dvec

Find Common Type for character, dvec
vec_cast.logical.dvec

Cast to logical from dvec
unclassified.dvec

Unclassify Decorated Vector
unclassified.data.frame

Unclassify Data Frame
vec_ptype2.dvec.double

Find Common Type for dvec, double
reconcile.list

Reconcile List Atttributes
selected.default

Identify Selected Names by Default
selected

Identify Selected Names
vec_ptype2.dvec.dvec

Find Common Type for dvec, dvec
io_table.data.frame

Export Documented Table
redecorate

Redecorate a List-like Object
io_table.character

Import Documented Table
ggplot_build.ggready_ggplot

Enable Automatic Labels and Units for ggplot
ggplot_build.decorated_ggplot

Enable Automatic Labels and Units for ggplot
format.dvec

Format Decorated Vector
isConditional.default

Test Object is Conditional by Default
mimic.default

Try To Look Like Another Equal-length Variable
modify

Modify Attributes of Indicated Components
scale_type.dvec

Determine Scale Type for dvec
select.decorated

Select Decorated
[[<-.classified

Assign Element of Classified
print.dvec

Print Decorated Vector
print.decorated_xtable

Print Decorated Xtable
isConditional.list

Test List is Conditional
isLevels

Test Value is Levels
parsimonious

Reduce Something to its Simplest Sufficient Version
parsimonious.default

Reduce by Default to Simplest Sufficient Version
proxy.factor

Calculate Substitute Values for Factor Levels
proxy

Calculate Substitute Values
summarise.decorated

Summarise Decorated
unnest

Collapse Uninformative Levels
ungroup.decorated

Ungroup Decorated
[[<-.decorated

Assign Element of Decorated
[<-.dvec

Assign Subset of Decorated Vector
[<-.classified

Assign Subset of Classified
[<-.decorated

Assign Subset of Decorated
vec_cast.double.dvec

Cast to double from dvec
to_yamlet.default

Coerce Default to Yamlet Storage Format
unnest.list

Collapse Uninformative Levels of a List
unnest.default

Collapse Uninformative Levels by Default
to_yamlet.list

Coerce list to yamlet Storage Format
yamlet

yamlet: Versatile Curation of Table Metadata
vec_ptype2.complex.dvec

Find Common Type for complex, dvec
vec_ptype2.double.dvec

Find Common Type for double, dvec
xtable.decorated

Create Export Table for Decorated
vec_cast.dvec.character

Cast to dvec from character
vec_cast.dvec.logical

Cast to dvec from logical
resolve

Resolve Guide
write_yamlet

Write Yamlet
vec_ptype_abbr.dvec

Abbreviate Decorated Vector
vec_cast.integer.dvec

Cast to integer from dvec
resolve.decorated

Resolve Guide for Decorated
[[.dvec

Element-select Decorated Vector
[.yamlet

Subset Yamlet
[[.unit_string

Element-select Unit String
[.unit_string

Subset Unit String
to_yamlet

Coerce to Yamlet Storage Format
to_yamlet.character

Coerce Character to Yamlet Storage Format
vec_cast.character.dvec

Cast to character from dvec
vec_ptype2.dvec.complex

Find Common Type for dvec, complex
vec_cast.complex.dvec

Cast to complex from dvec
vec_ptype2.dvec.character

Find Common Type for dvec, dvec