separate_terms_by_gender: Separates terms by gender.

Description Usage Arguments Value

Description

Separates terms by gender. Drops NAs, selects gender & target_col, then divides target_col up by various string markers (eg. \'or \', \',\', \' and\', etc.). Filters out non-sense pieces from broken up terms.

Usage

1
separate_terms_by_gender(x, target_col)

Arguments

x

dataframe, contains columns Gender and a column identified by target_col.

target_col

numeric (or string), identifies column of interest.

Value

A dataframe with columns primary_col and Gender.


IskanderBlue/morseldash documentation built on Oct. 30, 2019, 7:24 p.m.