Skip to contents

Round start and end dates to conform with data api standards. See api documentation (http://data.worldbank.org/developers/climate-data-api) for full details

Usage

date_correct(start, end)

Arguments

start

The start year

end

The end year

Value

a 2xM matrix where M in the number of periods in the data api

Examples

if (FALSE) {
date_correct(1921,1957)
}