gen_data_db: Generate full db from a Cookbook of Recipes

View source: R/create_data.R

gen_data_dbR Documentation

Generate full db from a Cookbook of Recipes

Description

Generate full db from a Cookbook of Recipes

Usage

gen_data_db(
  cbook,
  db = list(),
  ns = setNames(rep(500, NROW(cbook)), cbook$table)
)

Arguments

cbook

tribble. Columns: table, scaff_ref, data_rec, na_rec

db

list. Named list of already existing tables

ns

named numeric. Ns for use when generating independent tables.

Value

A named list of tables of generated data.


Roche/respectables documentation built on Oct. 2, 2024, 8:57 p.m.