key_merge: Merge Demographic Information with Person/Text Transcript

View source: R/key_merge.R

key_mergeR Documentation

Merge Demographic Information with Person/Text Transcript

Description

Wrapper function (merge) for merging demographic information with a person/text transcript.

Usage

key_merge(transcript.df, key.df, common.column = NULL, defualt.arrange = TRUE)

Arguments

transcript.df

The text/person transcript dataframe

key.df

The demographic dataframe.

common.column

The column(s) shared by transcript.df and key.df. If NULL function defaults to use any columns with the same name.

defualt.arrange

logical. If TRUE will arrange the columns with text to the far right.

Value

Outputs a merged transcript dataframe with demographic information.

See Also

merge

Examples

## Not run: 
#First view transcript dataframe and demographics dataframe.
ltruncdf(list(raj, raj.demographics), 10, 50)
merged.raj <- key_merge(raj, raj.demographics)
htruncdf(merged.raj, 10, 40)

## End(Not run)

qdap documentation built on May 31, 2023, 5:20 p.m.