R/if_null_na.R

Defines functions if_null_na

#' @noRd
if_null_na = function(x) {if(is.null(x)){return(NA)}else{return(x)}}

Try the insee package in your browser

Any scripts or data that you put into this service are public.

insee documentation built on Sept. 18, 2022, 1:08 a.m.