If you download the PDF, you can add up the totals yourself. Convert it to HTML using pdftohtml and run:
k=0;for i in `cat outstanding_warrantss.html | egrep -o '[0-9]{1,6}\.[0-9]{2,}'`; do k=`echo "$k+$i" | bc`; done; echo $k
All in all:
bperry@bperry-desktop:~/Downloads$ k=0;for i in `cat outstanding_warrantss.html | egrep -o '[0-9]{1,6}\.[0-9]{2,}'`; do k=`echo "$k+$i" | bc`; done; echo $k
56594788.04
bperry@bperry-desktop:~/Downloads$ time $(k=0;for i in `cat outstanding_warrantss.html | egrep -o '[0-9]{1,6}\.[0-9]{2,}'`; do k=`echo "$k+$i" | bc`; done; echo $k)
56594788.04: command not found
real 10m45.130s
user 0m8.470s
sys 1m43.170s
bperry@bperry-desktop:~/Downloads$
We need a Dog the Bounty Hunter. That is quite a bit of monies.
Suggestion:
ReplyDeleteThis "line noise" could allow more fine-grained data mining: gnumeric <(perl -nE 'chomp; next unless s/
//; next if /<[bi]>/; s/.nbsp;//g; print "$_\t"; print "\n" if /^(AW|CP)$/;' outstanding_warrantss.html)
(This messes up the 768 rows with multi-line cells, so I truncated with egrep -o '([^ ]* ){7}$', losing some data.)
So you could answer questions like "how many fines are owed from the past year" or "how many fines were from Arlington"...
Do you understand the danger of looking at punitive fines as municipal _revenue_? If your local government counts on millions of dollars in fines in order to pay for services then the government has an unconscious bias towards making sure enough laws are broken by enough people for the target revenue to be acquired via punitive fines...regardless of the interests of public safety. Law enforcement should not be used to backfill budget deficits.
ReplyDelete-jef
Sure, I agree. The unpaid tickets are still lost revenue though, even if it is *passive*. I just found the numbers interesting.
ReplyDelete