key_merge: Merge Demographic Information with Person/Text Transcript

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
2
  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
#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)

trinker/qdap2 documentation built on May 31, 2019, 9:47 p.m.