dataraft
A focused entry point to checked data products. The metapackage exposes 17 product verbs and dr_demo(); specialist functions stay in their component namespaces.
Install
pak::pak("dataraft-r/dataraft")For a nontechnical explanation of this component in a monthly report, read the DataRaft overview.
A small public surface
The metapackage exposes the common product verbs. Use component namespaces for specialist APIs. Begin with the five-chapter tutorial, then use the reference for exact arguments and behavior.
library(dataraft)
orders <- dr_product("orders") |>
dr_add_contract(c(id = "integer", amount = "numeric")) |>
dr_add_quality(~ amount >= 0)
result <- dr_run(orders,
data = data.frame(id = 1:3, amount = c(25, 75, 50)),
write = FALSE
)
dr_collect(result)Start with these functions
dr_product()Reference →dr_contract()Reference →dr_run()Reference →dr_collect()Reference →dr_demo()Reference →Documentation
API
19 reference topics
Usage, arguments, return values and examples from the package source.
Explore ↗GUIDED PATHGet started
Define, check and publish your first product.
Explore ↗Documentation source snapshot · View source at ed2e7e6 ↗
Code examples are documented source examples; they are not executed in this website build.
Code examples are documented source examples; they are not executed in this website build.