identity_from_xlsx: Gets IDENTITY data and cleans up based on parameters

Description Usage Arguments

View source: R/identity_from_xlsx.R

Description

Gets IDENTITY data and cleans up based on parameters

Usage

1
2
3
identity_from_xlsx(path_to_identity, tab, target_cols,
  keep_all_cols = FALSE, dont_trimws = FALSE, remove_all = "\t|\n",
  include_duplicates = FALSE, log = TRUE)

Arguments

path_to_identity

exact name of the Google Sheet that has the IDENTITY table. If there are more than 1 Google Sheets with this name, an error will be returned. An "IDENTITY_ID" column is required.

tab

name or number of tab

keep_all_cols

TRUE if all the variables are wanted in the output. Otherwise, only the target_cols will be selected.

dont_trimws

TRUE if white spaces on both the left and right side are not desired in the output

remove_all

character string of length 1 representing the string of artifact and other values to be removed from the final output separated by the OR operator

include_duplicates

TRUE if all the duplicates are desired in the output


patelm9/cartographR documentation built on Dec. 18, 2019, 5:54 a.m.