add_missing_dates: Add missing dates to a year of observations (a time-series...

Description Usage Arguments Value Author(s)

View source: R/util.R

Description

Add the missing dates to a time-series tibble. This function computes and joins the dates of a time series from the minimum to the maximum dates found in the input tibble.

Usage

1
add_missing_dates(x, step, prodes_start)

Arguments

x

A tibble with a the fields 'img_date' and 'sat_image'. That is the date when the image was taken and its matching image.

step

A length-one numeric. The number of days between observations.

prodes_start

A length-one character. The first day of the PRODES year (e.g. '-08-01').

Value

A tibble of the matching PRODES dates and NA for the missing 'sat_image'.

Author(s)

Alber Sanchez, alber.ipia@inpe.br


albhasan/sits.starfm documentation built on Sept. 3, 2020, 4:03 p.m.