proptax 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/proptax/generators/report/cherry-picked.Rmd +8 -8
- data/lib/proptax/generators/report/default.Rmd +1 -2
- data/lib/proptax/version.rb +1 -1
- data/lib/proptax.rb +9 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e847d19e635fde7dea7533e7b54d4d1800680db
|
4
|
+
data.tar.gz: c268f7c2655fb31575cf325b9d5b760816274a9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 411093133650d491d6099b62c4015de915207fe5b64ef371f16b8196b5cc75d6f8b3a26635af5a17404178751b864a3f937c5c0d538ffa895f8af48c5a9bcf57
|
7
|
+
data.tar.gz: 957fb9e013c84819a9e6a0004eac7853bb7d67f84dff0d8737b9f4fc010e285af39606dcf62536ac1fbd825d7188815e35d40e938e13857e9d3454e1391d6e6e
|
data/.gitignore
CHANGED
@@ -25,14 +25,14 @@ myHouseNumber <- regmatches(address, m)
|
|
25
25
|
myStreetName <- gsub(".*[\\d]", "", address, perl=TRUE)
|
26
26
|
|
27
27
|
# How do this factors impact an assessment?
|
28
|
-
unknownImpact <- c('
|
29
|
-
'Property.Type', 'Property.Use', '
|
30
|
-
'Community', 'Sub.Neighbourhood.Code..SNC.',
|
31
|
-
'Sub.Market.Area', 'Land.Use.Designation',
|
32
|
-
'Building.
|
33
|
-
'
|
34
|
-
'
|
35
|
-
'
|
28
|
+
unknownImpact <- c('Taxation.Status', 'Assessment.Class',
|
29
|
+
'Property.Type', 'Property.Use', 'Valuation.Approach',
|
30
|
+
'Market.Adjustment', 'Community', 'Market.Area', 'Sub.Neighbourhood.Code..SNC.',
|
31
|
+
'Sub.Market.Area', 'Influences', 'Land.Use.Designation', 'Building.Count',
|
32
|
+
'Building.Type.Structure', 'Year.of.Construction', 'Quality', 'Basement.Suite',
|
33
|
+
'Walkout.Basement', 'Garage.Type', 'Fireplace.Count', 'Renovation',
|
34
|
+
'Constructed.On.Original.Foundation', 'Modified.For.Disabled',
|
35
|
+
'Old.House.On.New.Foundation', 'Basementless', 'Penthouse')
|
36
36
|
|
37
37
|
# These factors are informational and don't affect the assessment
|
38
38
|
noImpact <- c('Roll.Number', 'Location.Address')
|
@@ -30,7 +30,7 @@ unknownImpact <- c('Taxation.Status', 'Assessment.Class',
|
|
30
30
|
'Market.Adjustment', 'Community', 'Market.Area', 'Sub.Neighbourhood.Code..SNC.',
|
31
31
|
'Sub.Market.Area', 'Influences', 'Land.Use.Designation', 'Building.Count',
|
32
32
|
'Building.Type.Structure', 'Year.of.Construction', 'Quality', 'Basement.Suite',
|
33
|
-
'Walkout.Basement', 'Garage.Type', 'Fireplace.Count',
|
33
|
+
'Walkout.Basement', 'Garage.Type', 'Fireplace.Count', 'Renovation',
|
34
34
|
'Constructed.On.Original.Foundation', 'Modified.For.Disabled',
|
35
35
|
'Old.House.On.New.Foundation', 'Basementless', 'Penthouse')
|
36
36
|
|
@@ -203,7 +203,6 @@ should be positioned.
|
|
203
203
|
The pertinent property's overassessment is determined by measuring the distance
|
204
204
|
between the red point and the blue line.
|
205
205
|
|
206
|
-
|
207
206
|
```{r adjustValues, echo=FALSE}
|
208
207
|
# Sum each property's lot size and total developed space
|
209
208
|
areaTotals <- rowSums(data[,-1])
|
data/lib/proptax/version.rb
CHANGED
data/lib/proptax.rb
CHANGED
@@ -15,7 +15,7 @@ module Proptax
|
|
15
15
|
'Sub Market Area', 'Influences', 'Land Use Designation', 'Assessable Land Area',
|
16
16
|
'Building Count', 'Building Type/Structure', 'Year of Construction',
|
17
17
|
'Quality', 'Total Living Area Above Grade', 'Living Area Below Grade', 'Basement Suite',
|
18
|
-
'Walkout Basement', 'Garage Type', 'Garage Area', 'Fireplace Count',
|
18
|
+
'Walkout Basement', 'Garage Type', 'Garage Area', 'Fireplace Count', 'Renovation',
|
19
19
|
'Constructed On Original Foundation', 'Modified For Disabled', 'Old House On New Foundation',
|
20
20
|
'Basementless', 'Penthouse']
|
21
21
|
|
@@ -117,7 +117,14 @@ module Proptax
|
|
117
117
|
# end
|
118
118
|
end
|
119
119
|
end
|
120
|
-
Headers.map { |header| csv_hash[header] || '0' }
|
120
|
+
# Headers.map { |header| csv_hash[header] || '0' }
|
121
|
+
Headers.map do |header|
|
122
|
+
if header == 'Renovation'
|
123
|
+
csv_hash[header] || 'unk.'
|
124
|
+
else
|
125
|
+
csv_hash[header] || '0'
|
126
|
+
end
|
127
|
+
end
|
121
128
|
end
|
122
129
|
|
123
130
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proptax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Bidulock
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|