| Title: | Open Data of Agricultural Production of Crops of Peru | 
| Version: | 1.0.0 | 
| URL: | https://github.com/omarbenites/cropdatape, http://siea.minagri.gob.pe/siea/?q=publicaciones/anuarios-estadisticos | 
| BugReports: | https://github.com/omarbenites/cropdatape/issues | 
| Description: | Provides peruvian agricultural production data from the Agriculture Minestry of Peru (MINAGRI). The first version includes 6 crops: rice, quinoa, potato, sweet potato, tomato and wheat; all of them across 24 departments. Initially, in excel files which has been transformed and assembled using tidy data principles, i.e. each variable is in a column, each observation is a row and each value is in a cell. The variables variables are sowing and harvest area per crop, yield, production and price per plot, every one year, from 2004 to 2014. | 
| Depends: | R (≥ 3.3.1) | 
| License: | MIT + file LICENSE | 
| Encoding: | UTF-8 | 
| LazyData: | true | 
| RoxygenNote: | 5.0.1 | 
| NeedsCompilation: | no | 
| Packaged: | 2017-03-02 11:23:04 UTC; omar_ | 
| Author: | Omar Benites-Alfaro [aut, cre], Pablo Gutierrez-Vilchez [aut], Jossyn Lockuan-Cotrina [aut], Giorgio Cruz-Fajardo [aut], Grace Guevara-Diaz [aut], Charlie Mendez-Morales [aut], Liliana Aragon-Caballero [ctb], Raul Blas-Sevillano [ctb], Agronomy Faculty, National Agrarian University La Molina (UNALM) [cph] (Copyright holder of all R code), Agriculture Ministry of Peru (MINAGRI) [cph] (Data source come from MINAGRI) | 
| Maintainer: | Omar Benites-Alfaro <obacc07@gmail.com> | 
| Repository: | CRAN | 
| Date/Publication: | 2017-03-02 14:29:53 | 
Annual agricultural production data of Peru
Description
The cropdatape package is based on the Integrated System of Agricultural Statistics (SIEA) of Peruvian Agriculture Ministry. 
The variables are: sowing and harvest area, production, crop yield, price per plot by region. The range of year covers from 
2004 to 2014. In case of 2004, it just considered from August to December (mid-seasson). Some missing values (NA) indicate that in some periods do not exists agricultural activity.
Usage
cropdatape
Format
Data frame with — rows and 9 columns.
- crop
 factor with 6 levels
- department
 Peruvian departments. Factor with 24 levels
- year
 Numeric. Range of years from 2004 to 2014
- month
 Factor with 12 levels.
- sowa
 Sowing area measured by hectares (ha)
- harva
 Harvest area measured by hectare (ha)
- production
 Production of crop measured by tons (t)
- yield
 Yield of crop measured by kilograms per hectare (kg/ha)
- pricePlot
 Price per plot. The peruvian currency
peruvian nuevo sol
Source
http://siea.minagri.gob.pe/siea/?q=publicaciones/anuarios-estadisticos
Examples
cropdatape