replace_null: Replace NULLS

View source: R/utility_functions.R

replace_nullR Documentation

Replace NULLS

Description

Replace NULL values with a supplied value

Usage

replace_null(x, with = NA)

Arguments

x

a vector possibly containing nulls

with

what to replace the nulls with, default is NA

Details

This function is a helper to replace null values returned by the API with a specified values. This is NA by default.

Value

a vector of equal length to x which will not contain null values but the value of with instead


MatthewJWhittle/getarc documentation built on April 22, 2023, 12:16 p.m.