R/parsevector.R

Defines functions parsevector

parsevector <- function(x){
	#the main purpose of this function is to map JSON null values to NA.
	ifelse(is.null(x) || x == "NOT_DISPLAYED" || x == "SKIPPED", return(NA), return(x))
}
jeroenooms/Ohmage documentation built on May 19, 2019, 6:11 a.m.