proptax 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d324e25cc08d238655525477be792951d937d8c
4
- data.tar.gz: 6d3fc5cbb26a107c33302717c6cd68424fbd830a
3
+ metadata.gz: 5e847d19e635fde7dea7533e7b54d4d1800680db
4
+ data.tar.gz: c268f7c2655fb31575cf325b9d5b760816274a9f
5
5
  SHA512:
6
- metadata.gz: 63d2283b620ea99f918e2dc071624f6f61c6ae050d41b476784a1547c8d21d43dfeeee925a21997a6170c4626f103d803cd3fa9efd08c11d6922d53a4b77340b
7
- data.tar.gz: 67a2a9e498460953da32c2b6915f75653b2dec33765e9d8972b3890042dd32c1483349861b5ad1df246514b939a4d1bf7a976eb5469d3f2832eb8d7effda00cd
6
+ metadata.gz: 411093133650d491d6099b62c4015de915207fe5b64ef371f16b8196b5cc75d6f8b3a26635af5a17404178751b864a3f937c5c0d538ffa895f8af48c5a9bcf57
7
+ data.tar.gz: 957fb9e013c84819a9e6a0004eac7853bb7d67f84dff0d8737b9f4fc010e285af39606dcf62536ac1fbd825d7188815e35d40e938e13857e9d3454e1391d6e6e
data/.gitignore CHANGED
@@ -14,3 +14,4 @@
14
14
  *.sw*
15
15
  .Rhistory
16
16
  reports/
17
+ consolidated.csv
@@ -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('Valuation.Approach', 'Assessment.Class',
29
- 'Property.Type', 'Property.Use', 'Taxation.Status',
30
- 'Community', 'Sub.Neighbourhood.Code..SNC.', 'Market.Area',
31
- 'Sub.Market.Area', 'Land.Use.Designation',
32
- 'Building.Count', 'Building.Type.Structure',
33
- 'Year.of.Construction', 'Quality', 'Basement.Suite',
34
- 'Walkout.Basement', 'Garage.Type', 'Fireplace',
35
- 'Influences', 'Market.Adjustment')
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])
@@ -1,3 +1,3 @@
1
1
  module Proptax
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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.3
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-01-16 00:00:00.000000000 Z
11
+ date: 2018-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler