Learn R Programming

rWBclimate (version 0.1.3)

date_correct: correct data values

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

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

Run this code
## Not run: 
# date_correct(1921,1957)
# ## End(Not run)

Run the code above in your browser using DataLab