date_correct: correct data values

Description Usage Arguments Value Examples

View source: R/date_correct.R

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 29, 2017, 11:23 a.m.