Browse files

change subject "english" to "reading"

  • Loading branch information...
1 parent 015ae98 commit 93a235c0798f2e63239fba608b29f810ce873be1 @scottmessinger scottmessinger committed Sep 16, 2012
Showing with 36,969 additions and 0 deletions.
  1. +7 −0 chisel/lib/chisel/asn_munger.rb
  2. +36,962 −0 clean-data/CC/literacy/literacy-0.8.0.json
View
7 chisel/lib/chisel/asn_munger.rb
@@ -12,6 +12,7 @@ def munge
convert_grade_levels_to_ceds(doc[i])
standards_without_codes(doc[i])
add_grade_level(doc[i])
+ convert_subjects(doc[i])
end
self
end
@@ -101,5 +102,11 @@ def standards_without_codes(standard)
def add_grade_level(standard)
standard["gradeLevel"] = GRADES[standard["gradeLevels"]]
end
+
+ def convert_subjects(standard)
+ if standard["subject"] == "English"
+ standard["subject"] = "Reading"
+ end
+ end
end
View
36,962 clean-data/CC/literacy/literacy-0.8.0.json
36,962 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit 93a235c

Please sign in to comment.