init {tidyindex}R Documentation

Initialise the tidyindex pipeline

Description

Initialise an index table object with a data frame or a tibble.

Usage

init(data, ...)

## S3 method for class 'idx_tbl'
print(x, ...)

Arguments

data

a tibble or data frame to be converted into a index object

...

arguments to give variables roles, recorded in the paras element of the index table object, currently used for id and time

x

an index object

Value

an index table object

Examples

init(hdi)
init(gggi)

[Package tidyindex version 0.1.0 Index]