gimlet.prep: Prepare Gimlet data.

Description Usage Arguments Value Examples

Description

Prepare Gimlet data.

Usage

1
gimlet.prep(data, promoted_tags = NULL)

Arguments

data

A data frame with raw Gimlet data.

promoted_tags

Optional. A character vector of 'promoted' tags, i.e., tags to retain.

Value

A data frame with prepared data. If promoted_tags is provided, tags variable is replaced with tagpre (original tag) and tagpost (processed tag).

Examples

1
2
prep.gimlet(read.gimlet('mysite', 'e@mail.com', 'mypassword'))
prep.gimlet(mydata, c('policy', 'technology', 'ill', 'internal_directions'))

lanceupton/gimletr documentation built on May 14, 2019, 1:46 p.m.