tbl_eav: Make an EAV tibble out of a regular tibble

Description Usage Arguments

View source: R/tbl_eav.R

Description

Make an EAV tibble out of a regular tibble

Usage

1
2
tbl_eav(.data, id_cols = NULL, variable_col = c("variable", "var"),
  value_col = "value")

Arguments

.data

starting tibble in EAV format

id_cols

specification of columns which represent entities

variable_col

spec of column which represent variable names

value_col

spec of column which represent values

Columns may be specified using character vectors or (hopefully) tidyselect semantics.


jameelalsalam/eavtools documentation built on Oct. 17, 2019, 1:45 a.m.