Learn R Programming

geodata (version 0.6-2)

rice_calendar: crop calendar for rice

Description

Get crop calendar and production data for rice

Usage

rice_calendar(path, ...)

Value

SpatVectorCollection

Arguments

path

character. Path for storing the downloaded data. See geodata_path

...

additional arguments passed to download.file

References

Laborte, A.G.; Gutierrez, M.A.; Balanza, J.G.; Saito, K.; Zwart, S.J.; Boschetti, M.; Murty, MVR; Villano, L.; Aunario, J.K.; Reinke, R.; Koo, J.; Hijmans, R.J.; Nelson, A., 2017. RiceAtlas, a spatial database of global rice calendars and production. Scientific Data 4: 170074 tools:::Rd_expr_doi("10.1038/sdata.2017.74")

Examples

Run this code
# \donttest{
# first time api call takes a while
rice <- rice_calendar(path=tempdir())
cal <- rice[1]
# }

Run the code above in your browser using DataLab