clean_name: Clean name data

View source: R/pull_fun.R

clean_nameR Documentation

Clean name data

Description

This function takes a character vector to remove and a vector to be cleaned. Outputs the second vector without the characters in first vector and applies trimws function

Usage

clean_name(to_remove, data_clean)

Arguments

to_remove

Vector with characters to search and remove in data_clean

data_clean

Vector suceptible to cleaning

Value

Second vector without characters from first vector and without ws


SCasanova/pfrefscrape documentation built on Aug. 21, 2022, 8:32 p.m.