Open SalvadorW2 opened 4 years ago
The question asks about assessed LAND value, not assessed value. The variable names need to be updated in the data dictionary but you can see the two definitions here:
https://ds4ps.org/Data-Science-Class/DATA/syr_parcels.html
Try:
value.acre <- downtown$assessedland / downtown$acres
Note the format for code highlighting on GitHub. Put fences around code:
```r
valperacre <- ( downtown$assessedval / downtown$acres )
milperacre <- ( valperacre > 1000000 )
To get:
```r
valperacre <- ( downtown$assessedval / downtown$acres )
milperacre <- ( valperacre > 1000000 )
Ah, thank you @lecy for that!
Edit: Deleted my original post as not to mislead - thanks again, @lecy!
I've done the standard calculation for determining value per land area: total value / total area. Then, I've made a variable for value per acre greater than 1,000,000.
However, when I then plug "milperacre" into the map formula, the map I get contains far more red area than the one in the lab instructions.
Am I going about this the wrong way?