View source: R/utility_functions.R
replace_null | R Documentation |
Replace NULL values with a supplied value
replace_null(x, with = NA)
x |
a vector possibly containing nulls |
with |
what to replace the nulls with, default is NA |
This function is a helper to replace null values returned by the API with a specified values. This is NA by default.
a vector of equal length to x which will not contain null values but the value of with instead
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.