Function to find the date for next n samples

nth_date(df, start, n = 4, sample_date)

Arguments

df

dataframe of groundwater data in tidy format

start

the date to start from

n

the next n samples to get the date for

sample_date

the column for the sampling dates