prices.zoo: Get monthly price data as zoo object from included package...

View source: R/prices.zoo.R

prices.zooR Documentation

Get monthly price data as zoo object from included package data prices.wb

Description

Get parameter files from efforts-abm folder

Usage

prices.zoo(
  start.date = as.Date("1960-01-01"),
  end.date = as.Date("2020-01-01")
)

Arguments

start.date

start date of time series in format as.Date("yyyy-mm-dd")

end.date

end date of time series as.Date("yyyy-mm-dd")

Details

Loads monthly price data for the selected crop from the included data file prices.wb. The prices are then converted into an zoo object. Price data has been stored within the package and was downloaded from World Bank Data on March 3rd, 2020. Prices for Oilpalm and Rubber were extracted and converted to prices in Dollar per ton from the Pink Sheet data (World Bank).

Value

a zoo object with price time series

Examples

## Not run: 
prices.zoo()

## End(Not run)


EFForTS-B10/Refforts documentation built on March 26, 2023, 5:45 p.m.