powered by
Wrapper function (merge) for merging demographic information with a person/text transcript.
merge
key_merge(transcript.df, key.df, common.column = NULL, defualt.arrange = TRUE)
Outputs a merged transcript dataframe with demographic information.
The text/person transcript dataframe
The demographic dataframe.
The column(s) shared by transcript.df and key.df. If NULL function defaults to use any columns with the same name.
transcript.df
key.df
NULL
logical. If TRUE will arrange the columns with text to the far right.
TRUE
if (FALSE) { #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) }
Run the code above in your browser using DataLab