check_fix_dupe_name: check_fix_dupe_name checks a string vector for the existence...

Description Usage Arguments Value

View source: R/data_export.R

Description

check_fix_dupe_name checks a string vector for the existence of a particular string. If found, it modifies the query string so that it does not match an existing string int he vector. It does this be appending an underscore and numeric value.

Usage

1

Arguments

name

the single string name that will be searched for and modified if necessary

curr_names

the vector of strings that will be searched for the single string 'name'.

Value

if necessary, a modified string that is not duplicated in the input vector. otherwise, the input name parameter


iancj88/msuopa documentation built on May 17, 2019, 7:07 p.m.