agpop {ResearchMethods}R Documentation

Farming Data

Description

The results from the US 1992 Census of Agriculture

Arguments

agpop A dataset with 3078 entries and 15 variables:
$county County name
$state state abbreviation
$acres92 Number of acres devoted to farms in 1992 (-99=missing)
acres87 Number of acres devoted to farms in 1987 (-99=missing)
acres82 Number of acres devoted to farms in 1982 (-99=missing)
farms92 Number of farms in 1992 (-99=missing)
farms87 Number of farms in 1987 (-99=missing)
farms82 Number of farms in 1982 (-99=missing)
largef92 Number of farms, with 100 acres or more, in 1992 (-99=missing)
largef87 Number of farms, with 100 acres or more, in 1987 (-99=missing)
largef82 Number of farms, with 100 acres or more, in 1982 (-99=missing)
smallf92 Number of farms, with 9 acres or less, in 1992 (-99=missing)
smallf87 Number of farms, with 9 acres or less, in 1987 (-99=missing)
smallf82 Number of farms, with 9 acres or less, in 1982 (-99=missing)
region S=South, W=west, NC=north central, and NE=northeast

Details

As stated above, a -99 entry indicates a missing value. To replace the missing values with NA, use the example code below.

See Also

MFSV

Examples

  #to call the dataset
  data("agpop")                                 #note the quotation marks

  #to convert the -99's to NA's
  library(gdata)
  agpop2 = unknownToNA(agpop,unknown=-99)       #it is preferable to save new dataset under a new name

[Package ResearchMethods version 1.01 Index]