as_entityset: Create entityset and entity from data frame.

Description Usage Arguments Value Examples

View source: R/as_entityset.R

Description

Create an entityset with a selected 'data.frame' as an entity.

Usage

1
2
as_entityset(.data, id = "entityset", index = NA, time_index = NULL,
  entity_id = "df1", ...)

Arguments

.data

The 'data.frame' to be added as an entity to entityset.

id

The id of this entityset.

index

Name of id column in the dataframe.

time_index

Name of the time column in the dataframe.

entity_id

An identifier for this entity.

...

Additional variables passed to 'add_entity'.

Value

A modified entityset.

Examples

1
as_entityset(cars, index = "row_number")

magnusfurugard/featuretoolsR documentation built on April 27, 2020, 11:36 p.m.