sample_data: Creates a new Datafringe from a dataframe

View source: R/sample_data.R

sample_dataR Documentation

Creates a new Datafringe from a dataframe

Description

Creates a new datapackage from json, data fringe, list of data fringes, list of data fringees (see Datafringe reference class)

Usage

sample_data(
  frtype,
  n = 20,
  loremNames = TRUE,
  names = NULL,
  addNA = TRUE,
  rep = FALSE,
  ...
)

Arguments

d

might be a json string, data fringe or list of data fringes.

Value

dp

Examples

## Not run: 
fringe <- newDatafringeFromDatafringe(mtcars)

## End(Not run)

datasketch/homodatum documentation built on May 1, 2023, 12:17 a.m.