date_correct: correct data values

Description Usage Arguments Value Examples

Description

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

1

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

1
2
3
4
## Not run: 
date_correct(1921,1957)

## End(Not run)

rWBclimate documentation built on May 1, 2019, 8:22 p.m.