The dataset name has been changed to 'Boston_df' to avoid confusion with other packages in the R ecosystem from which datasets have been sourced. This naming convention helps distinguish this dataset as part of the 'usdatasets' package and assists users in identifying its specific characteristics. The suffix '_df' identifies the dataset as a data frame. The original content of the dataset has not been modified in any way.
Usage
data(Boston_df)
Format
A data frame with 506 observations and 14 variables:
- crim
Per capita crime rate by town.
- zn
Proportion of residential land zoned for lots over 25,000 sq. ft.
- indus
Proportion of non-retail business acres per town.
- chas
Charles River dummy variable (1 if tract bounds river; 0 otherwise).
- nox
Nitric oxides concentration (parts per 10 million).
- rm
Average number of rooms per dwelling.
- age
Proportion of owner-occupied units built prior to 1940.
- dis
Weighted distances to five Boston employment centers.
- rad
Index of accessibility to radial highways.
- tax
Full-value property tax rate per $10,000.
- ptratio
Pupil-teacher ratio by town.
- black
1000(Bk - 0.63)^2 where Bk is the proportion of Black residents by town.
- lstat
Percentage of lower status of the population.
- medv
Median value of owner-occupied homes in $1000s.