R/cropdatape.R

#' @title 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 (\code{NA}) indicate that in some periods do not exists agricultural activity.
#' 
#' @format Data frame with --- rows and 9 columns.
#' \describe{
#'   \item{crop}{factor with 6 levels}
#'   \item{department}{Peruvian departments. Factor with 24 levels}
#'   \item{year}{Numeric. Range of years from 2004  to 2014}
#'   \item{month}{Factor with 12 levels.}
#'   \item{sowa}{Sowing area measured by hectares (ha)}
#'   \item{harva}{Harvest area measured by hectare (ha)}
#'   \item{production}{Production of crop measured by tons (t)}
#'   \item{yield}{Yield of crop measured by kilograms per hectare (kg/ha)}
#'   \item{pricePlot}{Price per plot. The peruvian currency \code{peruvian nuevo sol} } 
#' }
#' @source http://siea.minagri.gob.pe/siea/?q=publicaciones/anuarios-estadisticos
#' @docType data
#' @name cropdatape
#' @usage cropdatape
#' @examples
#' cropdatape
NULL
omarbenites/cropdatape documentation built on May 24, 2019, 12:54 p.m.