powered by
Add NA values within a time series
h_addna(file, add)
File name to proceed
List of dates with NA values to be added
P. Chevallier - November 2022
The function adds records with NA in a time series at given dates. If the date already exists, the value is replaced by NA
The output file is named with a nap_ prefix.
if (FALSE) { f <- h_addna (f, add = c("2021-01-01 12:00:00 UTC", "2031-01-01 12:00:00 UTC")) }
Run the code above in your browser using DataLab