R/replace_na_with_closed_quotes.R

Defines functions replace_na_with_close_quotes

Documented in replace_na_with_close_quotes

#' Replace string NA with empty quotes before upload to google sheets
#'
#' Replace string NA with empty quotes before upload to google sheets
#' @param x is a column vector
#' @keywords google sheet NA
#' @export
#' @examples
#' items <- purrr::map(items, replace_na_with_close_quotes)

replace_na_with_close_quotes <- function(x) {
  ifelse(is.na(x), "", x)
}
Kidapt/keda documentation built on Nov. 23, 2019, 3:35 a.m.