key_merge: Merge Demographic Information with Person/Text Transcript

Description Usage Arguments Value See Also Examples

View source: R/key_merge.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
## 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)

trinker/qdap documentation built on Sept. 30, 2020, 6:28 p.m.