caret (version 6.0-68)

Sacramento: Sacramento CA Home Prices

Description

This data frame contains house and sale price data for 932 homes in Sacramento CA. The original data were obtained from the website for the SpatialKey software. From their website: "The Sacramento real estate transactions file is a list of 985 real estate transactions in the Sacramento area reported over a five-day period, as reported by the Sacramento Bee." Google was used to fill in missing/incorrect data.

Usage

data(Sacramento)

Arguments

Value

  • Sacramentoa data frame with columns 'city', 'zip', 'beds', 'baths', 'sqft', 'type', 'price', 'latitude', and 'longitude'

source

SpatialKey website: https://support.spatialkey.com/spatialkey-sample-csv-data

Examples

Run this code
data(Sacramento)

set.seed(955)
in_train <- createDataPartition(log10(Sacramento$price), p = .8, list = FALSE)

training <- Sacramento[ in_train,]
testing  <- Sacramento[-in_train,]

Run the code above in your browser using DataCamp Workspace