summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build (renamed from bin/community)4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/community b/bin/build
index 4202702..2317a4b 100755
--- a/bin/community
+++ b/bin/build
@@ -74,6 +74,10 @@ class Census
@path = path
end
+ def sectors
+ map { |x| x[:sector] }.uniq
+ end
+
def each
CSV.foreach(@path, headers: true) do |row|
community = Community.new(row)