From bd73dc8eacac19aeea10a6610b1775167521c6a0 Mon Sep 17 00:00:00 2001 From: Laurel Woods Date: Sun, 22 Nov 2020 12:21:44 -0800 Subject: [PATCH 01/67] ucpd datasets -- budget --- _posts/2020-11-21-ucpd-budget-arrests.md | 15 +++++++++++++++ datasets/ucpd-budget-arrests/ucla-pd-budget.csv | 14 ++++++++++++++ .../ucpd-budget-arrests/ucpd_compare_budget.csv | 11 +++++++++++ 3 files changed, 40 insertions(+) create mode 100644 _posts/2020-11-21-ucpd-budget-arrests.md create mode 100644 datasets/ucpd-budget-arrests/ucla-pd-budget.csv create mode 100644 datasets/ucpd-budget-arrests/ucpd_compare_budget.csv diff --git a/_posts/2020-11-21-ucpd-budget-arrests.md b/_posts/2020-11-21-ucpd-budget-arrests.md new file mode 100644 index 000000000..858b857bd --- /dev/null +++ b/_posts/2020-11-21-ucpd-budget-arrests.md @@ -0,0 +1,15 @@ +--- +title: UCPD Budget & Arrest Data +teaser: +authors: + - +key_takeaways: + - +featured_image: + url: +og_image: +stylesheets: + - +scripts: + - +--- diff --git a/datasets/ucpd-budget-arrests/ucla-pd-budget.csv b/datasets/ucpd-budget-arrests/ucla-pd-budget.csv new file mode 100644 index 000000000..2eb411c5a --- /dev/null +++ b/datasets/ucpd-budget-arrests/ucla-pd-budget.csv @@ -0,0 +1,14 @@ +Category,FY 12-13,FY 13-14,FY 14-15,FY 15-16,FY 16-17,FY 17-18,FY 18-19,FY 19-20 (Approved but not actual) +General Fund,7840865,7722073,8046263,8186976,9083123,9588346,10599092,11013550 +Recharge Income,5513091,5875011,6963650,7079707,7345486,8836374,9757757,10226587 +External Income,623623,595886,617552,592293,641527,422145,519271,423235 +Total Resources,13977579,14192970,15627465,15858976,17070136,18846865,20876120,21663372 +Salary and Benefits,11726441,12346141,12950229,13852782,14007650,14438587,16759251,18854074 +Equipment (Non Computer),160467,147010,189222,115419,112443,142193,212482,134500 +Materials & Supplies,226625,162000,311450,312919,270716,368327,360096,422300 +Information Technology,134502,160546,224457,236766,223329,149888,158209,656237 +Communication,183507,196138,165065,162008,187145,167834,165444,194656 +Travel,4200,14890,113256,119757,139789,152410,167842,144300 +General Service,1220054,1178430,1535226,1468688,1812296,1935364,2397924,1963751 +Maintenance & Repair,24351,18500,10444,12806,1319,500,37408,6000 +Total Expenses,13680147,14223655,15499349,16281145,16754687,17355103,20258656,22375818 \ No newline at end of file diff --git a/datasets/ucpd-budget-arrests/ucpd_compare_budget.csv b/datasets/ucpd-budget-arrests/ucpd_compare_budget.csv new file mode 100644 index 000000000..201768eca --- /dev/null +++ b/datasets/ucpd-budget-arrests/ucpd_compare_budget.csv @@ -0,0 +1,11 @@ +Campus,FY 18-19,FY 19-20,FY 20-21 (projected) +UC Berkeley,13872000,15741000,15793000 +UC Davis,11979000,13393000,15121000 +UC Irvine,15200825,17640793,In progress +UC Los Angeles,21094516,21663372,22182739 +UC Merced,4353804,4638542,4852023 +UC Riverside,7971153,8325720,8690839 +UC Santa Barbara,9241303,9641701,In progress +UC Santa Cruz,6171219,6965349,6965349 +UC San Diego,14875000,14044000,13921000 +UC San Francisco,22100000,24100000,25100000 From 92d51198ff6f21bcd9549f498ee3fa25405d6fbb Mon Sep 17 00:00:00 2001 From: Laurel Woods Date: Mon, 23 Nov 2020 10:51:59 -0800 Subject: [PATCH 02/67] stacked bar chart for ucla pd budget expenses --- _posts/2020-11-21-ucpd-budget-arrests.md | 8 ++- .../ucpd-budget-arrests/stacked-barchart.js | 65 +++++++++++++++++++ 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 js/posts/ucpd-budget-arrests/stacked-barchart.js diff --git a/_posts/2020-11-21-ucpd-budget-arrests.md b/_posts/2020-11-21-ucpd-budget-arrests.md index 858b857bd..11d72dd0c 100644 --- a/_posts/2020-11-21-ucpd-budget-arrests.md +++ b/_posts/2020-11-21-ucpd-budget-arrests.md @@ -11,5 +11,11 @@ og_image: stylesheets: - scripts: - - + - //d3js.org/d3.v5.min.js + - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js + - /js/posts/ucpd-budget-arrests/stacked-barchart.js --- + +
+ +
diff --git a/js/posts/ucpd-budget-arrests/stacked-barchart.js b/js/posts/ucpd-budget-arrests/stacked-barchart.js new file mode 100644 index 000000000..4487959a2 --- /dev/null +++ b/js/posts/ucpd-budget-arrests/stacked-barchart.js @@ -0,0 +1,65 @@ +d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); + +function makeChart(csvData) { + console.log(csvData); + + let data = { + labels: [ + 'FY 12-13', + 'FY 13-14', + 'FY 14-15', + ' FY 15-16', + 'FY 16-17', + 'FY 17-18', + 'FY 18-19', + 'FY 19-20 (Approved but not actual)', + ], + datasets: [], + }; + + let colors = [ + '#374c80', + '#7a5195', + '#bc5090', + '#ef5675', + '#ff764a', + '#ffa600', + 'green', + 'blue', + ]; + + for (let i = 4; i < 12; i++) { + data.datasets.push({ + label: csvData[i].Category, + data: Object.values(csvData[i]).slice(1), + backgroundColor: colors[i - 4], + borderColor: colors[i - 4], + }); + } + + let options = { + title: { + display: true, + text: 'UCPD Budget', + }, + scales: { + xAxes: [ + { + stacked: true, + }, + ], + yAxes: [ + { + stacked: true, + }, + ], + }, + }; + + let ctx = document.getElementById('barchart-uclapd'); + let stackedBarChart = new Chart(ctx, { + type: 'bar', + data: data, + options: options, + }); +} From 4f693ce1fdb71fb2d4dc9a1dfdd31d5ef14a1be0 Mon Sep 17 00:00:00 2001 From: Laurel Woods Date: Sun, 22 Nov 2020 12:21:44 -0800 Subject: [PATCH 03/67] ucpd datasets -- budget --- _posts/2020-11-21-ucpd-budget-arrests.md | 15 +++++++++++++++ datasets/ucpd-budget-arrests/ucla-pd-budget.csv | 14 ++++++++++++++ .../ucpd-budget-arrests/ucpd_compare_budget.csv | 11 +++++++++++ 3 files changed, 40 insertions(+) create mode 100644 _posts/2020-11-21-ucpd-budget-arrests.md create mode 100644 datasets/ucpd-budget-arrests/ucla-pd-budget.csv create mode 100644 datasets/ucpd-budget-arrests/ucpd_compare_budget.csv diff --git a/_posts/2020-11-21-ucpd-budget-arrests.md b/_posts/2020-11-21-ucpd-budget-arrests.md new file mode 100644 index 000000000..858b857bd --- /dev/null +++ b/_posts/2020-11-21-ucpd-budget-arrests.md @@ -0,0 +1,15 @@ +--- +title: UCPD Budget & Arrest Data +teaser: +authors: + - +key_takeaways: + - +featured_image: + url: +og_image: +stylesheets: + - +scripts: + - +--- diff --git a/datasets/ucpd-budget-arrests/ucla-pd-budget.csv b/datasets/ucpd-budget-arrests/ucla-pd-budget.csv new file mode 100644 index 000000000..2eb411c5a --- /dev/null +++ b/datasets/ucpd-budget-arrests/ucla-pd-budget.csv @@ -0,0 +1,14 @@ +Category,FY 12-13,FY 13-14,FY 14-15,FY 15-16,FY 16-17,FY 17-18,FY 18-19,FY 19-20 (Approved but not actual) +General Fund,7840865,7722073,8046263,8186976,9083123,9588346,10599092,11013550 +Recharge Income,5513091,5875011,6963650,7079707,7345486,8836374,9757757,10226587 +External Income,623623,595886,617552,592293,641527,422145,519271,423235 +Total Resources,13977579,14192970,15627465,15858976,17070136,18846865,20876120,21663372 +Salary and Benefits,11726441,12346141,12950229,13852782,14007650,14438587,16759251,18854074 +Equipment (Non Computer),160467,147010,189222,115419,112443,142193,212482,134500 +Materials & Supplies,226625,162000,311450,312919,270716,368327,360096,422300 +Information Technology,134502,160546,224457,236766,223329,149888,158209,656237 +Communication,183507,196138,165065,162008,187145,167834,165444,194656 +Travel,4200,14890,113256,119757,139789,152410,167842,144300 +General Service,1220054,1178430,1535226,1468688,1812296,1935364,2397924,1963751 +Maintenance & Repair,24351,18500,10444,12806,1319,500,37408,6000 +Total Expenses,13680147,14223655,15499349,16281145,16754687,17355103,20258656,22375818 \ No newline at end of file diff --git a/datasets/ucpd-budget-arrests/ucpd_compare_budget.csv b/datasets/ucpd-budget-arrests/ucpd_compare_budget.csv new file mode 100644 index 000000000..201768eca --- /dev/null +++ b/datasets/ucpd-budget-arrests/ucpd_compare_budget.csv @@ -0,0 +1,11 @@ +Campus,FY 18-19,FY 19-20,FY 20-21 (projected) +UC Berkeley,13872000,15741000,15793000 +UC Davis,11979000,13393000,15121000 +UC Irvine,15200825,17640793,In progress +UC Los Angeles,21094516,21663372,22182739 +UC Merced,4353804,4638542,4852023 +UC Riverside,7971153,8325720,8690839 +UC Santa Barbara,9241303,9641701,In progress +UC Santa Cruz,6171219,6965349,6965349 +UC San Diego,14875000,14044000,13921000 +UC San Francisco,22100000,24100000,25100000 From 7ec6e1c4cba00cbc2d3ff9fb6c70a44b29f81bea Mon Sep 17 00:00:00 2001 From: Laurel Woods Date: Mon, 23 Nov 2020 10:51:59 -0800 Subject: [PATCH 04/67] stacked bar chart for ucla pd budget expenses --- _posts/2020-11-21-ucpd-budget-arrests.md | 8 ++- .../ucpd-budget-arrests/stacked-barchart.js | 65 +++++++++++++++++++ 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 js/posts/ucpd-budget-arrests/stacked-barchart.js diff --git a/_posts/2020-11-21-ucpd-budget-arrests.md b/_posts/2020-11-21-ucpd-budget-arrests.md index 858b857bd..11d72dd0c 100644 --- a/_posts/2020-11-21-ucpd-budget-arrests.md +++ b/_posts/2020-11-21-ucpd-budget-arrests.md @@ -11,5 +11,11 @@ og_image: stylesheets: - scripts: - - + - //d3js.org/d3.v5.min.js + - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js + - /js/posts/ucpd-budget-arrests/stacked-barchart.js --- + +
+ +
diff --git a/js/posts/ucpd-budget-arrests/stacked-barchart.js b/js/posts/ucpd-budget-arrests/stacked-barchart.js new file mode 100644 index 000000000..4487959a2 --- /dev/null +++ b/js/posts/ucpd-budget-arrests/stacked-barchart.js @@ -0,0 +1,65 @@ +d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); + +function makeChart(csvData) { + console.log(csvData); + + let data = { + labels: [ + 'FY 12-13', + 'FY 13-14', + 'FY 14-15', + ' FY 15-16', + 'FY 16-17', + 'FY 17-18', + 'FY 18-19', + 'FY 19-20 (Approved but not actual)', + ], + datasets: [], + }; + + let colors = [ + '#374c80', + '#7a5195', + '#bc5090', + '#ef5675', + '#ff764a', + '#ffa600', + 'green', + 'blue', + ]; + + for (let i = 4; i < 12; i++) { + data.datasets.push({ + label: csvData[i].Category, + data: Object.values(csvData[i]).slice(1), + backgroundColor: colors[i - 4], + borderColor: colors[i - 4], + }); + } + + let options = { + title: { + display: true, + text: 'UCPD Budget', + }, + scales: { + xAxes: [ + { + stacked: true, + }, + ], + yAxes: [ + { + stacked: true, + }, + ], + }, + }; + + let ctx = document.getElementById('barchart-uclapd'); + let stackedBarChart = new Chart(ctx, { + type: 'bar', + data: data, + options: options, + }); +} From e05c6100f0d964598037716f2b96ece249c541b0 Mon Sep 17 00:00:00 2001 From: Laurel Woods Date: Tue, 28 Sep 2021 19:32:22 -0700 Subject: [PATCH 05/67] merge fixes --- _posts/2020-05-12-covid-model.md | 6 +- _posts/2021-2-5-class-fill-ups-2.md | 10 + datasets/training-2020/avg_likes.json | 50 +- .../class-fill-ups-2/graphs/package-lock.json | 6453 ++++++++++----- js/posts/class-fill-ups-2/graphs/package.json | 6 +- js/posts/covid-grade-inflation/MainChart.js | 18 +- .../online-grade-distributions/MainChart.js | 18 +- .../online-grade-distributions/pie_chart.js | 8 +- .../monthly-donations-line-chart.js | 10 +- js/posts/prof-donations-2021/ucb-top-5.js | 4 +- js/posts/prof-donations-2021/ucla-top-5.js | 4 +- js/posts/prof-donations-2021/usc-top-5.js | 4 +- js/posts/training-2020/example.js | 50 +- .../westwood-business-turnover/barplot.js | 58 +- js/posts/westwood-business-turnover/bubble.js | 383 +- .../htmlwidgets-1.5.1/htmlwidgets.js | 450 +- .../jquery-1.12.4/jquery.min.js | 5775 +++++++++++++- .../leaflet-1.3.1/leaflet.js | 7000 ++++++++++++++++- .../leaflet-binding-2.0.4.1/leaflet.js | 6084 ++++++++------ .../EasyButton-binding.js | 14 +- .../leaflet-easybutton-1.3.1/easy-button.js | 647 +- .../leaflet.markercluster.js | 1559 +++- .../leaflet.markercluster.layersupport.js | 272 +- .../leaflet-markercluster-1.0.5/package.json | 41 +- 24 files changed, 23407 insertions(+), 5517 deletions(-) diff --git a/_posts/2020-05-12-covid-model.md b/_posts/2020-05-12-covid-model.md index e82d64720..91122103a 100644 --- a/_posts/2020-05-12-covid-model.md +++ b/_posts/2020-05-12-covid-model.md @@ -109,7 +109,9 @@ UCLA is a large school with a very well-connected student network posing numerou For more updates on coronavirus news relevant to UCLA, visit the [Daily Bruin’s coronavirus dashboard](https://features.dailybruin.com/2020/covid-19/). For more information about how students have been affected by the pandemic, visit the Daily Bruin’s “[Unfinished Stories](https://covidstories.dailybruin.com/)” project. To schedule a free COVID-19 test in LA County or learn more about testing, [click here](https://lacovidprod.service-now.com/rrs?id=rrs_apply). More information about the coronavirus and COVID-19 from [UCLA Health](https://www.uclahealth.org/coronavirus) can be found here. + + @@ -127,7 +129,7 @@ Sciences&Business&Humanities\\ 0.1&0.2&0.7 \end{pmatrix}$$ -This example has simulated probabilities, but the real probabilities in our model are based on the number of GE, diversity and language courses in each major. So if a College of Letters and Science student in the mathematics department takes 140 units of major courses and 40 units of GEs, then the probability of the student being enrolled in the mathematics department is $$\frac{140}{180}$$, and, in the other GE-offering departments, is $$\frac{40}{180}$$, which in turn are distributed by department. So if there are three GE courses offered in total, with two of them being offered in department A and one being offered in department B, department A will have probability $$\frac{2}{3} * \frac{40}{180}$$, and department B will have probability $$\frac{1}{3} * \frac{40}{180}$$. +This example has simulated probabilities, but the real probabilities in our model are based on the number of GE, diversity and language courses in each major. So if a College of Letters and Science student in the mathematics department takes 140 units of major courses and 40 units of GEs, then the probability of the student being enrolled in the mathematics department is $$\frac{140}{180}$$, and, in the other GE-offering departments, is $$\frac{40}{180}$$, which in turn are distributed by department. So if there are three GE courses offered in total, with two of them being offered in department A and one being offered in department B, department A will have probability $$\frac{2}{3} _ \frac{40}{180}$$, and department B will have probability $$\frac{1}{3} _ \frac{40}{180}$$. $$A=\begin{pmatrix} Sciences&Business&Humanities\\ @@ -136,7 +138,7 @@ Sciences&Business&Humanities\\ 0.1&0.2&0.7 \end{pmatrix}$$ -This example has simulated probabilities, but the real probabilities in our model are based on the number of GE, diversity and language courses in each major. So if a College of Letters and Science student in the mathematics department takes 140 units of major courses and 40 units of GEs, then the probability of the student being enrolled in the mathematics department is $$\frac{140}{180}$$, and, in the other GE-offering departments, is $$\frac{40}{180}$$, which in turn are distributed by department. So if there are three GE courses offered in total, with two of them being offered in department A and one being offered in department B, department A will have probability $$\frac{2}{3} * \frac{40}{180}$$, and department B will have probability $$\frac{1}{3} * \frac{40}{180}$$. +This example has simulated probabilities, but the real probabilities in our model are based on the number of GE, diversity and language courses in each major. So if a College of Letters and Science student in the mathematics department takes 140 units of major courses and 40 units of GEs, then the probability of the student being enrolled in the mathematics department is $$\frac{140}{180}$$, and, in the other GE-offering departments, is $$\frac{40}{180}$$, which in turn are distributed by department. So if there are three GE courses offered in total, with two of them being offered in department A and one being offered in department B, department A will have probability $$\frac{2}{3} _ \frac{40}{180}$$, and department B will have probability $$\frac{1}{3} _ \frac{40}{180}$$. _To learn more about how this article was made, watch the video below:_ diff --git a/_posts/2021-2-5-class-fill-ups-2.md b/_posts/2021-2-5-class-fill-ups-2.md index 05436465f..ace186c93 100644 --- a/_posts/2021-2-5-class-fill-ups-2.md +++ b/_posts/2021-2-5-class-fill-ups-2.md @@ -52,6 +52,7 @@ Some classes may not show up in the drop-down menu because they were not offered To find out the rate at which undergraduate classes fill up, explore the interactive graph below and select the academic term that you wish to look into. For the sake of visualization, only up to three classes can be selected at a time in the graph below. + ",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=d.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||(e=n.uniqueSort(e)),D.test(a)&&(e=e.reverse())),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",K),a.removeEventListener("load",K)):(d.detachEvent("onreadystatechange",K),a.detachEvent("onload",K))}function K(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",K),a.addEventListener("load",K);else{d.attachEvent("onreadystatechange",K),a.attachEvent("onload",K);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&!function f(){if(!n.isReady){try{c.doScroll("left")}catch(b){return a.setTimeout(f,50)}J(),n.ready()}}()}return I.promise(b)},n.ready.promise();var L;for(L in n(l))break;l.ownFirst="0"===L,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;c=d.getElementsByTagName("body")[0],c&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),"undefined"!=typeof b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var M=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b},N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(O,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0; -}return c}function Q(a){var b;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function R(a,b,d,e){if(M(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),"object"!=typeof b&&"function"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f}}function S(a,b,c){if(M(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Z=/^(?:checkbox|radio)$/i,$=/<([\w:-]+)/,_=/^$|\/(?:java|ecma)script/i,aa=/^\s+/,ba="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ca(a){var b=ba.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement("div"),b=d.createDocumentFragment(),c=d.createElement("input");a.innerHTML="
a",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var da={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:l.htmlSerialize?[0,"",""]:[1,"X
","
"]};da.optgroup=da.option,da.tbody=da.tfoot=da.colgroup=da.caption=da.thead,da.th=da.td;function ea(a,b){var c,d,e=0,f="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,ea(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function fa(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var ga=/<|&#?\w+;/,ha=/r;r++)if(g=a[r],g||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(ga.test(g)){i=i||p.appendChild(b.createElement("div")),j=($.exec(g)||["",""])[1].toLowerCase(),m=da[j]||da._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&aa.test(g)&&q.push(b.createTextNode(aa.exec(g)[0])),!l.tbody){g="table"!==j||ha.test(g)?""!==m[1]||ha.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(ea(q,"input"),ia),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=ea(p.appendChild(g),"script"),h&&fa(i),c){f=0;while(g=i[f++])_.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=e.attributes[c].expando===!1);e=null}();var ka=/^(?:input|select|textarea)$/i,la=/^key/,ma=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,na=/^(?:focusinfocus|focusoutblur)$/,oa=/^([^.]*)(?:\.(.+)|)/;function pa(){return!0}function qa(){return!1}function ra(){try{return d.activeElement}catch(a){}}function sa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)sa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=qa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return"undefined"==typeof n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(G)||[""],h=b.length;while(h--)f=oa.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=oa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!na.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||l.trigger.apply(e,c)!==!1)){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,na.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),g=h&&i[h],g&&g.apply&&M(i)&&(b.result=g.apply(i,c),b.result===!1&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),c)===!1)&&M(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]","i"),va=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wa=/\s*$/g,Aa=ca(d),Ba=Aa.appendChild(d.createElement("div"));function Ca(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Da(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Ea(a){var b=ya.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Ga(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Da(b).text=a.text,Ea(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Z.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ha(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&xa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(o&&(k=ja(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(ea(k,"script"),Da),h=i.length;o>m;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,ea(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Ea),m=0;h>m;m++)g=i[m],_.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(za,"")));k=e=null}return a}function Ia(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(ea(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&fa(ea(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(va,"<$1>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ua.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Ba.innerHTML=a.outerHTML,Ba.removeChild(f=Ba.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=ea(f),h=ea(a),g=0;null!=(e=h[g]);++g)d[g]&&Ga(e,d[g]);if(b)if(c)for(h=h||ea(a),d=d||ea(f),g=0;null!=(e=h[g]);g++)Fa(e,d[g]);else Fa(a,f);return d=ea(f,"script"),d.length>0&&fa(d,!i&&ea(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||M(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||"undefined"==typeof d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ha,detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return Y(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(ea(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return Y(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(ta,""):void 0;if("string"==typeof a&&!wa.test(a)&&(l.htmlSerialize||!ua.test(a))&&(l.leadingWhitespace||!aa.test(a))&&!da[($.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ea(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(ea(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ja,Ka={HTML:"block",BODY:"block"};function La(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function Ma(a){var b=d,c=Ka[a];return c||(c=La(a,b),"none"!==c&&c||(Ja=(Ja||n(" + +
+

and stops have shown a large decrease.

+
+ + +
This is after the scrollama
+ + + diff --git a/js/posts/ucpd-budget-arrests/Scrolly_test.js b/js/posts/ucpd-budget-arrests/Scrolly_test.js new file mode 100644 index 000000000..8cd387f01 --- /dev/null +++ b/js/posts/ucpd-budget-arrests/Scrolly_test.js @@ -0,0 +1,89 @@ +let scrolly = document.querySelector("#stick"); +let article = scrolly.querySelector("article"); +let step = article.querySelectorAll(".step"); +let figure = article.querySelectorAll(".figure"); +// initialize the scrollama +let scroller = scrollama(); + +// scrollama event handlers +function handleStepEnter(response) { + // response = { element, direction, index } + console.log(response); + // add to color to current step + response.element.classList.add("is-active"); + console.log(response.index); + console.log(response.direction); + //console.log(data2); + if (response.index > 0){ + if (response.index !== 4){ + if (response.direction === 'down'){ + if (response.index === 2){ + removeData(); + } + if (response.index < 5){ + addData(response.index - 1); + console.log('less than 5'); + } + else{ + addData(response.index - 2) + } + } + } +}} + //console.log(response.element.attributes.data-step.value); + +function handleStepExit(response) { + // response = { element, direction, index } + console.log(response); + // remove color from current step + response.element.classList.remove("is-active"); + //removeData(); + if (response.direction === 'up'){ + removeData(); + } +} + +// function setupStickyfill(){ +// d3.selectAll(".sticky").each(function(){ +// setupStickyfill.add(this); +// }) +// } + +// let wrap = $("figure"); + +// wrap.on("scroll", function(e) { + +// if (this.scrollTop > 147) { +// wrap.addClass("fix-chart"); +// } else { +// wrap.removeClass("fix-chart"); +// } + +// }); + +function init() { + //setupStickyfill(); + // set random padding for different step heights (not required) + step.forEach(function(step) { + let v = 100 + Math.floor((Math.random() * window.innerHeight) / 4); + step.style.padding = v + "px 0px"; + }); + + // 1. setup the scroller with the bare-bones options + // this will also initialize trigger observations + // 2. bind scrollama event handlers (this can be chained like below) + scroller + .setup({ + step: "#stick article .step", + debug: true, + offset: 0.5 + }) + .onStepEnter(handleStepEnter) + .onStepExit(handleStepExit); + + // 3. setup resize event + window.addEventListener("resize", scroller.resize); +} + +// kick things off +init(); \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/scrolly_test.css b/js/posts/ucpd-budget-arrests/scrolly_test.css new file mode 100644 index 000000000..c47176d22 --- /dev/null +++ b/js/posts/ucpd-budget-arrests/scrolly_test.css @@ -0,0 +1,82 @@ +#scrolly { +position: relative; +width: 100%; +/* height: 2000 px; */ +/* overflow: visible; */ +} + +article { +position: relative; +padding: 0 1rem; +margin: 0 auto; +/* width: 90%; */ +height: 4000px; +} + +.step { +margin: 2rem auto 4rem auto; +background-color: #3b3b3b; +color: #fff; +opacity: .5; +/* width: 30%; */ +top: 20px; +float: right; +} + +.step.is-active { +background-color: goldenrod; +color: #3b3b3b; +opacity: 1; +} + +.step p { +text-align: center; +font-size: 1.5rem; +} + +step.first { + background-color: purple; + float: left; + width: 100% +} + +.step.later{ + width: 30%; + right: 0; +} + +figure { + + /* position: relative; + top: 400px; */ + width: 60%; + height: 100%; + float: left; + margin: 0; + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + /* background-color: #8a8a8a; */ +} + +.BudgetStopChart{ + position: -webkit-sticky; + position: sticky; + top: 25%; + /* height: 100%; */ +} + +/* #stick { + height: 4000px; +} + +#sticker { + position: sticky; + position: -webkit-sticky; + height: 200px; + top:0; + background-color: purple; +} +#scroller{ + background-color: blue; +} */ \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/test_chart.js b/js/posts/ucpd-budget-arrests/test_chart.js new file mode 100644 index 000000000..26b89b0e5 --- /dev/null +++ b/js/posts/ucpd-budget-arrests/test_chart.js @@ -0,0 +1,75 @@ +console.log('loaded chart') +const Budget=[13680147, 14223655, 15499349, 16281145, 16754687, 17355103, 20258656, 22375818]; +const Stops=[103, 356, 389, 316, 250, 289, 276, 199]; +const Arrests=[101, 309, 381, 416, 418, 481, 467, 665]; +const Budget_Normalized=[136.80147, 142.23655, 154.99349, 162.81145, 167.54687, 173.55103, 202.58656, 223.75818]; +const data_order = [Budget, Budget_Normalized, Arrests, Stops]; +const colors = ['Blue', 'Purple', 'Green','Pink'] +const labels = [ + '2012', + '2013', + '2014', + '2015', + '2016', + '2017', + '2018', + '2019' + ]; +const lines = ['Budget','Budget in $100,000','Arrests','Stops'] +//const data = {} + +const data = { + labels: labels, + datasets: [] +}; +function addData(i) { + const info = { + label: lines[i], + borderColor: colors[i], + data: data_order[i], + } + // ++step_number; + data.datasets.push(info); + console.log(data) + myChart.update(); +} + +function removeData(){ + // -- step_number; + data.datasets.pop(); +} + +let ctx = document.getElementById('myChart'); +let myChart = new Chart(ctx, { + type: 'line', + data: data, + options: { + scales: { + yAxes: [ + { + ticks: { + callback: function(value) { + return value.toLocaleString('en-US', { + style: 'currency', + currency: 'USD', + minimumFractionDigits: 0, + }); // convert value to dollar format + }, + min: 0, + //max: 25000, + //stepSize: 5000, + }, + }, + ], + xAxes: [ + { + scaleLabel: { + display: true, + labelString: 'Year', + }, + }, + ], + }, + } + } +); \ No newline at end of file From afb65ce1d7180be9bde01fe3e6ca1e2611696d66 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Thu, 28 Oct 2021 21:30:39 -0700 Subject: [PATCH 20/67] scrolly-telling updates --- js/posts/ucpd-budget-arrests/scrolly_test.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/js/posts/ucpd-budget-arrests/scrolly_test.css b/js/posts/ucpd-budget-arrests/scrolly_test.css index c47176d22..957432476 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_test.css +++ b/js/posts/ucpd-budget-arrests/scrolly_test.css @@ -1,9 +1,9 @@ -#scrolly { +/* #scrolly { position: relative; width: 100%; -/* height: 2000 px; */ -/* overflow: visible; */ -} +/* height: 2000 px; +/* overflow: visible; +} */ article { position: relative; @@ -66,10 +66,11 @@ figure { /* height: 100%; */ } -/* #stick { +#stick { height: 4000px; + width: 100%; } - +/* #sticker { position: sticky; position: -webkit-sticky; From b455ee38091a8aa1c33ae6bfbbbae6da1ec56b62 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Mon, 1 Nov 2021 18:23:48 -0700 Subject: [PATCH 21/67] Made it so that demographics charts show on page --- _posts/2021-9-28-ucpd-budget-arrests.md | 7 +++-- .../demographics-barchart.js | 30 +++++++++---------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 12d4d31d5..e7b2dabb4 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -25,8 +25,11 @@ scripts: -
- +
+ +
+
+
diff --git a/js/posts/ucpd-budget-arrests/demographics-barchart.js b/js/posts/ucpd-budget-arrests/demographics-barchart.js index 7b98abd01..e2ca20031 100644 --- a/js/posts/ucpd-budget-arrests/demographics-barchart.js +++ b/js/posts/ucpd-budget-arrests/demographics-barchart.js @@ -44,14 +44,14 @@ var chartOptions = { } } -window.onload = function() { - var ctx = document.getElementById("canvas").getContext("2d"); - window.myBar = new Chart(ctx, { - type: "bar", - data: barChartRace, - options: chartOptions - }); -}; + +var ctxRace = document.getElementById("race_chart").getContext("2d"); +RaceChart = new Chart(ctxRace, { + type: "bar", + data: barChartRace, + options: chartOptions +}); + // Gender Chart var barChartGender = { @@ -95,12 +95,10 @@ var barChartGender = { } } - window.onload = function() { - var ctx = document.getElementById("canvas").getContext("2d"); - window.myBar = new Chart(ctx, { - type: "bar", - data: barChartGender, - options: chartOptions - }); - }; +var ctxGender = document.getElementById("gender_chart").getContext("2d"); +GenderChart = new Chart(ctxGender, { + type: "bar", + data: barChartGender, + options: chartOptions +}); From ddd507f65e06fd5fdc001a245c2bc683b702d73b Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Tue, 2 Nov 2021 16:05:48 -0700 Subject: [PATCH 22/67] added age chart --- .../demographics-barchart.js | 70 ++++++++++++++++--- 1 file changed, 62 insertions(+), 8 deletions(-) diff --git a/js/posts/ucpd-budget-arrests/demographics-barchart.js b/js/posts/ucpd-budget-arrests/demographics-barchart.js index 7b98abd01..063723e84 100644 --- a/js/posts/ucpd-budget-arrests/demographics-barchart.js +++ b/js/posts/ucpd-budget-arrests/demographics-barchart.js @@ -17,16 +17,16 @@ var barChartRace = { data: [35.92, 31.25, 21.87, 3.89,0.1544, 6.83] }, { - label: 'LA City Demographic Data', + label: 'Westwood Demographic Data', backgroundColor: "lightblue", borderColor: "blue", borderWidth: 1, - data: [28, 9, 49, 11, 0, , 2, 0] + data: [53, 3, 17, 21, 0, 5, 0] } ] }; -var chartOptions = { +var racechartOptions = { responsive: true, legend: { position: "top" @@ -49,7 +49,7 @@ window.onload = function() { window.myBar = new Chart(ctx, { type: "bar", data: barChartRace, - options: chartOptions + options: racechartOptions }); }; @@ -68,16 +68,16 @@ var barChartGender = { data: [80.017, 11.982] }, { - label: 'LA City Demographic Data', + label: 'Westwood Demographic Data', backgroundColor: "lightblue", borderColor: "blue", borderWidth: 1, - data: [49, 51] + data: [48, 52] } ] }; - var chartOptions = { + var genderchartOptions = { responsive: true, legend: { position: "top" @@ -100,7 +100,61 @@ var barChartGender = { window.myBar = new Chart(ctx, { type: "bar", data: barChartGender, - options: chartOptions + options: genderchartOptions }); }; +// Age Chart + var barChartAge = { + labels: [ + '10 - 19', + '20 - 29', + '30 - 39', + '40 - 49', + '50 - 59', + '60 - 69', + '70+', + ], + datasets: [ + { + label:'UCPD Arrest Data', + backgroundColor: "pink", + borderColor: "red", + borderWidth: 1, + data: [0, 20.13589, 32.45831, 21.24768, 15.84311, 8.678196, 1.636813] + }, + { + label: 'Westwood Demographic Data', + backgroundColor: "lightblue", + borderColor: "blue", + borderWidth: 1, + data: [12, 24, 17, 13, 9, 8, 9] + } + ] + }; + var agechartOptions = { + responsive: true, + legend: { + position: "top" + }, + title: { + display: true, + text: "Arrest Demographics by Age" + }, + scales: { + yAxes: [{ + ticks: { + beginAtZero: true + } + }] + } + } + + window.onload = function() { + var ctx = document.getElementById("canvas").getContext("2d"); + window.myBar = new Chart(ctx, { + type: "bar", + data: barChartAge, + options: agechartOptions + }); + }; \ No newline at end of file From c6c50e0d62b11ba57b3bcf42f3d1cd3a91d21dd5 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Sun, 7 Nov 2021 22:13:25 -0800 Subject: [PATCH 23/67] Added scrolly telling feature to the markdown. --- Gemfile | 1 + _posts/2021-9-28-ucpd-budget-arrests.md | 50 ++++++- .../{Scrolly_test.js => scrolly.js} | 75 +++++----- .../ucpd-budget-arrests/scrolly_charts.js | 131 ++++++++++++++++++ js/posts/ucpd-budget-arrests/scrolly_test.css | 53 ++++++- .../ucpd-budget-arrests/stacked-barchart.js | 24 +++- js/posts/ucpd-budget-arrests/test_chart.js | 75 ---------- 7 files changed, 277 insertions(+), 132 deletions(-) rename js/posts/ucpd-budget-arrests/{Scrolly_test.js => scrolly.js} (54%) create mode 100644 js/posts/ucpd-budget-arrests/scrolly_charts.js delete mode 100644 js/posts/ucpd-budget-arrests/test_chart.js diff --git a/Gemfile b/Gemfile index f06c00e57..3a754ca09 100644 --- a/Gemfile +++ b/Gemfile @@ -9,6 +9,7 @@ group :jekyll_plugins do gem "rouge" gem "tzinfo" gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw] + gem "webrick" gem "wdm", platforms: [:mingw, :mswin, :x64_mingw] end diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index e7b2dabb4..1b39d9249 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -9,7 +9,7 @@ featured_image: url: og_image: stylesheets: - - + - /js/posts/ucpd-budget-arrests/scrolly_test.css scripts: - //d3js.org/d3.v5.min.js - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js @@ -19,6 +19,12 @@ scripts: - //cdn.anychart.com/releases/8.0.1/js/anychart-pie.min.js - /js/posts/ucpd-budget-arrests/bail-barchart.js - /js/posts/ucpd-budget-arrests/demographics-barchart.js + - //unpkg.com/intersection-observer + - //unpkg.com/scrollama + - /js/posts/ucpd-budget-arrests/scrolly.js + - //unpkg.com/intersection-observer@0.5.1/intersection-observer.js + - //code.jquery.com/jquery-3.6.0.min.js + - /js/posts/ucpd-budget-arrests/scrolly_charts.js ---
@@ -31,6 +37,48 @@ scripts:
+ +
+
+
+
+

What changes can be seen in UCPD data and policy in the last 10 years?

+

The most recent UCPD policies are from 2010. The most current UC policy on policing is from 2011. While there haven’t been any formal policy changes since 2010, UCPD says it is committed to modeling a community oriented approach. This includes being influenced by programs such as #8CantWait and CampaignZero.

+
+ +
+
+ +
+
+
+

Even without clear changes in policy, there have been changes to the UCPD budget over the past 10 years. For example, there has been a steady increase in UCPD’s budget with a sharper increase beginning in 2017.

+
+
+

In addition to an increase in funding, there have also been changes to the distribution of funds. For instance the travel budget was only $4,200 in 2012, but reached a peak of $167,482 in 2018, a 4000% increase. However, salaries and benefits still make up a majority of UCPD’s budget every year.

+
+
+

In order to more easily compare the budget to arrest and stop data, the budget line from here on will be displayed in $100,000 dollars.

+
+
+

In addition to increased funding, there has been an increase in arrests. The largest increase in arrests was from 2018 to 2019. [INSERT IF UCPD PROVIDES INSIGHT HERE]

+
+
+ +
+
+

As a contrast, stops have been on a downward trend since 2014. [INSERT HERE IF UCPD PROVIDES INSIGHT]

+
+
+

MAYBE SOME CLOSING THOUGHT HERE?

+
+
+
+
+
+ +More text blah blah blah \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/Scrolly_test.js b/js/posts/ucpd-budget-arrests/scrolly.js similarity index 54% rename from js/posts/ucpd-budget-arrests/Scrolly_test.js rename to js/posts/ucpd-budget-arrests/scrolly.js index 8cd387f01..ebaa4a535 100644 --- a/js/posts/ucpd-budget-arrests/Scrolly_test.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -8,33 +8,39 @@ let scroller = scrollama(); // scrollama event handlers function handleStepEnter(response) { // response = { element, direction, index } - console.log(response); + // console.log(response); // add to color to current step response.element.classList.add("is-active"); - console.log(response.index); - console.log(response.direction); - //console.log(data2); - if (response.index > 0){ - if (response.index !== 4){ - if (response.direction === 'down'){ - if (response.index === 2){ - removeData(); - } - if (response.index < 5){ - addData(response.index - 1); - console.log('less than 5'); - } - else{ - addData(response.index - 2) - } - } - } -}} + // console.log(response.index); + // console.log(response.direction); + let i = response.index + if(response.direction === 'down'){ + if (i ===1){ + addData(0); + changeOptions(0); + } + else if (i === 2){ + removeData(); + ChangeBar(); + } + else if (i === 3){ + ChangeLine(); + changeOptions(1); + addData(1); + } + else if (i ===4) { + addData(2); + } + else if (i===6){ + addData(3) + } + } +} //console.log(response.element.attributes.data-step.value); function handleStepExit(response) { // response = { element, direction, index } - console.log(response); + //console.log(response); // remove color from current step response.element.classList.remove("is-active"); //removeData(); @@ -43,31 +49,14 @@ function handleStepExit(response) { } } -// function setupStickyfill(){ -// d3.selectAll(".sticky").each(function(){ -// setupStickyfill.add(this); -// }) -// } - -// let wrap = $("figure"); - -// wrap.on("scroll", function(e) { - -// if (this.scrollTop > 147) { -// wrap.addClass("fix-chart"); -// } else { -// wrap.removeClass("fix-chart"); -// } - -// }); function init() { //setupStickyfill(); // set random padding for different step heights (not required) - step.forEach(function(step) { - let v = 100 + Math.floor((Math.random() * window.innerHeight) / 4); - step.style.padding = v + "px 0px"; - }); + // step.forEach(function(step) { + // let v = 100 + Math.floor((Math.random() * window.innerHeight) / 4); + // step.style.padding = v + "px 0px"; + // }); // 1. setup the scroller with the bare-bones options // this will also initialize trigger observations @@ -75,7 +64,7 @@ function init() { scroller .setup({ step: "#stick article .step", - debug: true, + debug: false, offset: 0.5 }) .onStepEnter(handleStepEnter) diff --git a/js/posts/ucpd-budget-arrests/scrolly_charts.js b/js/posts/ucpd-budget-arrests/scrolly_charts.js new file mode 100644 index 000000000..aa23a3f46 --- /dev/null +++ b/js/posts/ucpd-budget-arrests/scrolly_charts.js @@ -0,0 +1,131 @@ +console.log('loaded chart') +const Budget=[13680147, 14223655, 15499349, 16281145, 16754687, 17355103, 20258656, 22375818]; +const Stops=[103, 356, 389, 316, 250, 289, 276, 199]; +const Arrests=[101, 309, 381, 416, 418, 481, 467, 665]; +const Budget_Normalized=[136.80147, 142.23655, 154.99349, 162.81145, 167.54687, 173.55103, 202.58656, 223.75818]; +const data_order = [Budget, Budget_Normalized, Arrests, Stops]; +const colors = ['Blue', 'Purple', 'Green','Pink'] +const labels = [ + '2012', + '2013', + '2014', + '2015', + '2016', + '2017', + '2018', + '2019' + ]; +const lines = ['Budget','Budget in $100,000','Arrests','Stops']; + +const options0 = { + scales: { + yAxes: [ + { + ticks: { + callback: function(value) { + return value.toLocaleString('en-US', { + style: 'currency', + currency: 'USD', + minimumFractionDigits: 0, + }); // convert value to dollar format + }, + min: 0, + //max: 25000, + //stepSize: 5000, + }, + }, + ], + xAxes: [ + { + scaleLabel: { + display: true, + labelString: 'Year', + }, + }, + ], + }, +} + +const options1 ={ + scales: { + yAxes: [ + { + ticks: { + // callback: function(value) { + // return value.toLocaleString('en-US', { + // style: 'currency', + // currency: 'USD', + // minimumFractionDigits: 0, + // }); // convert value to dollar format + // }, + min: 0, + //max: 25000, + //stepSize: 5000, + }, + }, + ], + xAxes: [ + { + scaleLabel: { + display: true, + labelString: 'Year', + }, + }, + ], + }, +} + +let options = options0; +//const data = {} + +const data = { + labels: labels, + datasets: [] +}; + +function addData(i) { + const info = { + label: lines[i], + tension: 0, + fill: false, + borderColor: colors[i], + data: data_order[i], + } + // ++step_number; + data.datasets.push(info); + console.log(data) + myChart.update(); +} + +function changeOptions(i){ + if (i===0){ + options = options0; + } + else { + options = options1; + } + myChart.update() +} + +function removeData(){ + // -- step_number; + data.datasets.pop(); +} + +function ChangeBar(){ + document.getElementById('myChart').id = 'stacked_bar' + d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); +} + +function ChangeLine(){ + document.getElementById('stacked_bar').id = 'myChart' + StackedBar.destroy() +} + +let ctx = document.getElementById('myChart'); +let myChart = new Chart(ctx, { + type: 'line', + data: data, + options: options + } +); \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/scrolly_test.css b/js/posts/ucpd-budget-arrests/scrolly_test.css index 957432476..b2eaf1a1a 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_test.css +++ b/js/posts/ucpd-budget-arrests/scrolly_test.css @@ -5,12 +5,28 @@ width: 100%; /* overflow: visible; } */ -article { -position: relative; +.scrollama{ + width: 100%; +} + +.scrolly_title{ + font-family: PT Sans; + font-style: normal; + font-weight: normal; + font-size: 36px; + line-height: 26px; +} + +#scrolly_area { +/* position: relative; */ padding: 0 1rem; margin: 0 auto; /* width: 90%; */ -height: 4000px; +height: 2700px; +} + +#outro{ + width: 100%; } .step { @@ -31,20 +47,36 @@ opacity: 1; .step p { text-align: center; -font-size: 1.5rem; +/* font-size: 1.5rem; */ +font-family: PT Sans; +font-style: normal; +font-weight: normal; +font-size: 20px; +line-height: 26px; } -step.first { +.step.first { background-color: purple; - float: left; + /* float: left; */ width: 100% } .step.later{ width: 30%; right: 0; + height: 300px; +} + +.step.later.chart{ + width: 30%; + right: 0; + height: 650px; } +.step.last{ + width: 100% +} + figure { /* position: relative; @@ -63,12 +95,19 @@ figure { position: -webkit-sticky; position: sticky; top: 25%; + /* width: 55%; */ + height: 500px; /* height: 100%; */ } #stick { - height: 4000px; + /* height: 4000px; */ width: 100%; + position: relative; + padding: 0 1rem; + margin: 0 auto; + /* width: 90%; */ + height: 3000px; } /* #sticker { diff --git a/js/posts/ucpd-budget-arrests/stacked-barchart.js b/js/posts/ucpd-budget-arrests/stacked-barchart.js index 4487959a2..9ae2eafbf 100644 --- a/js/posts/ucpd-budget-arrests/stacked-barchart.js +++ b/js/posts/ucpd-budget-arrests/stacked-barchart.js @@ -1,7 +1,8 @@ -d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); - +// +//d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); +let StackedBar; function makeChart(csvData) { - console.log(csvData); + //console.log(csvData); let data = { labels: [ @@ -56,10 +57,21 @@ function makeChart(csvData) { }, }; - let ctx = document.getElementById('barchart-uclapd'); - let stackedBarChart = new Chart(ctx, { + let ctxBudgetBar = document.getElementById('stacked_bar'); + StackedBar = new Chart(ctxBudgetBar, { type: 'bar', data: data, options: options, }); -} + +// if (window.matchMedia('(max-width: 480px)').matches) { +// stacked_bar.canvas.style = 'min-height: 200px, max-height:400px,'; +// stacked_bar.options.maintainAspectRatio = false; +// stacked_bar.update(); +// } +// else{ +// stacked_bar.canvas.style = 'height: 500px, max-width: 55%'; +// stacked_bar.options.maintainAspectRatio = false; +// stacked_bar.update(); +// } +} \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/test_chart.js b/js/posts/ucpd-budget-arrests/test_chart.js deleted file mode 100644 index 26b89b0e5..000000000 --- a/js/posts/ucpd-budget-arrests/test_chart.js +++ /dev/null @@ -1,75 +0,0 @@ -console.log('loaded chart') -const Budget=[13680147, 14223655, 15499349, 16281145, 16754687, 17355103, 20258656, 22375818]; -const Stops=[103, 356, 389, 316, 250, 289, 276, 199]; -const Arrests=[101, 309, 381, 416, 418, 481, 467, 665]; -const Budget_Normalized=[136.80147, 142.23655, 154.99349, 162.81145, 167.54687, 173.55103, 202.58656, 223.75818]; -const data_order = [Budget, Budget_Normalized, Arrests, Stops]; -const colors = ['Blue', 'Purple', 'Green','Pink'] -const labels = [ - '2012', - '2013', - '2014', - '2015', - '2016', - '2017', - '2018', - '2019' - ]; -const lines = ['Budget','Budget in $100,000','Arrests','Stops'] -//const data = {} - -const data = { - labels: labels, - datasets: [] -}; -function addData(i) { - const info = { - label: lines[i], - borderColor: colors[i], - data: data_order[i], - } - // ++step_number; - data.datasets.push(info); - console.log(data) - myChart.update(); -} - -function removeData(){ - // -- step_number; - data.datasets.pop(); -} - -let ctx = document.getElementById('myChart'); -let myChart = new Chart(ctx, { - type: 'line', - data: data, - options: { - scales: { - yAxes: [ - { - ticks: { - callback: function(value) { - return value.toLocaleString('en-US', { - style: 'currency', - currency: 'USD', - minimumFractionDigits: 0, - }); // convert value to dollar format - }, - min: 0, - //max: 25000, - //stepSize: 5000, - }, - }, - ], - xAxes: [ - { - scaleLabel: { - display: true, - labelString: 'Year', - }, - }, - ], - }, - } - } -); \ No newline at end of file From 8bbaa026dc4faad47581b0433011de77ce6747da Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Mon, 8 Nov 2021 22:24:48 -0800 Subject: [PATCH 24/67] started chart for demographic breakdown of charges --- _posts/2021-9-28-ucpd-budget-arrests.md | 16 +++++-- .../demographic_charges.js | 44 +++++++++++++++++++ .../demographics-barchart.js | 6 +-- js/posts/ucpd-budget-arrests/scrolly.js | 2 +- js/posts/ucpd-budget-arrests/scrolly_test.css | 4 +- 5 files changed, 62 insertions(+), 10 deletions(-) create mode 100644 js/posts/ucpd-budget-arrests/demographic_charges.js diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 1b39d9249..c6f4bc139 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -25,6 +25,7 @@ scripts: - //unpkg.com/intersection-observer@0.5.1/intersection-observer.js - //code.jquery.com/jquery-3.6.0.min.js - /js/posts/ucpd-budget-arrests/scrolly_charts.js + - /js/posts/ucpd-budget-arrests/demographic_charges.js ---
@@ -37,6 +38,13 @@ scripts:
+
+ +
+ +
+ +
@@ -63,14 +71,14 @@ scripts:

In addition to increased funding, there has been an increase in arrests. The largest increase in arrests was from 2018 to 2019. [INSERT IF UCPD PROVIDES INSIGHT HERE]

-
+ +

As a contrast, stops have been on a downward trend since 2014. [INSERT HERE IF UCPD PROVIDES INSIGHT]

-
+

MAYBE SOME CLOSING THOUGHT HERE?

diff --git a/js/posts/ucpd-budget-arrests/demographic_charges.js b/js/posts/ucpd-budget-arrests/demographic_charges.js new file mode 100644 index 000000000..3bc3d9112 --- /dev/null +++ b/js/posts/ucpd-budget-arrests/demographic_charges.js @@ -0,0 +1,44 @@ +console.log('loaded demographic charges chart') +const DemoChargeslabels = ['January', 'February','March','April','May','June']; +const DemoChargesdata = { + axis: 'y', + labels: DemoChargeslabels, + datasets: [{ + label: 'My First Dataset', + data: [65, 59, 80, 81, 56, 55, 40], + backgroundColor: [ + 'rgba(255, 99, 132, 0.2)', + 'rgba(255, 159, 64, 0.2)', + 'rgba(255, 205, 86, 0.2)', + 'rgba(75, 192, 192, 0.2)', + 'rgba(54, 162, 235, 0.2)', + 'rgba(153, 102, 255, 0.2)', + 'rgba(201, 203, 207, 0.2)' + ], + borderColor: [ + 'rgb(255, 99, 132)', + 'rgb(255, 159, 64)', + 'rgb(255, 205, 86)', + 'rgb(75, 192, 192)', + 'rgb(54, 162, 235)', + 'rgb(153, 102, 255)', + 'rgb(201, 203, 207)' + ], + borderWidth: 1, + + }] +}; + +let ctxDemographicCharges = document.getElementById('demographic_charges'); +let Demographic_Charges = new Chart(ctxDemographicCharges, { + type: 'horizontalBar', + data: DemoChargesdata, + options: { + indexAxis: 'y', + // scales: { + // y: { + // beginAtZero: true + // } + // } + }, + }); \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/demographics-barchart.js b/js/posts/ucpd-budget-arrests/demographics-barchart.js index 01ce86651..9b80ab5f4 100644 --- a/js/posts/ucpd-budget-arrests/demographics-barchart.js +++ b/js/posts/ucpd-budget-arrests/demographics-barchart.js @@ -45,7 +45,7 @@ var racechartOptions = { } -var ctxRace = document.getElementById("race_chart").getContext("2d"); +var ctxRace = document.getElementById("race_chart")//.getContext("2d"); RaceChart = new Chart(ctxRace, { type: "bar", data: barChartRace, @@ -95,7 +95,7 @@ var barChartGender = { } } -var ctxGender = document.getElementById("gender_chart").getContext("2d"); +var ctxGender = document.getElementById("gender_chart")//.getContext("2d"); GenderChart = new Chart(ctxGender, { type: "bar", data: barChartGender, @@ -147,7 +147,7 @@ var barChartAge = { }] } } - var ctxAge = document.getElementById("age_chart").getContext("2d"); + var ctxAge = document.getElementById("age_chart")//.getContext("2d"); AgeChart = new Chart(ctxAge, { type: "bar", data: barChartAge, diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index ebaa4a535..fbe22fdad 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -31,7 +31,7 @@ function handleStepEnter(response) { else if (i ===4) { addData(2); } - else if (i===6){ + else if (i===5){ addData(3) } } diff --git a/js/posts/ucpd-budget-arrests/scrolly_test.css b/js/posts/ucpd-budget-arrests/scrolly_test.css index b2eaf1a1a..036d38749 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_test.css +++ b/js/posts/ucpd-budget-arrests/scrolly_test.css @@ -22,7 +22,7 @@ width: 100%; padding: 0 1rem; margin: 0 auto; /* width: 90%; */ -height: 2700px; +height: 2000px; } #outro{ @@ -107,7 +107,7 @@ figure { padding: 0 1rem; margin: 0 auto; /* width: 90%; */ - height: 3000px; + height: 2000px; } /* #sticker { From 87307e7c0aab55507129dfa2867d2fcf29c96293 Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Tue, 9 Nov 2021 08:57:39 -0800 Subject: [PATCH 25/67] adding bail violin chart --- _posts/2021-9-28-ucpd-budget-arrests.md | 9 +- datasets/ucpd-budget-arrests/ChargesBail.csv | 1277 ++++++++++++++++++ js/posts/ucpd-budget-arrests/bail-violin.js | 37 + 3 files changed, 1321 insertions(+), 2 deletions(-) create mode 100644 datasets/ucpd-budget-arrests/ChargesBail.csv create mode 100644 js/posts/ucpd-budget-arrests/bail-violin.js diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index c6f4bc139..a910dabf2 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -11,9 +11,11 @@ og_image: stylesheets: - /js/posts/ucpd-budget-arrests/scrolly_test.css scripts: - - //d3js.org/d3.v5.min.js + - //cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.js + - //cdn.jsdelivr.net/npm/chart.js@2.8.0 + - //cdn.plot.ly/plotly-2.4.2.min.js - /js/posts/ucpd-budget-arrests/stacked-barchart.js - //cdn.anychart.com/releases/8.0.1/js/anychart-core.min.js - //cdn.anychart.com/releases/8.0.1/js/anychart-pie.min.js @@ -26,6 +28,7 @@ scripts: - //code.jquery.com/jquery-3.6.0.min.js - /js/posts/ucpd-budget-arrests/scrolly_charts.js - /js/posts/ucpd-budget-arrests/demographic_charges.js + - /js/posts/ucpd-budget-arrests/bail-violin.js ---
@@ -89,4 +92,6 @@ scripts:
-More text blah blah blah \ No newline at end of file +

More text blah blah blah

+ +
diff --git a/datasets/ucpd-budget-arrests/ChargesBail.csv b/datasets/ucpd-budget-arrests/ChargesBail.csv new file mode 100644 index 000000000..630764278 --- /dev/null +++ b/datasets/ucpd-budget-arrests/ChargesBail.csv @@ -0,0 +1,1277 @@ +Charges,Bail +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,5000 +Drug related,0 +Drug related,100000 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,50000 +Drug related,0 +Drug related,15000 +Drug related,0 +Drug related,0 +Drug related,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,OR +DUI,0 +Drug related,0 +DUI,0 +Drug related,0 +Drug related,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,26000 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,10000 +DUI,26000 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,5000 +DUI,0 +DUI,0 +DUI,0 +DUI,20000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,30000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,5000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,30000 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,15000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,26000 +DUI,0 +DUI,0 +DUI,0 +DUI,26000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,50000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +Trespass,120000 +Trespass,100000 +Trespass,500 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,36000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,500 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,20000 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,500 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,500 +Trespass,1000 +Trespass,0 +Trespass,0 +Burglary,50000 +Burglary,20000 +Burglary,150000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,40000 +Burglary,5000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,60000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,150000 +Burglary,150000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,40000 +Burglary,20000 +Burglary,50000 +Burglary,150000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,500 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,156000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,0 +Burglary,100000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,0 +Burglary,20000 +Burglary,50000 +Burglary,0 +Burglary,0 +Burglary,500 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,41500 +Burglary,500 +Burglary,60000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,5000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,140000 +Burglary,40000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,0 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,500 +Burglary,50000 +Burglary,80000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Ucpd Misdemeanor Bench Warrant,2500 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,408 +Ucpd Misdemeanor Bench Warrant,565 +Ucpd Misdemeanor Bench Warrant,565 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,1893 +Ucpd Misdemeanor Bench Warrant,1712 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,4782 +Ucpd Misdemeanor Bench Warrant,60000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,1724 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,566 +Ucpd Misdemeanor Bench Warrant,571 +Ucpd Misdemeanor Bench Warrant,1508 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,566 +Ucpd Misdemeanor Bench Warrant,906 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,566 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,461 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,35000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,36000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,1554 +Ucpd Misdemeanor Bench Warrant,36000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,36000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,35000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,1553 +Ucpd Misdemeanor Bench Warrant,747 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,35000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,75000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,24000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,100000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,1000 +Ucpd Misdemeanor Bench Warrant,60000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,25000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,500 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,60000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,5000 +Outside Agency Infraction Warrant,670 +Outside Agency Infraction Warrant,5095 +Outside Agency Infraction Warrant,5095 +Outside Agency Infraction Warrant,595 +Outside Agency Infraction Warrant,595 +Outside Agency Infraction Warrant,749 +Outside Agency Infraction Warrant,1470 +Outside Agency Infraction Warrant,606 +Outside Agency Infraction Warrant,475 +Outside Agency Infraction Warrant,571 +Outside Agency Infraction Warrant,566 +Outside Agency Infraction Warrant,26275 +Outside Agency Infraction Warrant,1503 +Outside Agency Infraction Warrant,724 +Outside Agency Infraction Warrant,35000 +Outside Agency Infraction Warrant,556 +Outside Agency Infraction Warrant,556 +Outside Agency Infraction Warrant,556 +Outside Agency Infraction Warrant,560 +Outside Agency Infraction Warrant,35000 +Outside Agency Infraction Warrant,15000 +Outside Agency Infraction Warrant,1093 +Outside Agency Infraction Warrant,561 +Outside Agency Infraction Warrant,30045 +Outside Agency Infraction Warrant,30045 +Outside Agency Infraction Warrant,30080 +Outside Agency Infraction Warrant,1000 +Outside Agency Infraction Warrant,757 +Outside Agency Infraction Warrant,724 +Outside Agency Infraction Warrant,571 +Outside Agency Infraction Warrant,50000 +Outside Agency Infraction Warrant,726 +Outside Agency Infraction Warrant,561 +Outside Agency Infraction Warrant,688 +Outside Agency Infraction Warrant,1201 +Outside Agency Infraction Warrant,277 +Outside Agency Infraction Warrant,1125 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,452 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,30000 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,604 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,1349 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,15000 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,3130 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,7630 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,603 +Outside Agency Infraction Warrant,2125 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,571 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,421 +Outside Agency Infraction Warrant,165 +Outside Agency Infraction Warrant,165 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,560 +Outside Agency Infraction Warrant,560 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,1000 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,15000 +Outside Agency Infraction Warrant,250 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,630 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,228 +Outside Agency Infraction Warrant,60 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,630 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,400 +Outside Agency Infraction Warrant,604 +Outside Agency Infraction Warrant,468 +Outside Agency Infraction Warrant,605 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,520 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,565 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,30000 +Outside Agency Infraction Warrant,20000 +Outside Agency Infraction Warrant,5000 +Outside Agency Infraction Warrant,1090 +Outside Agency Infraction Warrant,5095 +Outside Agency Infraction Warrant,5035 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,355 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,415 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,335 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,35 +Outside Agency Infraction Warrant,1000 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,517 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,100 +Outside Agency Infraction Warrant,15 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,25000 +Battery,25000 +Battery,25000 +Battery,25000 +Battery,3000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,30000 +Battery,0 +Battery,30000 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,140000 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,30000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,40000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,40000 +Battery,0 +Battery,20000 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,36000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,500 +Battery,0 +Battery,50000 +Battery,0 +Battery,0 +Battery,0 +Battery,60000 +Battery,0 +Battery,0 +Battery,20000 +Battery,30000 +Battery,0 +Battery,100000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,15000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Trespass,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Trespass,1000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Trespass,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,20000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,20000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,40000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Trespass,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Trespass,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,20000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,20000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,40000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js new file mode 100644 index 000000000..2293b6383 --- /dev/null +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -0,0 +1,37 @@ +d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/mattie/ucpdBail/datasets/ucpd/ChargesBail.csv", function( rows){ + console.log("hi"); + console.log(rows['Bail']); + function unpack(rows, key) { + console.log(rows); + return rows.map(function(row) { return row[key]; }); + } + + var data = [{ + type: 'violin', + x: unpack(rows, 'Charges'), + y: unpack(rows, 'Bail'), + points: 'none', + box: { + visible: true + }, + boxpoints: false, + line: { + color: 'black' + }, + fillcolor: '#8dd3c7', + opacity: 0.6, + meanline: { + visible: true + }, + x0: "Total Bill" + }] + + var layout = { + title: "", + yaxis: { + zeroline: false + } + } + + Plotly.newPlot('myDiv', data, layout); +}); \ No newline at end of file From 69fde186b39c25bfde78d2d43dbc8539bc547cf5 Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Tue, 9 Nov 2021 11:32:06 -0800 Subject: [PATCH 26/67] working on outliars dropdown --- _posts/2021-9-28-ucpd-budget-arrests.md | 9 +- .../bail_charges_with_outliars.csv | 1278 +++++++++++++++++ .../bail_charges_without_outliars.csv | 1273 ++++++++++++++++ js/posts/ucpd-budget-arrests/bail-violin.js | 90 +- 4 files changed, 2646 insertions(+), 4 deletions(-) create mode 100644 datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv create mode 100644 datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index a910dabf2..dbb6151dc 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -87,11 +87,16 @@ scripts:
- -
+

More text blah blah blah

+
diff --git a/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv b/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv new file mode 100644 index 000000000..75a8f0740 --- /dev/null +++ b/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv @@ -0,0 +1,1278 @@ +Charges,Bail +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,5000 +Drug related,0 +Drug related,100000 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,50000 +Drug related,0 +Drug related,15000 +Drug related,0 +Drug related,0 +Drug related,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,OR +DUI,0 +Drug related,0 +DUI,0 +Drug related,0 +Drug related,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,26000 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,10000 +DUI,26000 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,5000 +DUI,0 +DUI,0 +DUI,0 +DUI,20000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,30000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,5000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,30000 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,15000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,26000 +DUI,0 +DUI,0 +DUI,0 +DUI,26000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,50000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +Trespass,120000 +Trespass,100000 +Trespass,500 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,36000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,500 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,20000 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,500 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,500 +Trespass,1000 +Trespass,0 +Trespass,0 +Burglary,50000 +Burglary,20000 +Burglary,150000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,250000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,40000 +Burglary,5000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,60000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,150000 +Burglary,150000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,40000 +Burglary,20000 +Burglary,50000 +Burglary,150000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,500 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,156000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,0 +Burglary,100000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,0 +Burglary,20000 +Burglary,50000 +Burglary,0 +Burglary,0 +Burglary,500 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,41500 +Burglary,500 +Burglary,60000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,5000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,140000 +Burglary,40000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,0 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,500 +Burglary,50000 +Burglary,80000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Ucpd Misdemeanor Bench Warrant,2500 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,408 +Ucpd Misdemeanor Bench Warrant,565 +Ucpd Misdemeanor Bench Warrant,565 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,1893 +Ucpd Misdemeanor Bench Warrant,1712 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,4782 +Ucpd Misdemeanor Bench Warrant,60000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,1724 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,566 +Ucpd Misdemeanor Bench Warrant,571 +Ucpd Misdemeanor Bench Warrant,1508 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,566 +Ucpd Misdemeanor Bench Warrant,906 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,566 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,461 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,35000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,36000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,1554 +Ucpd Misdemeanor Bench Warrant,36000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,36000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,35000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,1553 +Ucpd Misdemeanor Bench Warrant,747 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,35000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,75000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,24000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,100000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,1000 +Ucpd Misdemeanor Bench Warrant,60000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,25000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,500 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,60000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,5000 +Outside Agency Infraction Warrant,670 +Outside Agency Infraction Warrant,5095 +Outside Agency Infraction Warrant,5095 +Outside Agency Infraction Warrant,595 +Outside Agency Infraction Warrant,595 +Outside Agency Infraction Warrant,749 +Outside Agency Infraction Warrant,1470 +Outside Agency Infraction Warrant,606 +Outside Agency Infraction Warrant,475 +Outside Agency Infraction Warrant,571 +Outside Agency Infraction Warrant,566 +Outside Agency Infraction Warrant,26275 +Outside Agency Infraction Warrant,1503 +Outside Agency Infraction Warrant,724 +Outside Agency Infraction Warrant,35000 +Outside Agency Infraction Warrant,556 +Outside Agency Infraction Warrant,556 +Outside Agency Infraction Warrant,556 +Outside Agency Infraction Warrant,560 +Outside Agency Infraction Warrant,35000 +Outside Agency Infraction Warrant,15000 +Outside Agency Infraction Warrant,1093 +Outside Agency Infraction Warrant,561 +Outside Agency Infraction Warrant,30045 +Outside Agency Infraction Warrant,30045 +Outside Agency Infraction Warrant,30080 +Outside Agency Infraction Warrant,1000 +Outside Agency Infraction Warrant,757 +Outside Agency Infraction Warrant,724 +Outside Agency Infraction Warrant,571 +Outside Agency Infraction Warrant,50000 +Outside Agency Infraction Warrant,726 +Outside Agency Infraction Warrant,561 +Outside Agency Infraction Warrant,688 +Outside Agency Infraction Warrant,1201 +Outside Agency Infraction Warrant,277 +Outside Agency Infraction Warrant,1125 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,452 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,30000 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,604 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,1349 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,15000 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,3130 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,7630 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,603 +Outside Agency Infraction Warrant,2125 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,571 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,421 +Outside Agency Infraction Warrant,165 +Outside Agency Infraction Warrant,165 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,560 +Outside Agency Infraction Warrant,560 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,1000 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,15000 +Outside Agency Infraction Warrant,250 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,630 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,228 +Outside Agency Infraction Warrant,60 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,630 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,400 +Outside Agency Infraction Warrant,604 +Outside Agency Infraction Warrant,468 +Outside Agency Infraction Warrant,605 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,520 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,565 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,30000 +Outside Agency Infraction Warrant,20000 +Outside Agency Infraction Warrant,5000 +Outside Agency Infraction Warrant,1090 +Outside Agency Infraction Warrant,5095 +Outside Agency Infraction Warrant,5035 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,355 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,415 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,335 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,35 +Outside Agency Infraction Warrant,1000 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,517 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,100 +Outside Agency Infraction Warrant,15 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,25000 +Battery,25000 +Battery,25000 +Battery,25000 +Battery,3000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,30000 +Battery,0 +Battery,30000 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,140000 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,30000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,40000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,40000 +Battery,0 +Battery,20000 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,36000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,500 +Battery,0 +Battery,50000 +Battery,0 +Battery,0 +Battery,0 +Battery,60000 +Battery,0 +Battery,0 +Battery,20000 +Battery,30000 +Battery,0 +Battery,100000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,15000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Trespass,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Trespass,1000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Trespass,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,20000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,20000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,40000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Trespass,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Trespass,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,20000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,20000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,40000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 diff --git a/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv b/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv new file mode 100644 index 000000000..239c7e4b9 --- /dev/null +++ b/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv @@ -0,0 +1,1273 @@ +Charges,Bail +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,5000 +Drug related,0 +Drug related,100000 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,0 +Drug related,50000 +Drug related,0 +Drug related,15000 +Drug related,0 +Drug related,0 +Drug related,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,OR +DUI,0 +Drug related,0 +DUI,0 +Drug related,0 +Drug related,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,26000 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,10000 +DUI,26000 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,5000 +DUI,0 +DUI,0 +DUI,0 +DUI,20000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,30000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,5000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,30000 +Drug related,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,15000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,26000 +DUI,0 +DUI,0 +DUI,0 +DUI,26000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,50000 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +DUI,0 +Drug related,0 +DUI,0 +DUI,0 +Trespass,100000 +Trespass,500 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,36000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,500 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,20000 +Trespass,5000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,0 +Trespass,500 +Trespass,0 +Trespass,1000 +Trespass,0 +Trespass,0 +Trespass,500 +Trespass,1000 +Trespass,0 +Trespass,0 +Burglary,50000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,40000 +Burglary,5000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,60000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,150000 +Burglary,150000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,40000 +Burglary,20000 +Burglary,50000 +Burglary,150000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,500 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,0 +Burglary,100000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,0 +Burglary,20000 +Burglary,50000 +Burglary,0 +Burglary,0 +Burglary,500 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,41500 +Burglary,500 +Burglary,60000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,5000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,50000 +Burglary,0 +Burglary,40000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,0 +Burglary,20000 +Burglary,50000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,500 +Burglary,50000 +Burglary,80000 +Burglary,50000 +Burglary,50000 +Burglary,20000 +Burglary,20000 +Burglary,50000 +Burglary,50000 +Ucpd Misdemeanor Bench Warrant,2500 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,408 +Ucpd Misdemeanor Bench Warrant,565 +Ucpd Misdemeanor Bench Warrant,565 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,1893 +Ucpd Misdemeanor Bench Warrant,1712 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,4782 +Ucpd Misdemeanor Bench Warrant,60000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,1724 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,566 +Ucpd Misdemeanor Bench Warrant,571 +Ucpd Misdemeanor Bench Warrant,1508 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,566 +Ucpd Misdemeanor Bench Warrant,906 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,566 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,461 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,35000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,36000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,1554 +Ucpd Misdemeanor Bench Warrant,36000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,36000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,35000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,1553 +Ucpd Misdemeanor Bench Warrant,747 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,35000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,75000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,24000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,100000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,0 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,1000 +Ucpd Misdemeanor Bench Warrant,60000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,25000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,30000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,10000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,500 +Ucpd Misdemeanor Bench Warrant,15000 +Ucpd Misdemeanor Bench Warrant,50000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,40000 +Ucpd Misdemeanor Bench Warrant,5000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,60000 +Ucpd Misdemeanor Bench Warrant,26000 +Ucpd Misdemeanor Bench Warrant,20000 +Ucpd Misdemeanor Bench Warrant,5000 +Outside Agency Infraction Warrant,670 +Outside Agency Infraction Warrant,5095 +Outside Agency Infraction Warrant,5095 +Outside Agency Infraction Warrant,595 +Outside Agency Infraction Warrant,595 +Outside Agency Infraction Warrant,749 +Outside Agency Infraction Warrant,1470 +Outside Agency Infraction Warrant,606 +Outside Agency Infraction Warrant,475 +Outside Agency Infraction Warrant,571 +Outside Agency Infraction Warrant,566 +Outside Agency Infraction Warrant,26275 +Outside Agency Infraction Warrant,1503 +Outside Agency Infraction Warrant,724 +Outside Agency Infraction Warrant,35000 +Outside Agency Infraction Warrant,556 +Outside Agency Infraction Warrant,556 +Outside Agency Infraction Warrant,556 +Outside Agency Infraction Warrant,560 +Outside Agency Infraction Warrant,35000 +Outside Agency Infraction Warrant,15000 +Outside Agency Infraction Warrant,1093 +Outside Agency Infraction Warrant,561 +Outside Agency Infraction Warrant,30045 +Outside Agency Infraction Warrant,30045 +Outside Agency Infraction Warrant,30080 +Outside Agency Infraction Warrant,1000 +Outside Agency Infraction Warrant,757 +Outside Agency Infraction Warrant,724 +Outside Agency Infraction Warrant,571 +Outside Agency Infraction Warrant,50000 +Outside Agency Infraction Warrant,726 +Outside Agency Infraction Warrant,561 +Outside Agency Infraction Warrant,688 +Outside Agency Infraction Warrant,1201 +Outside Agency Infraction Warrant,277 +Outside Agency Infraction Warrant,1125 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,452 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,30000 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,604 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,1349 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,15000 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,3130 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,7630 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,603 +Outside Agency Infraction Warrant,2125 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,571 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,421 +Outside Agency Infraction Warrant,165 +Outside Agency Infraction Warrant,165 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,560 +Outside Agency Infraction Warrant,560 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,1000 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,15000 +Outside Agency Infraction Warrant,250 +Outside Agency Infraction Warrant,406 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,630 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,529 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,228 +Outside Agency Infraction Warrant,60 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,630 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,400 +Outside Agency Infraction Warrant,604 +Outside Agency Infraction Warrant,468 +Outside Agency Infraction Warrant,605 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,520 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,0 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,565 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,30000 +Outside Agency Infraction Warrant,20000 +Outside Agency Infraction Warrant,5000 +Outside Agency Infraction Warrant,1090 +Outside Agency Infraction Warrant,5095 +Outside Agency Infraction Warrant,5035 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,500 +Outside Agency Infraction Warrant,355 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,412 +Outside Agency Infraction Warrant,415 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,335 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,35 +Outside Agency Infraction Warrant,1000 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,517 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,15 +Outside Agency Infraction Warrant,453 +Outside Agency Infraction Warrant,100 +Outside Agency Infraction Warrant,15 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,25000 +Battery,25000 +Battery,25000 +Battery,25000 +Battery,3000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,30000 +Battery,0 +Battery,30000 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,140000 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,30000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,40000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,40000 +Battery,0 +Battery,20000 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,36000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,500 +Battery,0 +Battery,50000 +Battery,0 +Battery,0 +Battery,0 +Battery,60000 +Battery,0 +Battery,0 +Battery,20000 +Battery,30000 +Battery,0 +Battery,100000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,15000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,20000 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Battery,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Trespass,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Trespass,1000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Trespass,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,20000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,20000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,40000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Trespass,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Trespass,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,20000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,20000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,40000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,10000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,25000 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 +Obstruct or Resist,0 \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js index 2293b6383..973f4d4dc 100644 --- a/js/posts/ucpd-budget-arrests/bail-violin.js +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -1,4 +1,6 @@ -d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/mattie/ucpdBail/datasets/ucpd/ChargesBail.csv", function( rows){ +function update_bail_data(data) { + if (data == "ExludingOutliars") { + d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/ChargesBail.csv", function( rows){ console.log("hi"); console.log(rows['Bail']); function unpack(rows, key) { @@ -30,8 +32,92 @@ d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/mattie/ucpdBail/d title: "", yaxis: { zeroline: false + }, + automargin: true, + } + var config = {responsive: true} + + Plotly.newPlot('myDiv', data, layout, config); +}); + } + else { // including outliars + d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/ChargesBail.csv", function( rows){ + console.log("hi"); + console.log(rows['Bail']); + function unpack(rows, key) { + console.log(rows); + return rows.map(function(row) { return row[key]; }); + } + + var data = [{ + type: 'violin', + x: unpack(rows, 'Charges'), + y: unpack(rows, 'Bail'), + points: 'none', + box: { + visible: true + }, + boxpoints: false, + line: { + color: 'black' + }, + fillcolor: '#8dd3c7', + opacity: 0.6, + meanline: { + visible: true + }, + x0: "Total Bill" + }] + + var layout = { + title: "", + yaxis: { + zeroline: false + }, + automargin: true, + } + var config = {responsive: true} + + Plotly.newPlot('myDiv', data, layout, config); +}); + } +} +d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/ChargesBail.csv", function( rows){ + console.log("hi"); + console.log(rows['Bail']); + function unpack(rows, key) { + console.log(rows); + return rows.map(function(row) { return row[key]; }); } + + var data = [{ + type: 'violin', + x: unpack(rows, 'Charges'), + y: unpack(rows, 'Bail'), + points: 'none', + box: { + visible: true + }, + boxpoints: false, + line: { + color: 'black' + }, + fillcolor: '#8dd3c7', + opacity: 0.6, + meanline: { + visible: true + }, + x0: "Total Bill" + }] + + var layout = { + title: "", + yaxis: { + zeroline: false + }, + automargin: true, } + var config = {responsive: true} - Plotly.newPlot('myDiv', data, layout); + Plotly.newPlot('myDiv', data, layout, config); }); \ No newline at end of file From 26ff5c4c1c54b9d522c28fa864cc40a18f6fb60c Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Tue, 9 Nov 2021 11:37:20 -0800 Subject: [PATCH 27/67] outliars working --- datasets/ucpd-budget-arrests/ChargesBail.csv | 1277 ----------------- .../bail_charges_without_outliars.csv | 3 - js/posts/ucpd-budget-arrests/bail-violin.js | 8 +- 3 files changed, 4 insertions(+), 1284 deletions(-) delete mode 100644 datasets/ucpd-budget-arrests/ChargesBail.csv diff --git a/datasets/ucpd-budget-arrests/ChargesBail.csv b/datasets/ucpd-budget-arrests/ChargesBail.csv deleted file mode 100644 index 630764278..000000000 --- a/datasets/ucpd-budget-arrests/ChargesBail.csv +++ /dev/null @@ -1,1277 +0,0 @@ -Charges,Bail -Drug related,0 -Drug related,0 -Drug related,0 -Drug related,0 -Drug related,0 -Drug related,0 -Drug related,0 -Drug related,0 -Drug related,0 -Drug related,0 -Drug related,5000 -Drug related,0 -Drug related,100000 -Drug related,0 -Drug related,0 -Drug related,0 -Drug related,0 -Drug related,50000 -Drug related,0 -Drug related,15000 -Drug related,0 -Drug related,0 -Drug related,0 -DUI,0 -Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -Drug related,0 -Drug related,0 -DUI,0 -DUI,0 -DUI,OR -DUI,0 -Drug related,0 -DUI,0 -Drug related,0 -Drug related,0 -Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,26000 -DUI,0 -Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,10000 -DUI,26000 -DUI,0 -DUI,0 -DUI,0 -Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,5000 -DUI,0 -DUI,0 -DUI,0 -DUI,20000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -Drug related,0 -DUI,30000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,5000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,30000 -Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -Drug related,15000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,26000 -DUI,0 -DUI,0 -DUI,0 -DUI,26000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,50000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -Drug related,0 -DUI,0 -DUI,0 -Trespass,120000 -Trespass,100000 -Trespass,500 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,36000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,500 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,20000 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,500 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,500 -Trespass,1000 -Trespass,0 -Trespass,0 -Burglary,50000 -Burglary,20000 -Burglary,150000 -Burglary,50000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,50000 -Burglary,40000 -Burglary,5000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,50000 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,60000 -Burglary,20000 -Burglary,50000 -Burglary,50000 -Burglary,150000 -Burglary,150000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,0 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,0 -Burglary,50000 -Burglary,20000 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,20000 -Burglary,40000 -Burglary,20000 -Burglary,50000 -Burglary,150000 -Burglary,20000 -Burglary,50000 -Burglary,50000 -Burglary,20000 -Burglary,20000 -Burglary,500 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,20000 -Burglary,156000 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,20000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,20000 -Burglary,0 -Burglary,100000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,0 -Burglary,0 -Burglary,20000 -Burglary,50000 -Burglary,0 -Burglary,0 -Burglary,500 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,41500 -Burglary,500 -Burglary,60000 -Burglary,50000 -Burglary,50000 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,5000 -Burglary,20000 -Burglary,50000 -Burglary,50000 -Burglary,20000 -Burglary,50000 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,50000 -Burglary,0 -Burglary,140000 -Burglary,40000 -Burglary,50000 -Burglary,50000 -Burglary,20000 -Burglary,0 -Burglary,20000 -Burglary,50000 -Burglary,20000 -Burglary,50000 -Burglary,50000 -Burglary,20000 -Burglary,500 -Burglary,50000 -Burglary,80000 -Burglary,50000 -Burglary,50000 -Burglary,20000 -Burglary,20000 -Burglary,50000 -Burglary,50000 -Ucpd Misdemeanor Bench Warrant,2500 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,408 -Ucpd Misdemeanor Bench Warrant,565 -Ucpd Misdemeanor Bench Warrant,565 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,1893 -Ucpd Misdemeanor Bench Warrant,1712 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,4782 -Ucpd Misdemeanor Bench Warrant,60000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,1724 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,566 -Ucpd Misdemeanor Bench Warrant,571 -Ucpd Misdemeanor Bench Warrant,1508 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,566 -Ucpd Misdemeanor Bench Warrant,906 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,566 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,461 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,35000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,36000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,1554 -Ucpd Misdemeanor Bench Warrant,36000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,36000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,35000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,1553 -Ucpd Misdemeanor Bench Warrant,747 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,35000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,75000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,24000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,100000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,1000 -Ucpd Misdemeanor Bench Warrant,60000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,25000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,500 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,60000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,5000 -Outside Agency Infraction Warrant,670 -Outside Agency Infraction Warrant,5095 -Outside Agency Infraction Warrant,5095 -Outside Agency Infraction Warrant,595 -Outside Agency Infraction Warrant,595 -Outside Agency Infraction Warrant,749 -Outside Agency Infraction Warrant,1470 -Outside Agency Infraction Warrant,606 -Outside Agency Infraction Warrant,475 -Outside Agency Infraction Warrant,571 -Outside Agency Infraction Warrant,566 -Outside Agency Infraction Warrant,26275 -Outside Agency Infraction Warrant,1503 -Outside Agency Infraction Warrant,724 -Outside Agency Infraction Warrant,35000 -Outside Agency Infraction Warrant,556 -Outside Agency Infraction Warrant,556 -Outside Agency Infraction Warrant,556 -Outside Agency Infraction Warrant,560 -Outside Agency Infraction Warrant,35000 -Outside Agency Infraction Warrant,15000 -Outside Agency Infraction Warrant,1093 -Outside Agency Infraction Warrant,561 -Outside Agency Infraction Warrant,30045 -Outside Agency Infraction Warrant,30045 -Outside Agency Infraction Warrant,30080 -Outside Agency Infraction Warrant,1000 -Outside Agency Infraction Warrant,757 -Outside Agency Infraction Warrant,724 -Outside Agency Infraction Warrant,571 -Outside Agency Infraction Warrant,50000 -Outside Agency Infraction Warrant,726 -Outside Agency Infraction Warrant,561 -Outside Agency Infraction Warrant,688 -Outside Agency Infraction Warrant,1201 -Outside Agency Infraction Warrant,277 -Outside Agency Infraction Warrant,1125 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,0 -Outside Agency Infraction Warrant,406 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,452 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,0 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,529 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,30000 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,406 -Outside Agency Infraction Warrant,406 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,604 -Outside Agency Infraction Warrant,500 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,1349 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,15000 -Outside Agency Infraction Warrant,0 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,0 -Outside Agency Infraction Warrant,3130 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,7630 -Outside Agency Infraction Warrant,0 -Outside Agency Infraction Warrant,603 -Outside Agency Infraction Warrant,2125 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,0 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,529 -Outside Agency Infraction Warrant,571 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,529 -Outside Agency Infraction Warrant,421 -Outside Agency Infraction Warrant,165 -Outside Agency Infraction Warrant,165 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,560 -Outside Agency Infraction Warrant,560 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,500 -Outside Agency Infraction Warrant,1000 -Outside Agency Infraction Warrant,500 -Outside Agency Infraction Warrant,15000 -Outside Agency Infraction Warrant,250 -Outside Agency Infraction Warrant,406 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,630 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,529 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,228 -Outside Agency Infraction Warrant,60 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,630 -Outside Agency Infraction Warrant,0 -Outside Agency Infraction Warrant,500 -Outside Agency Infraction Warrant,400 -Outside Agency Infraction Warrant,604 -Outside Agency Infraction Warrant,468 -Outside Agency Infraction Warrant,605 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,520 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,0 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,565 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,30000 -Outside Agency Infraction Warrant,20000 -Outside Agency Infraction Warrant,5000 -Outside Agency Infraction Warrant,1090 -Outside Agency Infraction Warrant,5095 -Outside Agency Infraction Warrant,5035 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,500 -Outside Agency Infraction Warrant,500 -Outside Agency Infraction Warrant,355 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,412 -Outside Agency Infraction Warrant,415 -Outside Agency Infraction Warrant,15 -Outside Agency Infraction Warrant,15 -Outside Agency Infraction Warrant,335 -Outside Agency Infraction Warrant,15 -Outside Agency Infraction Warrant,35 -Outside Agency Infraction Warrant,1000 -Outside Agency Infraction Warrant,15 -Outside Agency Infraction Warrant,15 -Outside Agency Infraction Warrant,517 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,15 -Outside Agency Infraction Warrant,15 -Outside Agency Infraction Warrant,453 -Outside Agency Infraction Warrant,100 -Outside Agency Infraction Warrant,15 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,25000 -Battery,25000 -Battery,25000 -Battery,25000 -Battery,3000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,30000 -Battery,0 -Battery,30000 -Battery,20000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,140000 -Battery,20000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,30000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,20000 -Battery,0 -Battery,0 -Battery,0 -Battery,40000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,40000 -Battery,0 -Battery,20000 -Battery,20000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,20000 -Battery,0 -Battery,0 -Battery,36000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,500 -Battery,0 -Battery,50000 -Battery,0 -Battery,0 -Battery,0 -Battery,60000 -Battery,0 -Battery,0 -Battery,20000 -Battery,30000 -Battery,0 -Battery,100000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,20000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,15000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,20000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,20000 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Battery,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Trespass,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Trespass,1000 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Trespass,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,20000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,20000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,40000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Trespass,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Trespass,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,20000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,20000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,40000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,10000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,25000 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 -Obstruct or Resist,0 \ No newline at end of file diff --git a/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv b/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv index 239c7e4b9..30e5c4c2d 100644 --- a/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv +++ b/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv @@ -431,8 +431,6 @@ Burglary,60000 Burglary,20000 Burglary,50000 Burglary,50000 -Burglary,150000 -Burglary,150000 Burglary,50000 Burglary,50000 Burglary,50000 @@ -912,7 +910,6 @@ Battery,0 Battery,0 Battery,0 Battery,0 -Battery,140000 Battery,20000 Battery,0 Battery,0 diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js index 973f4d4dc..cfca09546 100644 --- a/js/posts/ucpd-budget-arrests/bail-violin.js +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -1,6 +1,6 @@ function update_bail_data(data) { - if (data == "ExludingOutliars") { - d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/ChargesBail.csv", function( rows){ + if (data == "ExcludingOutliars") { + d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv", function( rows){ console.log("hi"); console.log(rows['Bail']); function unpack(rows, key) { @@ -41,7 +41,7 @@ function update_bail_data(data) { }); } else { // including outliars - d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/ChargesBail.csv", function( rows){ + d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv", function( rows){ console.log("hi"); console.log(rows['Bail']); function unpack(rows, key) { @@ -82,7 +82,7 @@ function update_bail_data(data) { }); } } -d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/ChargesBail.csv", function( rows){ +d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv", function( rows){ console.log("hi"); console.log(rows['Bail']); function unpack(rows, key) { From 13a008b189910017a8ea04707012d2574a0a7ab8 Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Tue, 9 Nov 2021 11:41:04 -0800 Subject: [PATCH 28/67] Update bail_charges_without_outliars.csv --- datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv b/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv index 30e5c4c2d..d01aa402f 100644 --- a/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv +++ b/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv @@ -451,7 +451,6 @@ Burglary,20000 Burglary,40000 Burglary,20000 Burglary,50000 -Burglary,150000 Burglary,20000 Burglary,50000 Burglary,50000 @@ -1267,4 +1266,4 @@ Obstruct or Resist,0 Obstruct or Resist,0 Obstruct or Resist,0 Obstruct or Resist,0 -Obstruct or Resist,0 \ No newline at end of file +Obstruct or Resist,0 From 98491c15df4dc4bc71284fbad300d9d521985dee Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Tue, 9 Nov 2021 11:44:50 -0800 Subject: [PATCH 29/67] outliars dropdown works --- _posts/2021-9-28-ucpd-budget-arrests.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index dbb6151dc..f079edbde 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -95,8 +95,8 @@ scripts:
From 96d9cdb64c757e25c5a7d428183f24175d31fe9d Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Tue, 9 Nov 2021 13:07:10 -0800 Subject: [PATCH 30/67] barcharts --- _posts/2021-9-28-ucpd-budget-arrests.md | 6 ++ .../demographics-barchart.js | 60 ++++++++++++------- 2 files changed, 43 insertions(+), 23 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index a910dabf2..ed4a748b3 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -48,6 +48,12 @@ scripts:
+

About the Data

+

The Westwood Demographic Data was collected by censusreporter.org from the ACS 2019 1-year census.

+ +

The UCPD Arrest Data was collected by the UCPD from the years 2012-2019.

+ +

The UCPD categorizes race through a set of code that can be found here. For the sake of compatibility with Westwood Demographic Data, the categories of “Other” and “Unknown” from UCPD data and the category “2+ Races”and “Other” from the Westwood Demographic Data have been combined into one category of “Other”.

diff --git a/js/posts/ucpd-budget-arrests/demographics-barchart.js b/js/posts/ucpd-budget-arrests/demographics-barchart.js index 9b80ab5f4..fa27c0cf8 100644 --- a/js/posts/ucpd-budget-arrests/demographics-barchart.js +++ b/js/posts/ucpd-budget-arrests/demographics-barchart.js @@ -6,22 +6,21 @@ var barChartRace = { 'Asian', 'American Indian', 'Other', - 'Unknown', ], datasets: [ { - label:'UCPD Arrest Data', - backgroundColor: "pink", - borderColor: "red", + label:'UCPD Arrest Data (2012-2019)', + backgroundColor: 'rgba(44, 130, 201, .5)', + borderColor: 'rgba(44, 130, 201, 1)', borderWidth: 1, - data: [35.92, 31.25, 21.87, 3.89,0.1544, 6.83] + data: [36, 31, 22, 4, 7] }, { - label: 'Westwood Demographic Data', - backgroundColor: "lightblue", - borderColor: "blue", + label: 'Westwood Demographic Data (2019)', + backgroundColor: 'rgba(0, 177, 106, .5)', + borderColor: 'rgba(0, 177, 106, 1)', borderWidth: 1, - data: [53, 3, 17, 21, 0, 5, 0] + data: [53, 3, 17, 21, 0, 5] } ] }; @@ -37,9 +36,14 @@ var racechartOptions = { }, scales: { yAxes: [{ + display: true, + scaleLabel: { + display: true, + labelString: 'Percent of Arrests', ticks: { beginAtZero: true } + } }] } } @@ -61,16 +65,16 @@ var barChartGender = { ], datasets: [ { - label:'UCPD Arrest Data', - backgroundColor: "pink", - borderColor: "red", + label:'UCPD Arrest Data (2012-2019)', + backgroundColor: 'rgba(44, 130, 201, .5)', + borderColor: 'rgba(44, 130, 201, 1)', borderWidth: 1, - data: [80.017, 11.982] + data: [80, 12] }, { - label: 'Westwood Demographic Data', - backgroundColor: "lightblue", - borderColor: "blue", + label: 'Westwood Demographic Data (2019)', + backgroundColor: 'rgba(0, 177, 106, .5)', + borderColor: 'rgba(0, 177, 106, 1)', borderWidth: 1, data: [48, 52] } @@ -88,9 +92,14 @@ var barChartGender = { }, scales: { yAxes: [{ + display: true, + scaleLabel: { + display: true, + labelString: 'Percent of Arrests', ticks: { beginAtZero: true } + } }] } } @@ -115,16 +124,16 @@ var barChartAge = { ], datasets: [ { - label:'UCPD Arrest Data', - backgroundColor: "pink", - borderColor: "red", + label:'UCPD Arrest Data (2012-2019)', + backgroundColor: 'rgba(44, 130, 201, .5)', + borderColor: 'rgba(44, 130, 201, 1)', borderWidth: 1, - data: [0, 20.13589, 32.45831, 21.24768, 15.84311, 8.678196, 1.636813] + data: [0, 21, 32, 22, 16, 7, 2] }, { - label: 'Westwood Demographic Data', - backgroundColor: "lightblue", - borderColor: "blue", + label: 'Westwood Demographic Data (2019)', + backgroundColor: 'rgba(0, 177, 106, .5)', + borderColor: 'rgba(0, 177, 106, 1)', borderWidth: 1, data: [12, 24, 17, 13, 9, 8, 9] } @@ -141,9 +150,14 @@ var barChartAge = { }, scales: { yAxes: [{ + display: true, + scaleLabel: { + display: true, + labelString: 'Percent of Arrests', ticks: { beginAtZero: true } + } }] } } From 240aec34d35d37d92678eff555fb9de06cd8d292 Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Tue, 9 Nov 2021 13:10:16 -0800 Subject: [PATCH 31/67] markdown file --- _posts/2021-9-28-ucpd-budget-arrests.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index d7d12dd78..ed4a748b3 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -93,16 +93,11 @@ scripts:
-
+ +

More text blah blah blah

-
From 6bf48da32d3cbd82d4319daf234adf4c08393bb5 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Tue, 9 Nov 2021 21:19:41 -0800 Subject: [PATCH 32/67] Made updates to the scrolly telling. --- .../demographic_charges.js | 89 +++++++++++-------- .../ucpd-budget-arrests/scrolly_charts.js | 83 +++++++++++++---- js/posts/ucpd-budget-arrests/scrolly_test.css | 2 +- 3 files changed, 121 insertions(+), 53 deletions(-) diff --git a/js/posts/ucpd-budget-arrests/demographic_charges.js b/js/posts/ucpd-budget-arrests/demographic_charges.js index 3bc3d9112..682c674ff 100644 --- a/js/posts/ucpd-budget-arrests/demographic_charges.js +++ b/js/posts/ucpd-budget-arrests/demographic_charges.js @@ -1,44 +1,61 @@ console.log('loaded demographic charges chart') -const DemoChargeslabels = ['January', 'February','March','April','May','June']; -const DemoChargesdata = { - axis: 'y', - labels: DemoChargeslabels, - datasets: [{ - label: 'My First Dataset', - data: [65, 59, 80, 81, 56, 55, 40], - backgroundColor: [ - 'rgba(255, 99, 132, 0.2)', - 'rgba(255, 159, 64, 0.2)', - 'rgba(255, 205, 86, 0.2)', - 'rgba(75, 192, 192, 0.2)', - 'rgba(54, 162, 235, 0.2)', - 'rgba(153, 102, 255, 0.2)', - 'rgba(201, 203, 207, 0.2)' +d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChargesChart); +function makeChargesChart(csvData) { + //console.log(csvData); + //const DemoChargeslabels = ['January', 'February','March','April','May','June']; + let DemoChargesdata = { + labels: [ + 'FY 12-13', + 'FY 13-14', + 'FY 14-15', + ' FY 15-16', + 'FY 16-17', + 'FY 17-18', + 'FY 18-19', + 'FY 19-20 (Approved but not actual)', ], - borderColor: [ - 'rgb(255, 99, 132)', - 'rgb(255, 159, 64)', - 'rgb(255, 205, 86)', - 'rgb(75, 192, 192)', - 'rgb(54, 162, 235)', - 'rgb(153, 102, 255)', - 'rgb(201, 203, 207)' - ], - borderWidth: 1, - - }] -}; + datasets: [], + }; + + let colors = [ + '#374c80', + '#7a5195', + '#bc5090', + '#ef5675', + '#ff764a', + '#ffa600', + 'green', + 'blue', + ]; + + for (let i = 4; i < 12; i++) { + DemoChargesdata.datasets.push({ + label: csvData[i].Category, + data: Object.values(csvData[i]).slice(1), + backgroundColor: colors[i - 4], + borderColor: colors[i - 4], + }); + } + -let ctxDemographicCharges = document.getElementById('demographic_charges'); -let Demographic_Charges = new Chart(ctxDemographicCharges, { + let ctxDemographicCharges = document.getElementById('demographic_charges'); + let Demographic_Charges = new Chart(ctxDemographicCharges, { type: 'horizontalBar', data: DemoChargesdata, options: { indexAxis: 'y', - // scales: { - // y: { - // beginAtZero: true - // } - // } + scales: { + xAxes: [ + { + stacked: true, + }, + ], + yAxes: [ + { + stacked: true, + }, + ], + }, }, - }); \ No newline at end of file + }); +} diff --git a/js/posts/ucpd-budget-arrests/scrolly_charts.js b/js/posts/ucpd-budget-arrests/scrolly_charts.js index aa23a3f46..5db7f88a6 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_charts.js +++ b/js/posts/ucpd-budget-arrests/scrolly_charts.js @@ -17,6 +17,7 @@ const labels = [ ]; const lines = ['Budget','Budget in $100,000','Arrests','Stops']; + const options0 = { scales: { yAxes: [ @@ -33,6 +34,11 @@ const options0 = { //max: 25000, //stepSize: 5000, }, + scaleLabel:{ + display: true, + labelString: 'Dollars' + }, + yAxisID: 'y' }, ], xAxes: [ @@ -47,23 +53,63 @@ const options0 = { } const options1 ={ + responsive: true, + interaction: { + mode: 'index', + intersect: false, + }, + stacked: false, + plugins: { + title: { + display: true, + text: 'Chart.js Line Chart - Multi Axis' + } + }, scales: { - yAxes: [ - { + yAxes: [{ + type: 'linear', + display: true, + position: 'left', + ticks: { + callback: function(value) { + return value.toLocaleString('en-US', { + style: 'decimal', + minimumFractionDigits: 0, + }); // convert value to dollar format + }, + min: 0, + max: 700, + stepSize: 100, + }, + yAxisID: 'y', + id:'y' + }, + { + type: 'linear', + display: true, + position: 'right', + + // grid line settings + grid: { + drawOnChartArea: false, // only want the grid lines for one axis to show up + }, ticks: { - // callback: function(value) { - // return value.toLocaleString('en-US', { - // style: 'currency', - // currency: 'USD', - // minimumFractionDigits: 0, - // }); // convert value to dollar format - // }, + callback: function(value) { + return value.toLocaleString('en-US', { + style: 'currency', + currency: 'USD', + minimumFractionDigits: 0, + }); // convert value to dollar format + }, min: 0, - //max: 25000, - //stepSize: 5000, + max: 700, + stepSize: 100, }, + yAxisID: 'y1', + id:'y1' }, - ], + ], + xAxes: [ { scaleLabel: { @@ -75,7 +121,7 @@ const options1 ={ }, } -let options = options0; + //const data = {} const data = { @@ -90,6 +136,7 @@ function addData(i) { fill: false, borderColor: colors[i], data: data_order[i], + //yAxisID: 'y' } // ++step_number; data.datasets.push(info); @@ -99,10 +146,14 @@ function addData(i) { function changeOptions(i){ if (i===0){ - options = options0; + console.log('options0') + myChart.options = options0; + //myChart.update() } else { - options = options1; + console.log('options1') + myChart.options = options1; + //myChart.update() } myChart.update() } @@ -126,6 +177,6 @@ let ctx = document.getElementById('myChart'); let myChart = new Chart(ctx, { type: 'line', data: data, - options: options + options: options0 } ); \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/scrolly_test.css b/js/posts/ucpd-budget-arrests/scrolly_test.css index 036d38749..d2643c6e9 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_test.css +++ b/js/posts/ucpd-budget-arrests/scrolly_test.css @@ -96,7 +96,7 @@ figure { position: sticky; top: 25%; /* width: 55%; */ - height: 500px; + /* height: 500px; */ /* height: 100%; */ } From 6f5846861ff14ec85ca949e30521abadf7931de4 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Wed, 10 Nov 2021 17:33:58 -0800 Subject: [PATCH 33/67] Worked on adding a second axis to budget/arrest/stop chart --- _posts/2021-9-28-ucpd-budget-arrests.md | 3 ++- js/posts/ucpd-budget-arrests/scrolly.js | 17 ++++++++++-- .../ucpd-budget-arrests/scrolly_charts.js | 20 +++++++++++--- js/posts/ucpd-budget-arrests/scrolly_test.css | 14 +++++----- .../ucpd-budget-arrests/stacked-barchart.js | 27 ++++++------------- 5 files changed, 47 insertions(+), 34 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index ed4a748b3..3882727a3 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -11,7 +11,8 @@ og_image: stylesheets: - /js/posts/ucpd-budget-arrests/scrolly_test.css scripts: - - //cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js + #- //cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js + - //d3js.org/d3.v5.min.js - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.js - //cdn.jsdelivr.net/npm/chart.js@2.8.0 diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index fbe22fdad..93ce94cdc 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -1,3 +1,5 @@ +const { ChartLabel } = require("react-vis"); + let scrolly = document.querySelector("#stick"); let article = scrolly.querySelector("article"); let step = article.querySelectorAll(".step"); @@ -21,10 +23,21 @@ function handleStepEnter(response) { } else if (i === 2){ removeData(); - ChangeBar(); + myChart.destroy(); + document.getElementById('myChart').id = 'stacked_bar'; + d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); + myChart = StackedBar + //ChangeBar(); } else if (i === 3){ - ChangeLine(); + //ChangeLine(); + myChart.destroy(); + myChart = new Chart(ctx, { + type: 'line', + data: data, + options: options1 + } + ); changeOptions(1); addData(1); } diff --git a/js/posts/ucpd-budget-arrests/scrolly_charts.js b/js/posts/ucpd-budget-arrests/scrolly_charts.js index 5db7f88a6..4928a5612 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_charts.js +++ b/js/posts/ucpd-budget-arrests/scrolly_charts.js @@ -1,4 +1,4 @@ -console.log('loaded chart') +//console.log('loaded chart') const Budget=[13680147, 14223655, 15499349, 16281145, 16754687, 17355103, 20258656, 22375818]; const Stops=[103, 356, 389, 316, 250, 289, 276, 199]; const Arrests=[101, 309, 381, 416, 418, 481, 467, 665]; @@ -169,8 +169,9 @@ function ChangeBar(){ } function ChangeLine(){ - document.getElementById('stacked_bar').id = 'myChart' - StackedBar.destroy() + document.getElementById('stacked_bar').id = 'myChart'; + StackedBar.destroy(); + myChart.update(); } let ctx = document.getElementById('myChart'); @@ -179,4 +180,15 @@ let myChart = new Chart(ctx, { data: data, options: options0 } -); \ No newline at end of file +); + +if (window.matchMedia('(max-width: 480px)').matches) { + myhart.canvas.style = 'max-height:300px'; + myChart.options.maintainAspectRatio = false; + myChart.update(); +} +if (window.matchMedia('(min-width: 480px)').matches) { + myChart.canvas.style = 'width: 100%'; + myChart.options.maintainAspectRatio = false; + myChart.update(); +} \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/scrolly_test.css b/js/posts/ucpd-budget-arrests/scrolly_test.css index d2643c6e9..ee2a59542 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_test.css +++ b/js/posts/ucpd-budget-arrests/scrolly_test.css @@ -67,12 +67,6 @@ line-height: 26px; height: 300px; } -.step.later.chart{ - width: 30%; - right: 0; - height: 650px; -} - .step.last{ width: 100% } @@ -95,8 +89,8 @@ figure { position: -webkit-sticky; position: sticky; top: 25%; - /* width: 55%; */ - /* height: 500px; */ + width: 100%; + /* height: 500px; */ /* height: 100%; */ } @@ -109,6 +103,10 @@ figure { /* width: 90%; */ height: 2000px; } + +#myChart{ + width: 100%; +} /* #sticker { position: sticky; diff --git a/js/posts/ucpd-budget-arrests/stacked-barchart.js b/js/posts/ucpd-budget-arrests/stacked-barchart.js index 9ae2eafbf..19d7828fe 100644 --- a/js/posts/ucpd-budget-arrests/stacked-barchart.js +++ b/js/posts/ucpd-budget-arrests/stacked-barchart.js @@ -6,14 +6,14 @@ function makeChart(csvData) { let data = { labels: [ - 'FY 12-13', - 'FY 13-14', - 'FY 14-15', - ' FY 15-16', - 'FY 16-17', - 'FY 17-18', - 'FY 18-19', - 'FY 19-20 (Approved but not actual)', + '12-13', + '13-14', + '14-15', + '15-16', + '16-17', + '17-18', + '18-19', + '19-20*', ], datasets: [], }; @@ -63,15 +63,4 @@ function makeChart(csvData) { data: data, options: options, }); - -// if (window.matchMedia('(max-width: 480px)').matches) { -// stacked_bar.canvas.style = 'min-height: 200px, max-height:400px,'; -// stacked_bar.options.maintainAspectRatio = false; -// stacked_bar.update(); -// } -// else{ -// stacked_bar.canvas.style = 'height: 500px, max-width: 55%'; -// stacked_bar.options.maintainAspectRatio = false; -// stacked_bar.update(); -// } } \ No newline at end of file From 7840867d1b625281e37786cbdec5b2621ea5e08e Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Thu, 11 Nov 2021 13:43:28 -0800 Subject: [PATCH 34/67] Made category by demographic chart and fixed sizing on scrolly telling --- _posts/2021-9-28-ucpd-budget-arrests.md | 7 +++- .../charge_category_race.csv | 7 ++++ .../demographic_charges.js | 30 ++++++++------- js/posts/ucpd-budget-arrests/scrolly.js | 26 +++++++------ .../ucpd-budget-arrests/scrolly_charts.js | 38 ++++++++++--------- js/posts/ucpd-budget-arrests/scrolly_test.css | 2 +- 6 files changed, 66 insertions(+), 44 deletions(-) create mode 100644 datasets/ucpd-budget-arrests/charge_category_race.csv diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 3882727a3..b312bfaba 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -2,7 +2,12 @@ title: UCPD Budget & Arrest Data teaser: authors: - - + - mattie_sanseverino + - sydney_kovach + - lindsey_parungo + - priya_kanneboyina + - samantha_low + - vivian_luk key_takeaways: - featured_image: diff --git a/datasets/ucpd-budget-arrests/charge_category_race.csv b/datasets/ucpd-budget-arrests/charge_category_race.csv new file mode 100644 index 000000000..45b0c10a5 --- /dev/null +++ b/datasets/ucpd-budget-arrests/charge_category_race.csv @@ -0,0 +1,7 @@ +Race, CA Regs: Violate Curfew, Driving Invalid License, Fail to Appear After Written Promise, False Identification to Specific Peace Officers, Obstruct/Resist, Outside Agency Infraction Warrant, Threat, Trespass, UCPD Misdemeanor Bench Warrant, Vandalism +White, 25, 8, 24,36,70,84,30,71,77,21 +Black, 43, 36, 25, 34, 56,69,25,115,83,21 +Hispanic, 10, 39,3,15,22,20,10,23,29,14 +Asian, 1, 6,6,5,3,0,2,5,2,2 +American Indian, 0,0,0,0,0,0,0,0,0,0 +Other,10,1,4,4,4,6,5,7,4 \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/demographic_charges.js b/js/posts/ucpd-budget-arrests/demographic_charges.js index 682c674ff..ff4dacb93 100644 --- a/js/posts/ucpd-budget-arrests/demographic_charges.js +++ b/js/posts/ucpd-budget-arrests/demographic_charges.js @@ -1,18 +1,20 @@ console.log('loaded demographic charges chart') -d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChargesChart); +d3.csv('/datasets/ucpd-budget-arrests/charge_category_race.csv').then(makeChargesChart); function makeChargesChart(csvData) { //console.log(csvData); //const DemoChargeslabels = ['January', 'February','March','April','May','June']; let DemoChargesdata = { labels: [ - 'FY 12-13', - 'FY 13-14', - 'FY 14-15', - ' FY 15-16', - 'FY 16-17', - 'FY 17-18', - 'FY 18-19', - 'FY 19-20 (Approved but not actual)', + 'CA Regs: Violate Curfew', + 'Driving Invalid License', + 'Fail to Appear After Written Promise', + 'False Identification to Specific Peace Officers', + 'Obstruct/Resist', + 'Outside Agency Infraction Warrant', + 'Threat', + 'Trespass', + 'UCPD Misdemeanor Bench Warrant', + 'Vandalism' ], datasets: [], }; @@ -26,14 +28,16 @@ function makeChargesChart(csvData) { '#ffa600', 'green', 'blue', + 'light blue', + 'purple' ]; - for (let i = 4; i < 12; i++) { + for (let i = 0; i < 6; i++) { DemoChargesdata.datasets.push({ - label: csvData[i].Category, + label: csvData[i].Race, data: Object.values(csvData[i]).slice(1), - backgroundColor: colors[i - 4], - borderColor: colors[i - 4], + backgroundColor: colors[i], + borderColor: colors[i], }); } diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index 93ce94cdc..6773f6266 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -1,4 +1,4 @@ -const { ChartLabel } = require("react-vis"); +//const { ChartLabel } = require("react-vis"); let scrolly = document.querySelector("#stick"); let article = scrolly.querySelector("article"); @@ -18,26 +18,30 @@ function handleStepEnter(response) { let i = response.index if(response.direction === 'down'){ if (i ===1){ + makeBudgetArrests(); addData(0); changeOptions(0); } else if (i === 2){ removeData(); - myChart.destroy(); - document.getElementById('myChart').id = 'stacked_bar'; + //myChart.destroy(); + //document.getElementById('myChart').id = 'stacked_bar'; + document.getElementById('BudgetStop').innerHTML = ' Date: Thu, 11 Nov 2021 14:11:51 -0800 Subject: [PATCH 35/67] updated all charts to d3 v5 --- _posts/2021-9-28-ucpd-budget-arrests.md | 2 +- js/posts/ucpd-budget-arrests/bail-violin.js | 6 +++--- js/posts/ucpd-budget-arrests/scrolly_charts.js | 13 +------------ 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index b312bfaba..593c7f0c0 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -16,7 +16,7 @@ og_image: stylesheets: - /js/posts/ucpd-budget-arrests/scrolly_test.css scripts: - #- //cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js + - //cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js - //d3js.org/d3.v5.min.js - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.js diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js index cfca09546..f19e037a3 100644 --- a/js/posts/ucpd-budget-arrests/bail-violin.js +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -1,6 +1,6 @@ function update_bail_data(data) { if (data == "ExcludingOutliars") { - d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv", function( rows){ + d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv").then(function( rows){ console.log("hi"); console.log(rows['Bail']); function unpack(rows, key) { @@ -41,7 +41,7 @@ function update_bail_data(data) { }); } else { // including outliars - d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv", function( rows){ + d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv").then(function( rows){ console.log("hi"); console.log(rows['Bail']); function unpack(rows, key) { @@ -82,7 +82,7 @@ function update_bail_data(data) { }); } } -d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv", function( rows){ +d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv").then(function(rows){ console.log("hi"); console.log(rows['Bail']); function unpack(rows, key) { diff --git a/js/posts/ucpd-budget-arrests/scrolly_charts.js b/js/posts/ucpd-budget-arrests/scrolly_charts.js index f85b71c3f..b1046674b 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_charts.js +++ b/js/posts/ucpd-budget-arrests/scrolly_charts.js @@ -182,15 +182,4 @@ function makeBudgetArrests() data: data, options: options0 } - );} - -// if (window.matchMedia('(max-width: 480px)').matches) { -// myChart.canvas.style = 'max-height:300px'; -// myChart.options.maintainAspectRatio = false; -// myChart.update(); -// } -// if (window.matchMedia('(min-width: 480px)').matches) { -// myChart.canvas.style = 'width: 100%'; -// myChart.options.maintainAspectRatio = true; -// myChart.update(); -// } \ No newline at end of file + );} \ No newline at end of file From 898babc61a50164b7c0b4268df200b812f971397 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Thu, 11 Nov 2021 20:44:07 -0800 Subject: [PATCH 36/67] made some modifications for mobile, added captions for charts in scrolly telling --- _posts/2021-9-28-ucpd-budget-arrests.md | 15 +- css/posts/ucpd-budget-arrests/app.css | 8 + css/posts/ucpd-budget-arrests/scrollama.css | 185 ++++++++++++++++++ .../demographic_charges.js | 18 +- js/posts/ucpd-budget-arrests/scrolly.js | 4 +- .../ucpd-budget-arrests/scrolly_charts.js | 40 ++-- js/posts/ucpd-budget-arrests/scrolly_test.css | 120 ------------ .../ucpd-budget-arrests/stacked-barchart.js | 9 +- 8 files changed, 253 insertions(+), 146 deletions(-) create mode 100644 css/posts/ucpd-budget-arrests/app.css create mode 100644 css/posts/ucpd-budget-arrests/scrollama.css delete mode 100644 js/posts/ucpd-budget-arrests/scrolly_test.css diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 593c7f0c0..cd76e1278 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -14,7 +14,8 @@ featured_image: url: og_image: stylesheets: - - /js/posts/ucpd-budget-arrests/scrolly_test.css + - /css/posts/ucpd-budget-arrests/scrollama.css + - /css/posts/ucpd-budget-arrests/app.css scripts: - //cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js - //d3js.org/d3.v5.min.js @@ -51,9 +52,11 @@ scripts:
-
+
+

Insert Caption here

+

About the Data

The Westwood Demographic Data was collected by censusreporter.org from the ACS 2019 1-year census.

@@ -68,10 +71,10 @@ scripts:

What changes can be seen in UCPD data and policy in the last 10 years?

The most recent UCPD policies are from 2010. The most current UC policy on policing is from 2011. While there haven’t been any formal policy changes since 2010, UCPD says it is committed to modeling a community oriented approach. This includes being influenced by programs such as #8CantWait and CampaignZero.

-
+

UCPD’s budget was acquired through a CPRA.

@@ -86,10 +89,6 @@ scripts:

In addition to increased funding, there has been an increase in arrests. The largest increase in arrests was from 2018 to 2019. [INSERT IF UCPD PROVIDES INSIGHT HERE]

-

As a contrast, stops have been on a downward trend since 2014. [INSERT HERE IF UCPD PROVIDES INSIGHT]

@@ -104,6 +103,4 @@ scripts:
-

More text blah blah blah

-
diff --git a/css/posts/ucpd-budget-arrests/app.css b/css/posts/ucpd-budget-arrests/app.css new file mode 100644 index 000000000..bf35d1290 --- /dev/null +++ b/css/posts/ucpd-budget-arrests/app.css @@ -0,0 +1,8 @@ +.caption { + font-size:smaller; + color:gray; +} + +.demographic_charges{ + width: 70%; +} \ No newline at end of file diff --git a/css/posts/ucpd-budget-arrests/scrollama.css b/css/posts/ucpd-budget-arrests/scrollama.css new file mode 100644 index 000000000..2a4f13ce9 --- /dev/null +++ b/css/posts/ucpd-budget-arrests/scrollama.css @@ -0,0 +1,185 @@ + +/*CSS for the Scrollama*/ +/*Desktop Version */ +@media only screen and (min-width: 1000px) { +.scrollama{ + width: 100%; +} + +.scrolly_title{ + font-family: PT Sans; + font-style: normal; + font-weight: normal; + font-size: 36px; + line-height: 26px; +} + +#scrolly_area { +/* position: relative; */ +padding: 0 1rem; +margin: 0 auto; +/* width: 90%; */ +height: 2000px; +} + +#outro{ + width: 100%; +} + +.step { +margin: 2rem auto 4rem auto; +background-color: #3b3b3b; +color: #fff; +opacity: .5; +/* width: 30%; */ +top: 20px; +float: right; +} + +.step.is-active { +background-color: #3b3b3b; +color: #fff; +opacity: 1; +} + +.step p { +text-align: center; +/* font-size: 1.5rem; */ +font-family: PT Sans; +font-style: normal; +font-weight: normal; +font-size: 20px; +line-height: 26px; +} + +.step.first { + width: 100% +} + +.step.later{ + width: 30%; + right: 0; + height: 300px; +} + +.step.last{ + width: 100% +} + +figure { + + /* position: relative; + top: 400px; */ + width: 60%; + height: 100%; + float: left; + margin: 0; + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + /* background-color: #8a8a8a; */ +} + +.BudgetStopChart{ + position: -webkit-sticky; + position: sticky; + top: 25%; + width: 100%; + height: 500px; + /* height: 100%; */ +} + +#stick { + /* height: 4000px; */ + width: 100%; + position: relative; + padding: 0 1rem; + margin: 0 auto; + /* width: 90%; */ + height: 2000px; +} + +#myChart{ + width: 100%; +} +} +@media only screen and (max-width: 1000px) { + .scrollama{ + width: 90%; + } + + /* .scrolly_title{ + /* font-family: PT Sans; + font-style: normal; + font-weight: normal; */ + /* font-size: 36px; */ + /* line-height: 26px; */ + /* } */ + + #scrolly_area { + /* position: relative; */ + padding: 0 1rem; + margin: 0 auto; + width: 100%; + height: 2000px; + } + + .step { + margin: 2rem auto 4rem auto; + background-color: #3b3b3b; + color: #fff; + top: 20px; + float: right; + width: 100%; + opacity: .5; + } + + .step.is-active { + background-color: #3b3b3b; + color: #fff; + opacity: 1; + /* padding-top: 300px; */ + } + + .step p { + text-align: center; + float: center; + } + + figure { + + /* position: relative; + top: 400px; */ + width: 100%; + /* height: 100%; */ + float: left; + margin: 0; + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + /* background-color: #8a8a8a; */ + } + + .BudgetStopChart{ + position: -webkit-sticky; + position: sticky; + top: 10px; + width: 100%; + height: 800px; + /* height: 100%; */ + } + + #stick { + /* height: 4000px; */ + width: 90%; + position: relative; + padding: 0 1rem; + margin: 0 auto; + /* width: 90%; */ + height: 2000px; + } + + #myChart{ + width: 100%; + } +} \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/demographic_charges.js b/js/posts/ucpd-budget-arrests/demographic_charges.js index ff4dacb93..e1c00663c 100644 --- a/js/posts/ucpd-budget-arrests/demographic_charges.js +++ b/js/posts/ucpd-budget-arrests/demographic_charges.js @@ -1,5 +1,6 @@ console.log('loaded demographic charges chart') d3.csv('/datasets/ucpd-budget-arrests/charge_category_race.csv').then(makeChargesChart); +let demographic_charges; function makeChargesChart(csvData) { //console.log(csvData); //const DemoChargeslabels = ['January', 'February','March','April','May','June']; @@ -42,8 +43,8 @@ function makeChargesChart(csvData) { } - let ctxDemographicCharges = document.getElementById('demographic_charges'); - let Demographic_Charges = new Chart(ctxDemographicCharges, { + let ctxDemographicCharges = document.getElementById('demographic_charges').getContext('2d'); + demographic_charges = new Chart(ctxDemographicCharges, { type: 'horizontalBar', data: DemoChargesdata, options: { @@ -52,7 +53,12 @@ function makeChargesChart(csvData) { xAxes: [ { stacked: true, + scaleLabel:{ + display: true, + labelString: 'Arrests', + }, }, + ], yAxes: [ { @@ -62,4 +68,12 @@ function makeChargesChart(csvData) { }, }, }); + + if (window.matchMedia('(max-width: 480px)').matches) { + demographic_charges.canvas.style = 'min-height : 400px'; + demographic_charges.options.maintainAspectRatio = false; + demographic_charges.update(); + } } + + diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index 6773f6266..4438bed52 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -26,7 +26,7 @@ function handleStepEnter(response) { removeData(); //myChart.destroy(); //document.getElementById('myChart').id = 'stacked_bar'; - document.getElementById('BudgetStop').innerHTML = '

UCPD’s annual budget from 2012 to 2019 was acquired through a CPRA. Values are given for fiscal years. The 2018-2019 data is a proposed budget, not yet approved.

` d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); //myChart = StackedBar //ChangeBar(); @@ -34,7 +34,7 @@ function handleStepEnter(response) { else if (i === 3){ //ChangeLine(); //StackedBar.destroy(); - document.getElementById('BudgetStop').innerHTML = ' Date: Thu, 11 Nov 2021 22:51:39 -0800 Subject: [PATCH 37/67] Working on mobile for scroly telling --- css/posts/ucpd-budget-arrests/extra.css | 64 +++++++++++++++++ css/posts/ucpd-budget-arrests/scrollama.css | 71 ++++++++++++------- js/posts/ucpd-budget-arrests/scrolly.js | 2 +- .../ucpd-budget-arrests/stacked-barchart.js | 2 +- 4 files changed, 112 insertions(+), 27 deletions(-) create mode 100644 css/posts/ucpd-budget-arrests/extra.css diff --git a/css/posts/ucpd-budget-arrests/extra.css b/css/posts/ucpd-budget-arrests/extra.css new file mode 100644 index 000000000..761d6b86c --- /dev/null +++ b/css/posts/ucpd-budget-arrests/extra.css @@ -0,0 +1,64 @@ +@media only screen and (max-width: 1000px) { + .scrollama{ + width: 90%; + } + + #scrolly_area { + padding: 0 1rem; + margin: 0 auto; + width: 100%; + /* height: 2000px; */ + } + + .step { + margin: 2rem auto 4rem auto; + background-color: #3b3b3b; + color: #fff; + top: 20px; + float: right; + width: 100%; + opacity: .5; + } + + .step.is-active { + background-color: #3b3b3b; + color: #fff; + opacity: 1; + } + + .step p { + text-align: center; + float: center; + } + + figure { + position: -webkit-sticky; + position: sticky; + width: 100%; + float: left; + margin: 0; + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + .BudgetStopChart{ + /* position: -webkit-sticky; + position: sticky; */ + top: 0; + width: 100%; + /* height: 800px; */ + } + + #stick { + width: 90%; + position: relative; + padding: 0 1rem; + margin: 0 auto; + /* height: 2000px; */ + } + + #myChart{ + width: 100%; + } +} \ No newline at end of file diff --git a/css/posts/ucpd-budget-arrests/scrollama.css b/css/posts/ucpd-budget-arrests/scrollama.css index 2a4f13ce9..570b7d60a 100644 --- a/css/posts/ucpd-budget-arrests/scrollama.css +++ b/css/posts/ucpd-budget-arrests/scrollama.css @@ -103,75 +103,96 @@ figure { width: 100%; } } + +/*MOBILE*/ @media only screen and (max-width: 1000px) { .scrollama{ - width: 90%; + width: 100%; } - /* .scrolly_title{ - /* font-family: PT Sans; + .scrolly_title{ + font-family: PT Sans; font-style: normal; - font-weight: normal; */ - /* font-size: 36px; */ - /* line-height: 26px; */ - /* } */ + font-weight: normal; + font-size: 36px; + line-height: 26px; + } #scrolly_area { /* position: relative; */ padding: 0 1rem; margin: 0 auto; - width: 100%; - height: 2000px; + /* width: 90%; */ + height: 2500px; } .step { margin: 2rem auto 4rem auto; background-color: #3b3b3b; color: #fff; - top: 20px; + opacity: 0; + /* width: 30%; */ + top: 0px; float: right; - width: 100%; - opacity: .5; + z-index: 0; } .step.is-active { background-color: #3b3b3b; color: #fff; opacity: 1; - /* padding-top: 300px; */ } .step p { text-align: center; - float: center; + /* font-size: 1.5rem; */ + font-family: PT Sans; + font-style: normal; + font-weight: normal; + font-size: 20px; + line-height: 26px; } + .step.first { + width: 100% + } + + .step.later{ + width: 100%; + right: 0; + height: 300px; + } + + .step.last{ + width: 100% + } + figure { - - /* position: relative; - top: 400px; */ + position: -webkit-sticky; + position: sticky; + /* position: relative;*/ + top: 200px; width: 100%; - /* height: 100%; */ + /* height: 100%; */ float: left; margin: 0; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); - /* background-color: #8a8a8a; */ + z-index: 1; + background-color: #fff; } .BudgetStopChart{ - position: -webkit-sticky; - position: sticky; - top: 10px; width: 100%; - height: 800px; + z-index: 1; + /* height: 500px; */ /* height: 100%; */ } #stick { /* height: 4000px; */ - width: 90%; + width: 100%; position: relative; padding: 0 1rem; margin: 0 auto; @@ -182,4 +203,4 @@ figure { #myChart{ width: 100%; } -} \ No newline at end of file + } \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index 4438bed52..66f4234c5 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -81,7 +81,7 @@ function init() { scroller .setup({ step: "#stick article .step", - debug: false, + debug: true, offset: 0.5 }) .onStepEnter(handleStepEnter) diff --git a/js/posts/ucpd-budget-arrests/stacked-barchart.js b/js/posts/ucpd-budget-arrests/stacked-barchart.js index a4c1345fb..fbd40cac9 100644 --- a/js/posts/ucpd-budget-arrests/stacked-barchart.js +++ b/js/posts/ucpd-budget-arrests/stacked-barchart.js @@ -65,7 +65,7 @@ function makeChart(csvData) { }); if (window.matchMedia('(max-width: 480px)').matches) { - StackedBar.canvas.style = 'min-height:400px'; + StackedBar.canvas.style = 'max-height:500px'; StackedBar.options.maintainAspectRatio = false; StackedBar.update(); } From fa6586f7c5ac44a94d956f7056d07a1de447c45c Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Fri, 12 Nov 2021 19:38:36 -0800 Subject: [PATCH 38/67] worked on formatting and colors for charts --- css/posts/ucpd-budget-arrests/scrollama.css | 34 +++++++------- .../demographic_charges.js | 16 +++---- js/posts/ucpd-budget-arrests/scrolly.js | 9 +++- .../ucpd-budget-arrests/scrolly_charts.js | 45 +++++++++++++++++-- .../ucpd-budget-arrests/stacked-barchart.js | 41 +++++++++++++---- 5 files changed, 105 insertions(+), 40 deletions(-) diff --git a/css/posts/ucpd-budget-arrests/scrollama.css b/css/posts/ucpd-budget-arrests/scrollama.css index 570b7d60a..aba7c47e9 100644 --- a/css/posts/ucpd-budget-arrests/scrollama.css +++ b/css/posts/ucpd-budget-arrests/scrollama.css @@ -6,13 +6,13 @@ width: 100%; } -.scrolly_title{ +/* .scrolly_title{ font-family: PT Sans; font-style: normal; font-weight: normal; font-size: 36px; line-height: 26px; -} +} */ #scrolly_area { /* position: relative; */ @@ -22,9 +22,9 @@ margin: 0 auto; height: 2000px; } -#outro{ +/* #outro{ width: 100%; -} +} */ .step { margin: 2rem auto 4rem auto; @@ -107,34 +107,34 @@ figure { /*MOBILE*/ @media only screen and (max-width: 1000px) { .scrollama{ - width: 100%; + width: 90%; } - .scrolly_title{ + /* .scrolly_title{ font-family: PT Sans; font-style: normal; font-weight: normal; font-size: 36px; line-height: 26px; - } + } */ #scrolly_area { /* position: relative; */ padding: 0 1rem; margin: 0 auto; /* width: 90%; */ - height: 2500px; + height: 2750px; } .step { margin: 2rem auto 4rem auto; background-color: #3b3b3b; color: #fff; - opacity: 0; + opacity: .5; /* width: 30%; */ - top: 0px; + top: 300px; float: right; - z-index: 0; + z-index: 1; } .step.is-active { @@ -146,11 +146,11 @@ figure { .step p { text-align: center; /* font-size: 1.5rem; */ - font-family: PT Sans; + /* font-family: PT Sans; font-style: normal; font-weight: normal; font-size: 20px; - line-height: 26px; + line-height: 26px; */ } .step.first { @@ -171,21 +171,21 @@ figure { position: -webkit-sticky; position: sticky; /* position: relative;*/ - top: 200px; + top: 300px; width: 100%; - /* height: 100%; */ + height: 400px; float: left; margin: 0; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); - z-index: 1; + z-index: 0; background-color: #fff; } .BudgetStopChart{ width: 100%; - z-index: 1; + z-index: 0; /* height: 500px; */ /* height: 100%; */ } diff --git a/js/posts/ucpd-budget-arrests/demographic_charges.js b/js/posts/ucpd-budget-arrests/demographic_charges.js index e1c00663c..900b53561 100644 --- a/js/posts/ucpd-budget-arrests/demographic_charges.js +++ b/js/posts/ucpd-budget-arrests/demographic_charges.js @@ -21,16 +21,12 @@ function makeChargesChart(csvData) { }; let colors = [ - '#374c80', - '#7a5195', - '#bc5090', - '#ef5675', - '#ff764a', - '#ffa600', - 'green', - 'blue', - 'light blue', - 'purple' + '#FF8311', + '#2A3C6A', + '#A1C7F3', + '#FFBA35', + '#835FA8', + '#EB548C', ]; for (let i = 0; i < 6; i++) { diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index 66f4234c5..07140bdd5 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -15,7 +15,14 @@ function handleStepEnter(response) { response.element.classList.add("is-active"); // console.log(response.index); // console.log(response.direction); - let i = response.index + // let i; + // if (window.matchMedia('(max-width: 480px)').matches){ + // i = response.index+1; + // } + // else{ + // i = response.index; + // } + let i = response.index; if(response.direction === 'down'){ if (i ===1){ makeBudgetArrests(); diff --git a/js/posts/ucpd-budget-arrests/scrolly_charts.js b/js/posts/ucpd-budget-arrests/scrolly_charts.js index 770d3c539..09dcc2f97 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_charts.js +++ b/js/posts/ucpd-budget-arrests/scrolly_charts.js @@ -4,7 +4,7 @@ const Stops=[103, 356, 389, 316, 250, 289, 276, 199]; const Arrests=[101, 309, 381, 416, 418, 481, 467, 665]; const Budget_Normalized=[136.80147, 142.23655, 154.99349, 162.81145, 167.54687, 173.55103, 202.58656, 223.75818]; const data_order = [Budget, Budget_Normalized, Arrests, Stops]; -const colors = ['Blue', 'Purple', 'Green','Pink'] +const colors = ['#FF8311', '#FF8311','#2A3C6A','#A1C7F3'] const labels = [ '2012', '2013', @@ -50,6 +50,19 @@ const options0 = { }, ], }, + tooltips: { + callbacks: { + label: function(tooltipItem, data) { + let value = tooltipItem.yLabel.toLocaleString('en-US', { + style: 'currency', + currency: 'USD', + maximumFractionDigits: 2, + }); + let label = data.datasets[tooltipItem.datasetIndex].label; + return label + ': ' + value; + }, + }, + }, } const options1 ={ @@ -106,8 +119,8 @@ const options1 ={ }); // convert value to dollar format }, min: 0, - max: 700, - stepSize: 100, + max: 70000000, + stepSize: 10000000, }, scaleLabel:{ display: true, @@ -127,6 +140,30 @@ const options1 ={ }, ], }, + tooltips: { + callbacks: { + label: function(tooltipItem, data) { + if (data.datasets[tooltipItem.datasetIndex].label === 'Budget in $100,000'){ + let val = tooltipItem.yLabel * 100000; + let value = val.toLocaleString('en-US', { + style: 'currency', + currency: 'USD', + maximumFractionDigits: 2, + }); + let label = 'Budget:'; + return label + ' ' + value; + } + else { + let value = tooltipItem.yLabel.toLocaleString('en-US', { + style: 'decimal', + maximumFractionDigits: 0, + }); + let label = data.datasets[tooltipItem.datasetIndex].label; + return label + ': ' + value; + } + }, + }, +} } @@ -193,7 +230,7 @@ function makeBudgetArrests() ); if (window.matchMedia('(max-width: 480px)').matches) { - myChart.canvas.style = 'max-height:400px'; + myChart.canvas.style = 'max-height:500px'; myChart.options.maintainAspectRatio = false; myChart.update(); } diff --git a/js/posts/ucpd-budget-arrests/stacked-barchart.js b/js/posts/ucpd-budget-arrests/stacked-barchart.js index fbd40cac9..b042cd12e 100644 --- a/js/posts/ucpd-budget-arrests/stacked-barchart.js +++ b/js/posts/ucpd-budget-arrests/stacked-barchart.js @@ -19,14 +19,14 @@ function makeChart(csvData) { }; let colors = [ - '#374c80', - '#7a5195', - '#bc5090', - '#ef5675', - '#ff764a', - '#ffa600', - 'green', - 'blue', + '#FF8311', + '#2A3C6A', + '#A1C7F3', + '#FFBA35', + '#835FA8', + '#EB548C', + '#4B13B1', + '#3FBBFF', ]; for (let i = 4; i < 12; i++) { @@ -52,9 +52,34 @@ function makeChart(csvData) { yAxes: [ { stacked: true, + ticks: { + callback: function(value) { + return value.toLocaleString('en-US', { + style: 'currency', + currency: 'USD', + minimumFractionDigits: 0, + }); // convert value to dollar format + }, + // min: 0, + // max: 700, + // stepSize: 100, + }, }, ], }, + tooltips: { + callbacks: { + label: function(tooltipItem, data) { + let value = tooltipItem.yLabel.toLocaleString('en-US', { + style: 'currency', + currency: 'USD', + maximumFractionDigits: 2, + }); + let label = data.datasets[tooltipItem.datasetIndex].label; + return label + ': ' + value; + }, + }, + }, }; let ctxBudgetBar = document.getElementById('stacked_bar'); From 5a4761dbc15830efab3224bedbc9ac47bdd3b763 Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Thu, 18 Nov 2021 11:56:18 -0800 Subject: [PATCH 39/67] changes to post --- _posts/2021-9-28-ucpd-budget-arrests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index ed4a748b3..ded0c9f91 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -53,7 +53,7 @@ scripts:

The UCPD Arrest Data was collected by the UCPD from the years 2012-2019.

-

The UCPD categorizes race through a set of code that can be found here. For the sake of compatibility with Westwood Demographic Data, the categories of “Other” and “Unknown” from UCPD data and the category “2+ Races”and “Other” from the Westwood Demographic Data have been combined into one category of “Other”.

+

The UCPD categorizes race through a set of code that can be found here. For the sake of compatibility with Westwood Demographic Data, the categories of “Other” and “Unknown” from UCPD data and the category “2+ Races”and “Other” from the Westwood Demographic Data have been combined into one category of “Other”.git

From 9fedcd224b9dcab68013929d83cef50657ff928b Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Thu, 18 Nov 2021 14:11:00 -0800 Subject: [PATCH 40/67] made changes to gridlines and size --- .../demographics-barchart.js | 59 +++++++++++++++++-- 1 file changed, 54 insertions(+), 5 deletions(-) diff --git a/js/posts/ucpd-budget-arrests/demographics-barchart.js b/js/posts/ucpd-budget-arrests/demographics-barchart.js index fa27c0cf8..fc34ab65f 100644 --- a/js/posts/ucpd-budget-arrests/demographics-barchart.js +++ b/js/posts/ucpd-budget-arrests/demographics-barchart.js @@ -20,7 +20,7 @@ var barChartRace = { backgroundColor: 'rgba(0, 177, 106, .5)', borderColor: 'rgba(0, 177, 106, 1)', borderWidth: 1, - data: [53, 3, 17, 21, 0, 5] + data: [53, 3, 17, 21, .15, 5] } ] }; @@ -35,8 +35,16 @@ var racechartOptions = { text: "Arrest Demographics by Race" }, scales: { + xAxes: [{ + gridLines: { + display: false + }, + }], yAxes: [{ display: true, + gridLines: { + display: false + }, scaleLabel: { display: true, labelString: 'Percent of Arrests', @@ -44,11 +52,22 @@ var racechartOptions = { beginAtZero: true } } - }] + }], + }, + tooltips: { + backgroundColor: 'rgba(0, 0, 0, 0)', + bodyColor: '#000000', + displayColors: false, + callbacks: { + label: function(tooltipItem, data) { + return data['labels'][tooltipItem['index']] + ': ' + data['datasets'][0]['data'][tooltipItem['index']] + '%'; + }, + }, } } + var ctxRace = document.getElementById("race_chart")//.getContext("2d"); RaceChart = new Chart(ctxRace, { type: "bar", @@ -91,16 +110,31 @@ var barChartGender = { text: "Arrest Demographics by Gender" }, scales: { + xAxes: [{ + gridLines: { + display: false + }, + }], yAxes: [{ display: true, + gridLines: { + display: false + }, scaleLabel: { display: true, labelString: 'Percent of Arrests', - ticks: { - beginAtZero: true + }, + ticks: { + beginAtZero: true + }, + }] + }, + tooltips: { + callbacks: { + label: function(tooltipItem, data) { + return data['labels'][tooltipItem['index']] + ': ' + data['datasets'][0]['data'][tooltipItem['index']] + '%'; } } - }] } } @@ -149,8 +183,16 @@ var barChartAge = { text: "Arrest Demographics by Age" }, scales: { + xAxes: [{ + gridLines: { + display: false + }, + }], yAxes: [{ display: true, + gridLines: { + display: false + }, scaleLabel: { display: true, labelString: 'Percent of Arrests', @@ -159,6 +201,13 @@ var barChartAge = { } } }] + }, + tooltips: { + callbacks: { + label: function(tooltipItem, data) { + return data['labels'][tooltipItem['index']] + ': ' + data['datasets'][0]['data'][tooltipItem['index']] + '%'; + } + } } } var ctxAge = document.getElementById("age_chart")//.getContext("2d"); From 81e2ff88754733d740239989f9f966ff4a2b5554 Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Thu, 18 Nov 2021 14:21:59 -0800 Subject: [PATCH 41/67] changing size of demographic charts --- _posts/2021-9-28-ucpd-budget-arrests.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index b028838c2..71e3d9073 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -42,13 +42,13 @@ scripts:
-
+
-
+
-
+
From 6611e33ba3f27e9b0e24a985bfd6cf0b8f4fcc75 Mon Sep 17 00:00:00 2001 From: Samantha Low Date: Thu, 18 Nov 2021 17:21:34 -0800 Subject: [PATCH 42/67] legend on side --- js/posts/ucpd-budget-arrests/stacked-barchart.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/posts/ucpd-budget-arrests/stacked-barchart.js b/js/posts/ucpd-budget-arrests/stacked-barchart.js index b042cd12e..798577859 100644 --- a/js/posts/ucpd-budget-arrests/stacked-barchart.js +++ b/js/posts/ucpd-budget-arrests/stacked-barchart.js @@ -80,6 +80,11 @@ function makeChart(csvData) { }, }, }, + legend: { + position:'right', + }, + responsive: true, + maintainAspectRatio: false, }; let ctxBudgetBar = document.getElementById('stacked_bar'); @@ -91,6 +96,7 @@ function makeChart(csvData) { if (window.matchMedia('(max-width: 480px)').matches) { StackedBar.canvas.style = 'max-height:500px'; + StackedBar.options.legend.position = 'top'; StackedBar.options.maintainAspectRatio = false; StackedBar.update(); } From b2cf87d1bec45c65afb8d709aa0336b8462c43a1 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Thu, 18 Nov 2021 17:22:13 -0800 Subject: [PATCH 43/67] mobile changes --- css/posts/ucpd-budget-arrests/scrollama.css | 8 ++++---- js/posts/ucpd-budget-arrests/scrolly.js | 6 ++++-- js/posts/ucpd-budget-arrests/stacked-barchart.js | 1 + 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/css/posts/ucpd-budget-arrests/scrollama.css b/css/posts/ucpd-budget-arrests/scrollama.css index aba7c47e9..7e7951fcd 100644 --- a/css/posts/ucpd-budget-arrests/scrollama.css +++ b/css/posts/ucpd-budget-arrests/scrollama.css @@ -160,7 +160,7 @@ figure { .step.later{ width: 100%; right: 0; - height: 300px; + height: 90vh; } .step.last{ @@ -171,15 +171,15 @@ figure { position: -webkit-sticky; position: sticky; /* position: relative;*/ - top: 300px; + top: 200px; width: 100%; - height: 400px; + /* height: 400px; */ float: left; margin: 0; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); - z-index: 0; + z-index: 1; background-color: #fff; } diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index 07140bdd5..6088bb230 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -6,7 +6,8 @@ let step = article.querySelectorAll(".step"); let figure = article.querySelectorAll(".figure"); // initialize the scrollama let scroller = scrollama(); - +let isMobile = window.matchMedia('(max-width: 480px)').matches; +console.log(isMobile) // scrollama event handlers function handleStepEnter(response) { // response = { element, direction, index } @@ -74,6 +75,7 @@ function handleStepExit(response) { } + function init() { //setupStickyfill(); // set random padding for different step heights (not required) @@ -89,7 +91,7 @@ function init() { .setup({ step: "#stick article .step", debug: true, - offset: 0.5 + offset: isMobile ? 1 : 0.5 }) .onStepEnter(handleStepEnter) .onStepExit(handleStepExit); diff --git a/js/posts/ucpd-budget-arrests/stacked-barchart.js b/js/posts/ucpd-budget-arrests/stacked-barchart.js index b042cd12e..aee3ff179 100644 --- a/js/posts/ucpd-budget-arrests/stacked-barchart.js +++ b/js/posts/ucpd-budget-arrests/stacked-barchart.js @@ -91,6 +91,7 @@ function makeChart(csvData) { if (window.matchMedia('(max-width: 480px)').matches) { StackedBar.canvas.style = 'max-height:500px'; + StackedBar.options.legend.position = 'top'; StackedBar.options.maintainAspectRatio = false; StackedBar.update(); } From 2fd7fa507cb03ed495d2bd1a671b2a26309b1afd Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Thu, 18 Nov 2021 18:57:03 -0800 Subject: [PATCH 44/67] Mostly debugged mobile version of scrolly telling --- _posts/2021-9-28-ucpd-budget-arrests.md | 4 +- css/posts/ucpd-budget-arrests/app.css | 1 + css/posts/ucpd-budget-arrests/scrollama.css | 37 ++++++++----------- js/posts/ucpd-budget-arrests/scrolly.js | 12 ++++-- .../ucpd-budget-arrests/scrolly_charts.js | 28 ++++++++------ .../ucpd-budget-arrests/stacked-barchart.js | 3 +- 6 files changed, 46 insertions(+), 39 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 71e3d9073..2175c2718 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -80,7 +80,7 @@ scripts:

Even without clear changes in policy, there have been changes to the UCPD budget over the past 10 years. For example, there has been a steady increase in UCPD’s budget with a sharper increase beginning in 2017.

-
+

In addition to an increase in funding, there have also been changes to the distribution of funds. For instance the travel budget was only $4,200 in 2012, but reached a peak of $167,482 in 2018, a 4000% increase. However, salaries and benefits still make up a majority of UCPD’s budget every year.

@@ -89,7 +89,7 @@ scripts:

In addition to increased funding, there has been an increase in arrests. The largest increase in arrests was from 2018 to 2019. [INSERT IF UCPD PROVIDES INSIGHT HERE]

-
+

As a contrast, stops have been on a downward trend since 2014. [INSERT HERE IF UCPD PROVIDES INSIGHT]

diff --git a/css/posts/ucpd-budget-arrests/app.css b/css/posts/ucpd-budget-arrests/app.css index bf35d1290..56b608d67 100644 --- a/css/posts/ucpd-budget-arrests/app.css +++ b/css/posts/ucpd-budget-arrests/app.css @@ -1,6 +1,7 @@ .caption { font-size:smaller; color:gray; + background-color: white; } .demographic_charges{ diff --git a/css/posts/ucpd-budget-arrests/scrollama.css b/css/posts/ucpd-budget-arrests/scrollama.css index 7e7951fcd..808cbe976 100644 --- a/css/posts/ucpd-budget-arrests/scrollama.css +++ b/css/posts/ucpd-budget-arrests/scrollama.css @@ -110,20 +110,12 @@ figure { width: 90%; } - /* .scrolly_title{ - font-family: PT Sans; - font-style: normal; - font-weight: normal; - font-size: 36px; - line-height: 26px; - } */ - #scrolly_area { /* position: relative; */ padding: 0 1rem; margin: 0 auto; /* width: 90%; */ - height: 2750px; + height: 340vh; } .step { @@ -132,9 +124,9 @@ figure { color: #fff; opacity: .5; /* width: 30%; */ - top: 300px; + /* top: 300px; */ float: right; - z-index: 1; + z-index: 0; } .step.is-active { @@ -145,25 +137,24 @@ figure { .step p { text-align: center; - /* font-size: 1.5rem; */ - /* font-family: PT Sans; - font-style: normal; - font-weight: normal; - font-size: 20px; - line-height: 26px; */ } .step.first { width: 100% } + + .step.bars{ + height: 90vh; + } .step.later{ width: 100%; right: 0; - height: 90vh; + /* height: 30vh; */ } .step.last{ + height: 50vh; width: 100% } @@ -171,7 +162,7 @@ figure { position: -webkit-sticky; position: sticky; /* position: relative;*/ - top: 200px; + top: 30vh; width: 100%; /* height: 400px; */ float: left; @@ -183,11 +174,15 @@ figure { background-color: #fff; } - .BudgetStopChart{ + /* #myChart{ width: 100%; z-index: 0; + height: 500px; /* height: 500px; */ /* height: 100%; */ + /* } */ + .BudgetStopChart{ + height: 40vh; } #stick { @@ -197,7 +192,7 @@ figure { padding: 0 1rem; margin: 0 auto; /* width: 90%; */ - height: 2000px; + height: 550vh; } #myChart{ diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index 6088bb230..ad2dcca9d 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -34,7 +34,9 @@ function handleStepEnter(response) { removeData(); //myChart.destroy(); //document.getElementById('myChart').id = 'stacked_bar'; - document.getElementById('BudgetStop').innerHTML = `

UCPD’s annual budget from 2012 to 2019 was acquired through a CPRA. Values are given for fiscal years. The 2018-2019 data is a proposed budget, not yet approved.

` + document.getElementById('BudgetStop').className = "BudgetBar"; + document.getElementById('BudgetStop').innerHTML = ` +

UCPD’s annual budget from 2012 to 2019 was acquired through a CPRA. Values are given for fiscal years. The 2018-2019 data is a proposed budget, not yet approved.

`; d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); //myChart = StackedBar //ChangeBar(); @@ -42,7 +44,9 @@ function handleStepEnter(response) { else if (i === 3){ //ChangeLine(); //StackedBar.destroy(); - document.getElementById('BudgetStop').innerHTML = '

The budget values shown here are per $100,000 to match them to the scale of stops and arrests for easier comparison. Stop and arrest data was collected via CPRA submitted to UCPD.

' + document.getElementById('BudgetStop').className = "BudgetStopChart"; + document.getElementById('BudgetStop').innerHTML = ` +

The budget values shown here are per $100,000 to match them to the scale of stops and arrests for easier comparison. Stop and arrest data was collected via CPRA submitted to UCPD.

`; // myChart = new Chart(ctx, { // type: 'line', // data: data, @@ -90,8 +94,8 @@ function init() { scroller .setup({ step: "#stick article .step", - debug: true, - offset: isMobile ? 1 : 0.5 + debug: false, + offset: isMobile ? .3 : 0.5 }) .onStepEnter(handleStepEnter) .onStepExit(handleStepExit); diff --git a/js/posts/ucpd-budget-arrests/scrolly_charts.js b/js/posts/ucpd-budget-arrests/scrolly_charts.js index 09dcc2f97..58dd4d88e 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_charts.js +++ b/js/posts/ucpd-budget-arrests/scrolly_charts.js @@ -63,6 +63,8 @@ const options0 = { }, }, }, + responsive: true, + maintainAspectRatio: false, } const options1 ={ @@ -161,9 +163,11 @@ const options1 ={ let label = data.datasets[tooltipItem.datasetIndex].label; return label + ': ' + value; } + }, }, }, -} + responsive: true, + maintainAspectRatio: false, } @@ -208,16 +212,16 @@ function removeData(){ data.datasets.pop(); } -function ChangeBar(){ - document.getElementById('myChart').id = 'stacked_bar' - d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); -} +// function ChangeBar(){ +// document.getElementById('myChart').id = 'stacked_bar' +// d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); +// } -function ChangeLine(){ - document.getElementById('stacked_bar').id = 'myChart'; - StackedBar.destroy(); - myChart.update(); -} +// function ChangeLine(){ +// document.getElementById('stacked_bar').id = 'myChart'; +// StackedBar.destroy(); +// myChart.update(); +// } let myChart; function makeBudgetArrests() { @@ -230,8 +234,10 @@ function makeBudgetArrests() ); if (window.matchMedia('(max-width: 480px)').matches) { - myChart.canvas.style = 'max-height:500px'; + //myChart.canvas.height = .5*window.innerHeight -2 ; myChart.options.maintainAspectRatio = false; + myChart.options.animation = false; + //myChart.options. myChart.update(); } } diff --git a/js/posts/ucpd-budget-arrests/stacked-barchart.js b/js/posts/ucpd-budget-arrests/stacked-barchart.js index 798577859..ebf0f138c 100644 --- a/js/posts/ucpd-budget-arrests/stacked-barchart.js +++ b/js/posts/ucpd-budget-arrests/stacked-barchart.js @@ -95,8 +95,9 @@ function makeChart(csvData) { }); if (window.matchMedia('(max-width: 480px)').matches) { - StackedBar.canvas.style = 'max-height:500px'; + StackedBar.canvas.style = 'max-height:450px'; StackedBar.options.legend.position = 'top'; + //StackedBar.options.legend.labels.fontSize = '20'; StackedBar.options.maintainAspectRatio = false; StackedBar.update(); } From d6be93c5c9462d98e7590a18573399be2b7374c6 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Thu, 18 Nov 2021 22:16:39 -0800 Subject: [PATCH 45/67] fixed some bugs from mobile adjustments --- _posts/2021-9-28-ucpd-budget-arrests.md | 2 +- css/posts/ucpd-budget-arrests/scrollama.css | 6 +++--- js/posts/ucpd-budget-arrests/scrolly.js | 13 ++++++++++++- js/posts/ucpd-budget-arrests/stacked-barchart.js | 6 +++--- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 2175c2718..6b86953e4 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -89,7 +89,7 @@ scripts:

In addition to increased funding, there has been an increase in arrests. The largest increase in arrests was from 2018 to 2019. [INSERT IF UCPD PROVIDES INSIGHT HERE]

-
+

As a contrast, stops have been on a downward trend since 2014. [INSERT HERE IF UCPD PROVIDES INSIGHT]

diff --git a/css/posts/ucpd-budget-arrests/scrollama.css b/css/posts/ucpd-budget-arrests/scrollama.css index 808cbe976..c0fe526ca 100644 --- a/css/posts/ucpd-budget-arrests/scrollama.css +++ b/css/posts/ucpd-budget-arrests/scrollama.css @@ -56,7 +56,7 @@ line-height: 26px; width: 100% } -.step.later{ +.step.bars, .step.penult, .step.later{ width: 30%; right: 0; height: 300px; @@ -80,7 +80,7 @@ figure { /* background-color: #8a8a8a; */ } -.BudgetStopChart{ +.BudgetBar, .BudgetStopChart{ position: -webkit-sticky; position: sticky; top: 25%; @@ -153,7 +153,7 @@ figure { /* height: 30vh; */ } - .step.last{ + .step.penult, .step.last{ height: 50vh; width: 100% } diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index ad2dcca9d..f6b15075f 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -105,4 +105,15 @@ function init() { } // kick things off -init(); \ No newline at end of file +init(); + +// ${isMobile ? `
+//
Salary and Benefits
+//
Eqiupment (Non Computer)
+//
Materials
+//
Information Technology
+//
Communication
+//
Travel
+//
General
+//
Maintenance and Repair
+ //
`: ''} \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/stacked-barchart.js b/js/posts/ucpd-budget-arrests/stacked-barchart.js index ebf0f138c..4307ffbe7 100644 --- a/js/posts/ucpd-budget-arrests/stacked-barchart.js +++ b/js/posts/ucpd-budget-arrests/stacked-barchart.js @@ -18,7 +18,7 @@ function makeChart(csvData) { datasets: [], }; - let colors = [ + let budget_colors = [ '#FF8311', '#2A3C6A', '#A1C7F3', @@ -33,8 +33,8 @@ function makeChart(csvData) { data.datasets.push({ label: csvData[i].Category, data: Object.values(csvData[i]).slice(1), - backgroundColor: colors[i - 4], - borderColor: colors[i - 4], + backgroundColor: budget_colors[i - 4], + borderColor: budget_colors[i - 4], }); } From 8cd408f9e1884494926dd5a5e764c9b6157b04eb Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Sun, 21 Nov 2021 22:20:41 -0800 Subject: [PATCH 46/67] stuff --- _posts/2021-9-28-ucpd-budget-arrests.md | 11 +++++ demographics-piechart.js | 49 ------------------- .../demographics-barchart.js | 10 ---- 3 files changed, 11 insertions(+), 59 deletions(-) delete mode 100644 demographics-piechart.js diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 71e3d9073..1020563aa 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -45,12 +45,23 @@ scripts:
+ +

+ When comparing the demographics of the arrest data to the demographics of Westwood as a whole, there are a number of findings worth noting. First, Black and American Indian groups had the most disprortionate rates of arrest. On the other hand, Hispanic and White groups had the least disproportionate arrest rates. +

+
+

+ When observing arrest rates by gender, men make up a disproportionate amount of the arrests (80%) despite only being around half the population in westwoood. +

+
+

+ When looking at arrest rates by age, we find the least variation between the demographic of rates and the demographics of Westwood, in comparison to the previous two graphs. Arrest rates vs Westwood demographics are generally proportionate, with the 30-39 age range having the largest difference. THe age range of 10-19 was excluded from this analysis since a majority of the age range is not subject to arrests and reports.

diff --git a/demographics-piechart.js b/demographics-piechart.js deleted file mode 100644 index 204d1ba1a..000000000 --- a/demographics-piechart.js +++ /dev/null @@ -1,49 +0,0 @@ -anychart.onDocumentReady(function() { -// set the data - var ArrestRaceDemographics = [ - {x: "White", value: 1163}, - {x: "Black or African American", value: 1012}, - {x: "Hispanic", value: 708}, - {x: "Asian and Pacific Islander", value: 126}, - {x: "American Indian and Alaska Native", value: 5}, - {x: "Other", value: 221}, - {x: "Uknown", value: 0} -]; - -// create the chart -var racechart = anychart.pie(); - -// set the chart title -chart.title("Arrests by Race"); - -// add the data -chart.data(data); - -// display the chart in the container -chart.container('container'); -chart.draw(); - -}); - -anychart.onDocumentReady(function() { - // set the data - var ArrestGenderDemographics = [ - {x: "Female", value: 388}, - {x: "Male", value: 2850}, - {x: "Other", value: 0}, - ]; - - // create the chart - var genderchart = anychart.pie(); - - // set the chart title - chart.title("Arrests by Gender"); - - // add the data - chart.data(data); - - // display the chart in the container - chart.container('container'); - chart.draw(); - - }); \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/demographics-barchart.js b/js/posts/ucpd-budget-arrests/demographics-barchart.js index fc34ab65f..fddcafd49 100644 --- a/js/posts/ucpd-budget-arrests/demographics-barchart.js +++ b/js/posts/ucpd-budget-arrests/demographics-barchart.js @@ -54,17 +54,7 @@ var racechartOptions = { } }], }, - tooltips: { - backgroundColor: 'rgba(0, 0, 0, 0)', - bodyColor: '#000000', - displayColors: false, - callbacks: { - label: function(tooltipItem, data) { - return data['labels'][tooltipItem['index']] + ': ' + data['datasets'][0]['data'][tooltipItem['index']] + '%'; - }, - }, } -} From d438b452bb46bfb9d497ddfd484727813c92bc3c Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Mon, 22 Nov 2021 00:20:06 -0800 Subject: [PATCH 47/67] writing --- _posts/2021-9-28-ucpd-budget-arrests.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 3e72aa65d..a930506dc 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -9,7 +9,7 @@ authors: - samantha_low - vivian_luk key_takeaways: - - + - featured_image: url: og_image: @@ -38,6 +38,11 @@ scripts: - /js/posts/ucpd-budget-arrests/bail-violin.js --- + +

Over the past two years, a number of national events have shed light on the state of police departments all over the country. During May of 2020 all the way through August, there were a number of protests, both at UCLA and in California, calling for the reform and abolition of police departments across the nation. Protests that occurred on UCLA’s campus were centered around the UCPD (University of California Police Department) and their involvement in student affairs and Westwood as a whole. Protests also criticized the amount of money going towards UCPD and how it has been spent in recent years.

+ +

Previous analyses of police departments by UCLA include Million Dollar Hood’s reports on LAPD and incarceration in Los Angeles. The Stack published an article in 2018 regarding the demographics of stops and arrests by UCPD in Westwood, which can be found here. In this article we wanted to focus on not only the demographics of arrests, the distribution of the budget over the past decade, and the timeline of UCPD and it’s policies as a whole.

+
From 59e96274b9e5120eb66f99329617b3bf557d8086 Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Mon, 22 Nov 2021 00:32:57 -0800 Subject: [PATCH 48/67] added more writing --- _posts/2021-9-28-ucpd-budget-arrests.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index a930506dc..8efe93942 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -41,12 +41,18 @@ scripts:

Over the past two years, a number of national events have shed light on the state of police departments all over the country. During May of 2020 all the way through August, there were a number of protests, both at UCLA and in California, calling for the reform and abolition of police departments across the nation. Protests that occurred on UCLA’s campus were centered around the UCPD (University of California Police Department) and their involvement in student affairs and Westwood as a whole. Protests also criticized the amount of money going towards UCPD and how it has been spent in recent years.

-

Previous analyses of police departments by UCLA include Million Dollar Hood’s reports on LAPD and incarceration in Los Angeles. The Stack published an article in 2018 regarding the demographics of stops and arrests by UCPD in Westwood, which can be found here. In this article we wanted to focus on not only the demographics of arrests, the distribution of the budget over the past decade, and the timeline of UCPD and it’s policies as a whole.

+

Previous analyses of police departments by UCLA include Million Dollar Hood’s reports on LAPD and incarceration in Los Angeles. The Stack published an article in 2018 regarding the demographics of stops and arrests by UCPD in Westwood, which can be found here. While both sources are incredibly insightful we wanted to expand on the depth of the data and analyses while honing in on UCPD and their impact on Westwood and UCLA specifically.

+ +

In this article we wanted to focus on not only on the arrests but the demographic via race, gender, and age. We also took an in-depth look at the type of arrests and the bail as well. Beyond arrests we also analyzed the distribution of the budget over the past decade, and the timeline of UCPD and it’s policies as a whole. The article aims to provide a holisitc and longitudinal overview of UCPD's history and practices at UCLA.

+

Arrest Demographics + +

Many critics of the UCPD often cited bias and discrimination as major issues within the police department, especially in terms of treatment of individuals and rates of arrests and stops for certain demographics. While data on treatment of individuals is not readily or easily available, we can look to the demographic of arrests to see if there are disproportionate rates of of arrest for certain demographics.

+
From 3703d94524593f64f073d554c5b508646fe46c42 Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Mon, 22 Nov 2021 00:33:47 -0800 Subject: [PATCH 49/67] minor writing edits --- _posts/2021-9-28-ucpd-budget-arrests.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 8efe93942..ea7f0628a 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -49,7 +49,7 @@ scripts:

-

Arrest Demographics +

Arrest Demographics

Many critics of the UCPD often cited bias and discrimination as major issues within the police department, especially in terms of treatment of individuals and rates of arrests and stops for certain demographics. While data on treatment of individuals is not readily or easily available, we can look to the demographic of arrests to see if there are disproportionate rates of of arrest for certain demographics.

@@ -80,6 +80,7 @@ scripts:

About the Data

+

The Westwood Demographic Data was collected by censusreporter.org from the ACS 2019 1-year census.

The UCPD Arrest Data was collected by the UCPD from the years 2012-2019.

From 82227849704cef1d9f2b5ff7272c7d204f8eca3b Mon Sep 17 00:00:00 2001 From: Samantha Low Date: Mon, 22 Nov 2021 13:53:27 -0800 Subject: [PATCH 50/67] css progress --- _posts/2021-9-28-ucpd-budget-arrests.md | 6 ++-- css/posts/ucpd-budget-arrests/app.css | 41 +++++++++++++++++++++++-- 2 files changed, 42 insertions(+), 5 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 71e3d9073..40246b1ab 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -42,13 +42,13 @@ scripts:
-
+
-
+
-
+
diff --git a/css/posts/ucpd-budget-arrests/app.css b/css/posts/ucpd-budget-arrests/app.css index bf35d1290..d76a3c098 100644 --- a/css/posts/ucpd-budget-arrests/app.css +++ b/css/posts/ucpd-budget-arrests/app.css @@ -1,8 +1,45 @@ -.caption { + + + + /* DESKTOP SETTINGS */ +#caption { font-size:smaller; color:gray; } - +#race_chart { + width: 70%; + height: 500px; +} .demographic_charges{ width: 70%; +} +.raceclass{ + width: 95%; + height: 90%; +} + + + +/* DESKTOP SETTINGS +@media only screen and (min-width: 1000px) { + + } +*/ +/* MOBILE SETTINGS */ +@media only screen and (max-width: 1000px) { + #race_chart{ + width: 100%; + height: 400px; + + } + #gender_chart{ + width: 95%; + height: 400px; + } + #age_chart{ + width: 95%; + height: 400px; + + } + } \ No newline at end of file From 21104d359953ca1647baa4e6ba07d926dc8dfbfa Mon Sep 17 00:00:00 2001 From: Samantha Low Date: Mon, 22 Nov 2021 15:48:51 -0800 Subject: [PATCH 51/67] css for age,race, gender mobile --- _posts/2021-9-28-ucpd-budget-arrests.md | 17 ++---- css/posts/ucpd-budget-arrests/app.css | 53 ++++++++++--------- js/posts/ucpd-budget-arrests/bail-barchart.js | 8 ++- .../demographic_charges.js | 1 + .../demographics-barchart.js | 25 +++++++-- 5 files changed, 64 insertions(+), 40 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 7ed6eeaee..82d660fd5 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -45,22 +45,15 @@ scripts:

In this article we wanted to focus on not only on the arrests but the demographic via race, gender, and age. We also took an in-depth look at the type of arrests and the bail as well. Beyond arrests we also analyzed the distribution of the budget over the past decade, and the timeline of UCPD and it’s policies as a whole. The article aims to provide a holisitc and longitudinal overview of UCPD's history and practices at UCLA.

-
- -
-
- -
-
- -
+ +

Arrest Demographics

Many critics of the UCPD often cited bias and discrimination as major issues within the police department, especially in terms of treatment of individuals and rates of arrests and stops for certain demographics. While data on treatment of individuals is not readily or easily available, we can look to the demographic of arrests to see if there are disproportionate rates of of arrest for certain demographics.

-
+
@@ -68,14 +61,14 @@ scripts: When comparing the demographics of the arrest data to the demographics of Westwood as a whole, there are a number of findings worth noting. First, Black and American Indian groups had the most disprortionate rates of arrest. On the other hand, Hispanic and White groups had the least disproportionate arrest rates.

-
+

When observing arrest rates by gender, men make up a disproportionate amount of the arrests (80%) despite only being around half the population in westwoood.

-
+

diff --git a/css/posts/ucpd-budget-arrests/app.css b/css/posts/ucpd-budget-arrests/app.css index 066e6f2fd..406b8e197 100644 --- a/css/posts/ucpd-budget-arrests/app.css +++ b/css/posts/ucpd-budget-arrests/app.css @@ -1,46 +1,51 @@ - /* DESKTOP SETTINGS */ -#caption { - font-size:smaller; - color:gray; - background-color: white; -} -#race_chart { - width: 70%; - height: 500px; -} -.demographic_charges{ - width: 70%; -} -.raceclass{ - width: 95%; - height: 90%; -} - +/* DESKTOP SETTINGS */ -/* DESKTOP SETTINGS @media only screen and (min-width: 1000px) { + + #caption { + font-size:smaller; + color:gray; + background-color: white; + } + /*.raceclass{ + float: right; + width: 50%; + height: 200%; + + } + .genderclass{ + float: left; + width: 50%; + height: 600px; + }*/ + - } -*/ -/* MOBILE SETTINGS */ +} + + + @media only screen and (max-width: 1000px) { #race_chart{ - width: 100%; + width: 95%; height: 400px; } #gender_chart{ width: 95%; - height: 400px; + height: 300px; } #age_chart{ width: 95%; height: 400px; } + #demographic_charges { + width: 95%; + height: 400px; + } } \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/bail-barchart.js b/js/posts/ucpd-budget-arrests/bail-barchart.js index f5870f8fd..122b6ea12 100644 --- a/js/posts/ucpd-budget-arrests/bail-barchart.js +++ b/js/posts/ucpd-budget-arrests/bail-barchart.js @@ -36,4 +36,10 @@ var barChart = new Chart(densityCanvas, { ], datasets: [densityData], }, -}); +}) + +if (window.matchMedia('(max-width: 480px)').matches) { + barChart.canvas.style = 'max-height:500px'; + barChart.options.maintainAspectRatio = false; + barChart.update(); +};; diff --git a/js/posts/ucpd-budget-arrests/demographic_charges.js b/js/posts/ucpd-budget-arrests/demographic_charges.js index 900b53561..9d8c1ae14 100644 --- a/js/posts/ucpd-budget-arrests/demographic_charges.js +++ b/js/posts/ucpd-budget-arrests/demographic_charges.js @@ -19,6 +19,7 @@ function makeChargesChart(csvData) { ], datasets: [], }; + let colors = [ '#FF8311', diff --git a/js/posts/ucpd-budget-arrests/demographics-barchart.js b/js/posts/ucpd-budget-arrests/demographics-barchart.js index fddcafd49..ccf8b7fdd 100644 --- a/js/posts/ucpd-budget-arrests/demographics-barchart.js +++ b/js/posts/ucpd-budget-arrests/demographics-barchart.js @@ -63,7 +63,13 @@ RaceChart = new Chart(ctxRace, { type: "bar", data: barChartRace, options: racechartOptions -}); +}) + +if (window.matchMedia('(max-width: 480px)').matches) { + RaceChart.canvas.style = 'max-height:500px'; + RaceChart.options.maintainAspectRatio = false; + RaceChart.update(); +}; // Gender Chart @@ -133,7 +139,15 @@ GenderChart = new Chart(ctxGender, { type: "bar", data: barChartGender, options: genderchartOptions -}); + + +}) + +if (window.matchMedia('(max-width: 480px)').matches) { + GenderChart.canvas.style = 'max-height:500px'; + GenderChart.options.maintainAspectRatio = false; + GenderChart.update(); +};; // Age Chart var barChartAge = { @@ -205,4 +219,9 @@ AgeChart = new Chart(ctxAge, { type: "bar", data: barChartAge, options: agechartOptions - }); \ No newline at end of file + }) +if (window.matchMedia('(max-width: 480px)').matches) { + AgeChart.canvas.style = 'max-height:500px'; + AgeChart.options.maintainAspectRatio = false; + AgeChart.update(); +};; \ No newline at end of file From ff50250e573047ca2df65b042150af70445fe1b3 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Tue, 4 Jan 2022 10:42:44 -0700 Subject: [PATCH 52/67] made updates to the mobile legend for scrolly telling barchart --- css/posts/ucpd-budget-arrests/scrollama.css | 17 +++++++++- .../ucpd-budget-arrests/budget-mobile.csv | 14 +++++++++ js/posts/ucpd-budget-arrests/scrolly.js | 31 +++++++++++-------- 3 files changed, 48 insertions(+), 14 deletions(-) create mode 100644 datasets/ucpd-budget-arrests/budget-mobile.csv diff --git a/css/posts/ucpd-budget-arrests/scrollama.css b/css/posts/ucpd-budget-arrests/scrollama.css index c0fe526ca..e271ba970 100644 --- a/css/posts/ucpd-budget-arrests/scrollama.css +++ b/css/posts/ucpd-budget-arrests/scrollama.css @@ -198,4 +198,19 @@ figure { #myChart{ width: 100%; } - } \ No newline at end of file + + .custom-legend{ + height: 100px; + } + .legend-marker { + border: solid #000; + border-width: 1px; + display: inline-block; + width: 1em; + line-height: 0.6em; + margin: 0.5em; + } + .legend-label { + display: inline-block; + } +} \ No newline at end of file diff --git a/datasets/ucpd-budget-arrests/budget-mobile.csv b/datasets/ucpd-budget-arrests/budget-mobile.csv new file mode 100644 index 000000000..5bec24687 --- /dev/null +++ b/datasets/ucpd-budget-arrests/budget-mobile.csv @@ -0,0 +1,14 @@ +Category,FY 12-13,FY 13-14,FY 14-15,FY 15-16,FY 16-17,FY 17-18,FY 18-19,FY 19-20 (Approved but not actual) +General Fund,7840865,7722073,8046263,8186976,9083123,9588346,10599092,11013550 +Recharge Income,5513091,5875011,6963650,7079707,7345486,8836374,9757757,10226587 +External Income,623623,595886,617552,592293,641527,422145,519271,423235 +Total Resources,13977579,14192970,15627465,15858976,17070136,18846865,20876120,21663372 +Salary,11726441,12346141,12950229,13852782,14007650,14438587,16759251,18854074 +Equipment,160467,147010,189222,115419,112443,142193,212482,134500 +Materials,226625,162000,311450,312919,270716,368327,360096,422300 +Technology,134502,160546,224457,236766,223329,149888,158209,656237 +Communication,183507,196138,165065,162008,187145,167834,165444,194656 +Travel,4200,14890,113256,119757,139789,152410,167842,144300 +General,1220054,1178430,1535226,1468688,1812296,1935364,2397924,1963751 +Maintenance,24351,18500,10444,12806,1319,500,37408,6000 +Total Expenses,13680147,14223655,15499349,16281145,16754687,17355103,20258656,22375818 \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index f6b15075f..ee15c6527 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -7,7 +7,11 @@ let figure = article.querySelectorAll(".figure"); // initialize the scrollama let scroller = scrollama(); let isMobile = window.matchMedia('(max-width: 480px)').matches; -console.log(isMobile) +//console.log(isMobile) +let budget_csv = '/datasets/ucpd-budget-arrests/ucla-pd-budget.csv' +if (isMobile){ + budget_csv = '/datasets/ucpd-budget-arrests/budget-mobile.csv' +} // scrollama event handlers function handleStepEnter(response) { // response = { element, direction, index } @@ -35,9 +39,10 @@ function handleStepEnter(response) { //myChart.destroy(); //document.getElementById('myChart').id = 'stacked_bar'; document.getElementById('BudgetStop').className = "BudgetBar"; - document.getElementById('BudgetStop').innerHTML = ` + document.getElementById('BudgetStop').innerHTML = ` +

UCPD’s annual budget from 2012 to 2019 was acquired through a CPRA. Values are given for fiscal years. The 2018-2019 data is a proposed budget, not yet approved.

`; - d3.csv('/datasets/ucpd-budget-arrests/ucla-pd-budget.csv').then(makeChart); + d3.csv(budget_csv).then(makeChart); //myChart = StackedBar //ChangeBar(); } @@ -107,13 +112,13 @@ function init() { // kick things off init(); -// ${isMobile ? `
-//
Salary and Benefits
-//
Eqiupment (Non Computer)
-//
Materials
-//
Information Technology
-//
Communication
-//
Travel
-//
General
-//
Maintenance and Repair
- //
`: ''} \ No newline at end of file +{/*
+
Salary and Benefits
+
Eqiupment (Non Computer)
+
Materials
+
Information Technology
+
Communication
+
Travel
+
General
+
Maintenance and Repair
+
*/} \ No newline at end of file From 665b87c4a6920279c7164138093b51c63b030f2d Mon Sep 17 00:00:00 2001 From: Priya Kanneboyina Date: Fri, 14 Jan 2022 13:32:28 -0800 Subject: [PATCH 53/67] making barcharts smaller --- .../ucpd-budget-arrests/demographics-barchart.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/js/posts/ucpd-budget-arrests/demographics-barchart.js b/js/posts/ucpd-budget-arrests/demographics-barchart.js index ccf8b7fdd..c625105d4 100644 --- a/js/posts/ucpd-budget-arrests/demographics-barchart.js +++ b/js/posts/ucpd-budget-arrests/demographics-barchart.js @@ -65,8 +65,8 @@ RaceChart = new Chart(ctxRace, { options: racechartOptions }) -if (window.matchMedia('(max-width: 480px)').matches) { - RaceChart.canvas.style = 'max-height:500px'; +if (window.matchMedia('(max-width: 384px)').matches) { + RaceChart.canvas.style = 'max-height:400px'; RaceChart.options.maintainAspectRatio = false; RaceChart.update(); }; @@ -143,8 +143,8 @@ GenderChart = new Chart(ctxGender, { }) -if (window.matchMedia('(max-width: 480px)').matches) { - GenderChart.canvas.style = 'max-height:500px'; +if (window.matchMedia('(max-width: 384px)').matches) { + GenderChart.canvas.style = 'max-height:400px'; GenderChart.options.maintainAspectRatio = false; GenderChart.update(); };; @@ -220,8 +220,8 @@ AgeChart = new Chart(ctxAge, { data: barChartAge, options: agechartOptions }) -if (window.matchMedia('(max-width: 480px)').matches) { - AgeChart.canvas.style = 'max-height:500px'; +if (window.matchMedia('(max-width: 384px)').matches) { + AgeChart.canvas.style = 'max-height:400px'; AgeChart.options.maintainAspectRatio = false; AgeChart.update(); };; \ No newline at end of file From 3566d0992a97050c7042cece21836f82dfa8c217 Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Fri, 14 Jan 2022 16:46:49 -0800 Subject: [PATCH 54/67] one style and also dropdown --- _posts/2021-9-28-ucpd-budget-arrests.md | 6 ++++++ js/posts/ucpd-budget-arrests/bail-violin.js | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 82d660fd5..a7547cecc 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -126,4 +126,10 @@ scripts:
+
diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js index f19e037a3..e3f30732c 100644 --- a/js/posts/ucpd-budget-arrests/bail-violin.js +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -25,7 +25,8 @@ function update_bail_data(data) { meanline: { visible: true }, - x0: "Total Bill" + x0: "Total Bill", + hoverinfo='skip' }] var layout = { @@ -66,7 +67,8 @@ function update_bail_data(data) { meanline: { visible: true }, - x0: "Total Bill" + x0: "Total Bill", + hoverinfo='skip' }] var layout = { From 9dadca67426122e6d3e47f2d00e1c9921982e141 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Fri, 14 Jan 2022 18:11:27 -0800 Subject: [PATCH 55/67] in progress mobile work --- css/posts/ucpd-budget-arrests/extra.css | 110 +++++++++++++++++- css/posts/ucpd-budget-arrests/scrollama.css | 45 +------ js/posts/ucpd-budget-arrests/scrolly.js | 44 +++---- .../ucpd-budget-arrests/scrolly_charts.js | 2 +- 4 files changed, 131 insertions(+), 70 deletions(-) diff --git a/css/posts/ucpd-budget-arrests/extra.css b/css/posts/ucpd-budget-arrests/extra.css index 761d6b86c..6851f471d 100644 --- a/css/posts/ucpd-budget-arrests/extra.css +++ b/css/posts/ucpd-budget-arrests/extra.css @@ -61,4 +61,112 @@ #myChart{ width: 100%; } -} \ No newline at end of file +} + +.scrollama{ + width: 90%; +} + +#scrolly_area { +/* position: relative; */ +padding: 0 1rem; +margin: 0 auto; +/* width: 90%; */ +height: 340vh; +} + +.step { +margin: 2rem auto 4rem auto; +background-color: #3b3b3b; +color: #fff; +opacity: .5; +/* width: 30%; */ +/* top: 300px; */ +float: right; +z-index: 0; +} + +.step.is-active { +background-color: #3b3b3b; +color: #fff; +opacity: 1; +} + +.step p { +text-align: center; +} + +.step.first { + width: 100% +} + +.step.bars{ + height: 90vh; +} + +.step.later{ + width: 100%; + right: 0; + /* height: 30vh; */ +} + +.step.penult, .step.last{ + height: 50vh; + width: 100% +} + +figure { + position: -webkit-sticky; + position: sticky; + /* position: relative;*/ + top: 30vh; + width: 100%; + /* height: 400px; */ + float: left; + margin: 0; + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + z-index: 1; + background-color: #fff; +} + +/* #myChart{ + width: 100%; + z-index: 0; + height: 500px; + /* height: 500px; */ + /* height: 100%; */ +/* } */ +.BudgetStopChart{ + height: 40vh; +} + +#stick { + /* height: 4000px; */ + width: 100%; + position: relative; + padding: 0 1rem; + margin: 0 auto; + /* width: 90%; */ + height: 550vh; +} + +#myChart{ + width: 100%; +} + +/* .custom-legend{ + height: 100px; +} +.legend-marker { + border: solid #000; + border-width: 1px; + display: inline-block; + width: 1em; + line-height: 0.6em; + margin: 0.5em; +} +.legend-label { + display: inline-block; +} */ \ No newline at end of file diff --git a/css/posts/ucpd-budget-arrests/scrollama.css b/css/posts/ucpd-budget-arrests/scrollama.css index e271ba970..5a0dafd0b 100644 --- a/css/posts/ucpd-budget-arrests/scrollama.css +++ b/css/posts/ucpd-budget-arrests/scrollama.css @@ -6,32 +6,17 @@ width: 100%; } -/* .scrolly_title{ - font-family: PT Sans; - font-style: normal; - font-weight: normal; - font-size: 36px; - line-height: 26px; -} */ - #scrolly_area { -/* position: relative; */ padding: 0 1rem; margin: 0 auto; -/* width: 90%; */ height: 2000px; } -/* #outro{ - width: 100%; -} */ - .step { margin: 2rem auto 4rem auto; background-color: #3b3b3b; color: #fff; opacity: .5; -/* width: 30%; */ top: 20px; float: right; } @@ -44,7 +29,6 @@ opacity: 1; .step p { text-align: center; -/* font-size: 1.5rem; */ font-family: PT Sans; font-style: normal; font-weight: normal; @@ -67,9 +51,6 @@ line-height: 26px; } figure { - - /* position: relative; - top: 400px; */ width: 60%; height: 100%; float: left; @@ -77,32 +58,28 @@ figure { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); - /* background-color: #8a8a8a; */ } .BudgetBar, .BudgetStopChart{ position: -webkit-sticky; position: sticky; - top: 25%; + top: 13%; width: 100%; height: 500px; - /* height: 100%; */ } #stick { - /* height: 4000px; */ width: 100%; position: relative; padding: 0 1rem; margin: 0 auto; - /* width: 90%; */ height: 2000px; } #myChart{ width: 100%; } -} +} /*MOBILE*/ @media only screen and (max-width: 1000px) { @@ -198,19 +175,7 @@ figure { #myChart{ width: 100%; } - - .custom-legend{ - height: 100px; - } - .legend-marker { - border: solid #000; - border-width: 1px; - display: inline-block; - width: 1em; - line-height: 0.6em; - margin: 0.5em; - } - .legend-label { - display: inline-block; - } + /* .BudgetBar, .BudgetStopChart{ + height: 30vh; + } */ } \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index ee15c6527..621e07a34 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -7,33 +7,29 @@ let figure = article.querySelectorAll(".figure"); // initialize the scrollama let scroller = scrollama(); let isMobile = window.matchMedia('(max-width: 480px)').matches; -//console.log(isMobile) +console.log(isMobile) let budget_csv = '/datasets/ucpd-budget-arrests/ucla-pd-budget.csv' if (isMobile){ budget_csv = '/datasets/ucpd-budget-arrests/budget-mobile.csv' } + // scrollama event handlers function handleStepEnter(response) { - // response = { element, direction, index } - // console.log(response); + //response = { element, direction, index } + console.log(response); // add to color to current step response.element.classList.add("is-active"); - // console.log(response.index); - // console.log(response.direction); - // let i; - // if (window.matchMedia('(max-width: 480px)').matches){ - // i = response.index+1; - // } - // else{ - // i = response.index; - // } + let i = response.index; + //When scrolling down the page if(response.direction === 'down'){ + //First Step if (i ===1){ makeBudgetArrests(); addData(0); changeOptions(0); } + //Second Step else if (i === 2){ removeData(); //myChart.destroy(); @@ -46,6 +42,7 @@ function handleStepEnter(response) { //myChart = StackedBar //ChangeBar(); } + //3rd sted else if (i === 3){ //ChangeLine(); //StackedBar.destroy(); @@ -62,15 +59,17 @@ function handleStepEnter(response) { changeOptions(1); addData(1); } + //4th Step else if (i ===4) { addData(2); } + //5th Step else if (i===5){ addData(3) } } } - //console.log(response.element.attributes.data-step.value); + function handleStepExit(response) { // response = { element, direction, index } @@ -99,8 +98,8 @@ function init() { scroller .setup({ step: "#stick article .step", - debug: false, - offset: isMobile ? .3 : 0.5 + debug: true, + offset: 0.3 }) .onStepEnter(handleStepEnter) .onStepExit(handleStepExit); @@ -109,16 +108,5 @@ function init() { window.addEventListener("resize", scroller.resize); } -// kick things off -init(); - -{/*
-
Salary and Benefits
-
Eqiupment (Non Computer)
-
Materials
-
Information Technology
-
Communication
-
Travel
-
General
-
Maintenance and Repair
-
*/} \ No newline at end of file +// kick things off +init(); /*isMobile ? .3 :*/ \ No newline at end of file diff --git a/js/posts/ucpd-budget-arrests/scrolly_charts.js b/js/posts/ucpd-budget-arrests/scrolly_charts.js index 58dd4d88e..2df5126f4 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_charts.js +++ b/js/posts/ucpd-budget-arrests/scrolly_charts.js @@ -15,7 +15,7 @@ const labels = [ '2018', '2019' ]; -const lines = ['Budget','Budget in $100,000','Arrests','Stops']; +const lines = ['Budget','Budget in $100,000','Arrests','Stops']; const options0 = { From 12b68ed700f10cb150941524cfb1a2221c5f1078 Mon Sep 17 00:00:00 2001 From: Laurel Woods Date: Sun, 16 Jan 2022 18:28:00 -0800 Subject: [PATCH 56/67] fix violin plots, turn off debug mode --- js/posts/ucpd-budget-arrests/bail-violin.js | 236 +++++++++++--------- js/posts/ucpd-budget-arrests/scrolly.js | 173 +++++++------- 2 files changed, 214 insertions(+), 195 deletions(-) diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js index e3f30732c..b215fd98b 100644 --- a/js/posts/ucpd-budget-arrests/bail-violin.js +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -1,125 +1,149 @@ function update_bail_data(data) { - if (data == "ExcludingOutliars") { - d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv").then(function( rows){ - console.log("hi"); - console.log(rows['Bail']); - function unpack(rows, key) { - console.log(rows); - return rows.map(function(row) { return row[key]; }); - } + if (data == 'ExcludingOutliars') { + d3 + .csv( + 'https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv' + ) + .then(function(rows) { + console.log('hi'); + console.log(rows['Bail']); + function unpack(rows, key) { + console.log(rows); + return rows.map(function(row) { + return row[key]; + }); + } - var data = [{ - type: 'violin', - x: unpack(rows, 'Charges'), - y: unpack(rows, 'Bail'), - points: 'none', - box: { - visible: true - }, - boxpoints: false, - line: { - color: 'black' - }, - fillcolor: '#8dd3c7', - opacity: 0.6, - meanline: { - visible: true - }, - x0: "Total Bill", - hoverinfo='skip' - }] + var data = [ + { + type: 'violin', + x: unpack(rows, 'Charges'), + y: unpack(rows, 'Bail'), + points: 'none', + box: { + visible: true, + }, + boxpoints: false, + line: { + color: 'black', + }, + fillcolor: '#8dd3c7', + opacity: 0.6, + meanline: { + visible: true, + }, + x0: 'Total Bill', + hoverinfo: 'skip', + }, + ]; - var layout = { - title: "", - yaxis: { - zeroline: false - }, - automargin: true, - } - var config = {responsive: true} + var layout = { + title: '', + yaxis: { + zeroline: false, + }, + automargin: true, + }; + var config = { responsive: true }; - Plotly.newPlot('myDiv', data, layout, config); -}); - } - else { // including outliars - d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv").then(function( rows){ - console.log("hi"); - console.log(rows['Bail']); - function unpack(rows, key) { - console.log(rows); - return rows.map(function(row) { return row[key]; }); - } + Plotly.newPlot('myDiv', data, layout, config); + }); + } else { + // including outliars + d3 + .csv( + 'https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv' + ) + .then(function(rows) { + console.log('hi'); + console.log(rows['Bail']); + function unpack(rows, key) { + console.log(rows); + return rows.map(function(row) { + return row[key]; + }); + } - var data = [{ - type: 'violin', - x: unpack(rows, 'Charges'), - y: unpack(rows, 'Bail'), - points: 'none', - box: { - visible: true - }, - boxpoints: false, - line: { - color: 'black' - }, - fillcolor: '#8dd3c7', - opacity: 0.6, - meanline: { - visible: true - }, - x0: "Total Bill", - hoverinfo='skip' - }] + var data = [ + { + type: 'violin', + x: unpack(rows, 'Charges'), + y: unpack(rows, 'Bail'), + points: 'none', + box: { + visible: true, + }, + boxpoints: false, + line: { + color: 'black', + }, + fillcolor: '#8dd3c7', + opacity: 0.6, + meanline: { + visible: true, + }, + x0: 'Total Bill', + // hoverinfo: 'skip' + }, + ]; - var layout = { - title: "", - yaxis: { - zeroline: false - }, - automargin: true, - } - var config = {responsive: true} + var layout = { + title: '', + yaxis: { + zeroline: false, + }, + automargin: true, + }; + var config = { responsive: true }; - Plotly.newPlot('myDiv', data, layout, config); -}); - } + Plotly.newPlot('myDiv', data, layout, config); + }); + } } -d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv").then(function(rows){ - console.log("hi"); +d3 + .csv( + 'https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv' + ) + .then(function(rows) { + console.log('hi'); console.log(rows['Bail']); function unpack(rows, key) { - console.log(rows); - return rows.map(function(row) { return row[key]; }); - } + console.log(rows); + return rows.map(function(row) { + return row[key]; + }); + } - var data = [{ - type: 'violin', - x: unpack(rows, 'Charges'), - y: unpack(rows, 'Bail'), - points: 'none', - box: { - visible: true + var data = [ + { + type: 'violin', + x: unpack(rows, 'Charges'), + y: unpack(rows, 'Bail'), + points: 'none', + box: { + visible: true, + }, + boxpoints: false, + line: { + color: 'black', + }, + fillcolor: '#8dd3c7', + opacity: 0.6, + meanline: { + visible: true, + }, + x0: 'Total Bill', }, - boxpoints: false, - line: { - color: 'black' - }, - fillcolor: '#8dd3c7', - opacity: 0.6, - meanline: { - visible: true - }, - x0: "Total Bill" - }] + ]; var layout = { - title: "", + title: '', yaxis: { - zeroline: false + zeroline: false, }, automargin: true, - } - var config = {responsive: true} + }; + var config = { responsive: true }; Plotly.newPlot('myDiv', data, layout, config); -}); \ No newline at end of file + }); diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index 621e07a34..458cdc2d8 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -1,112 +1,107 @@ //const { ChartLabel } = require("react-vis"); -let scrolly = document.querySelector("#stick"); -let article = scrolly.querySelector("article"); -let step = article.querySelectorAll(".step"); -let figure = article.querySelectorAll(".figure"); +let scrolly = document.querySelector('#stick'); +let article = scrolly.querySelector('article'); +let step = article.querySelectorAll('.step'); +let figure = article.querySelectorAll('.figure'); // initialize the scrollama let scroller = scrollama(); let isMobile = window.matchMedia('(max-width: 480px)').matches; -console.log(isMobile) -let budget_csv = '/datasets/ucpd-budget-arrests/ucla-pd-budget.csv' -if (isMobile){ - budget_csv = '/datasets/ucpd-budget-arrests/budget-mobile.csv' +console.log(isMobile); +let budget_csv = '/datasets/ucpd-budget-arrests/ucla-pd-budget.csv'; +if (isMobile) { + budget_csv = '/datasets/ucpd-budget-arrests/budget-mobile.csv'; } // scrollama event handlers function handleStepEnter(response) { - //response = { element, direction, index } - console.log(response); - // add to color to current step - response.element.classList.add("is-active"); - - let i = response.index; - //When scrolling down the page - if(response.direction === 'down'){ - //First Step - if (i ===1){ - makeBudgetArrests(); - addData(0); - changeOptions(0); - } - //Second Step - else if (i === 2){ - removeData(); - //myChart.destroy(); - //document.getElementById('myChart').id = 'stacked_bar'; - document.getElementById('BudgetStop').className = "BudgetBar"; - document.getElementById('BudgetStop').innerHTML = ` + //response = { element, direction, index } + console.log(response); + // add to color to current step + response.element.classList.add('is-active'); + + let i = response.index; + //When scrolling down the page + if (response.direction === 'down') { + //First Step + if (i === 1) { + makeBudgetArrests(); + addData(0); + changeOptions(0); + } else if (i === 2) { + //Second Step + removeData(); + //myChart.destroy(); + //document.getElementById('myChart').id = 'stacked_bar'; + document.getElementById('BudgetStop').className = 'BudgetBar'; + document.getElementById('BudgetStop').innerHTML = `

UCPD’s annual budget from 2012 to 2019 was acquired through a CPRA. Values are given for fiscal years. The 2018-2019 data is a proposed budget, not yet approved.

`; - d3.csv(budget_csv).then(makeChart); - //myChart = StackedBar - //ChangeBar(); - } - //3rd sted - else if (i === 3){ - //ChangeLine(); - //StackedBar.destroy(); - document.getElementById('BudgetStop').className = "BudgetStopChart"; - document.getElementById('BudgetStop').innerHTML = ` + d3.csv(budget_csv).then(makeChart); + //myChart = StackedBar + //ChangeBar(); + } else if (i === 3) { + //3rd sted + //ChangeLine(); + //StackedBar.destroy(); + document.getElementById('BudgetStop').className = 'BudgetStopChart'; + document.getElementById( + 'BudgetStop' + ).innerHTML = `

The budget values shown here are per $100,000 to match them to the scale of stops and arrests for easier comparison. Stop and arrest data was collected via CPRA submitted to UCPD.

`; - // myChart = new Chart(ctx, { - // type: 'line', - // data: data, - // options: options1 - // } - // ); - makeBudgetArrests(); - changeOptions(1); - addData(1); - } - //4th Step - else if (i ===4) { - addData(2); - } - //5th Step - else if (i===5){ - addData(3) - } + // myChart = new Chart(ctx, { + // type: 'line', + // data: data, + // options: options1 + // } + // ); + makeBudgetArrests(); + changeOptions(1); + addData(1); + } else if (i === 4) { + //4th Step + addData(2); + } else if (i === 5) { + //5th Step + addData(3); } + } } - function handleStepExit(response) { - // response = { element, direction, index } - //console.log(response); - // remove color from current step - response.element.classList.remove("is-active"); - //removeData(); - if (response.direction === 'up'){ - removeData(); - } + // response = { element, direction, index } + //console.log(response); + // remove color from current step + response.element.classList.remove('is-active'); + //removeData(); + if (response.direction === 'up') { + removeData(); + } } - - function init() { - //setupStickyfill(); - // set random padding for different step heights (not required) - // step.forEach(function(step) { - // let v = 100 + Math.floor((Math.random() * window.innerHeight) / 4); - // step.style.padding = v + "px 0px"; - // }); + //setupStickyfill(); + // set random padding for different step heights (not required) + // step.forEach(function(step) { + // let v = 100 + Math.floor((Math.random() * window.innerHeight) / 4); + // step.style.padding = v + "px 0px"; + // }); - // 1. setup the scroller with the bare-bones options - // this will also initialize trigger observations - // 2. bind scrollama event handlers (this can be chained like below) - scroller - .setup({ - step: "#stick article .step", - debug: true, - offset: 0.3 - }) - .onStepEnter(handleStepEnter) - .onStepExit(handleStepExit); + // 1. setup the scroller with the bare-bones options + // this will also initialize trigger observations + // 2. bind scrollama event handlers (this can be chained like below) + scroller + .setup({ + step: '#stick article .step', + debug: false, + offset: 0.3, + }) + .onStepEnter(handleStepEnter) + .onStepExit(handleStepExit); - // 3. setup resize event - window.addEventListener("resize", scroller.resize); + // 3. setup resize event + window.addEventListener('resize', scroller.resize); } -// kick things off -init(); /*isMobile ? .3 :*/ \ No newline at end of file +// kick things off +init(); /*isMobile ? .3 :*/ From 55d942e3890dc7951f7d00daf471746d9d8712d7 Mon Sep 17 00:00:00 2001 From: Vivian Luk Date: Mon, 17 Jan 2022 03:42:11 -0800 Subject: [PATCH 57/67] ucpd article teaser + introduction + format --- _posts/2021-9-28-ucpd-budget-arrests.md | 38 +++++++++++++------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index a7547cecc..e23e9fb2f 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -1,18 +1,24 @@ --- -title: UCPD Budget & Arrest Data -teaser: +title: UCPD Arrests and Budget +teaser: Amidst a national reckoning with policing, The Stack dives into an analysis of UCPD’s arrests, stops, and budget. + authors: - - mattie_sanseverino - - sydney_kovach - - lindsey_parungo - priya_kanneboyina + - sydney_kovach - samantha_low - vivian_luk + - lindsey_parungo + - mattie_sanseverino + key_takeaways: - - + - In comparison to Westwood demographic data, Black, American Indian and male individuals are disproportionately overrepresented in the UCPD arrest data. + - Although the number of stops have shown a downward trend since 2014, the number of arrests have been consistently increasing with a higher rate of increase beginning in 2018. + - UCPD’s budget was steadily increasing from 2012-2017, then began increasing at a faster rate in 2017. In particular, the Travel category increased by about 4000% between 2012 and 2019. + featured_image: url: og_image: + stylesheets: - /css/posts/ucpd-budget-arrests/scrollama.css - /css/posts/ucpd-budget-arrests/app.css @@ -38,28 +44,24 @@ scripts: - /js/posts/ucpd-budget-arrests/bail-violin.js --- - -

Over the past two years, a number of national events have shed light on the state of police departments all over the country. During May of 2020 all the way through August, there were a number of protests, both at UCLA and in California, calling for the reform and abolition of police departments across the nation. Protests that occurred on UCLA’s campus were centered around the UCPD (University of California Police Department) and their involvement in student affairs and Westwood as a whole. Protests also criticized the amount of money going towards UCPD and how it has been spent in recent years.

+

Over the past two years, a number of national events have shed light on the state of police departments all over the country. During May of 2020 all the way through August, there were a number of protests, both at UCLA and in California, calling for the reform and abolition of police departments across the nation. Protests that occurred on UCLA’s campus were centered around UCPD and their involvement in student affairs and Westwood as a whole. Protestors cited bias and discrimination within UCPD and drew attention to the amount of money going towards UCPD and how it has been spent in recent years.

-

Previous analyses of police departments by UCLA include Million Dollar Hood’s reports on LAPD and incarceration in Los Angeles. The Stack published an article in 2018 regarding the demographics of stops and arrests by UCPD in Westwood, which can be found here. While both sources are incredibly insightful we wanted to expand on the depth of the data and analyses while honing in on UCPD and their impact on Westwood and UCLA specifically.

- -

In this article we wanted to focus on not only on the arrests but the demographic via race, gender, and age. We also took an in-depth look at the type of arrests and the bail as well. Beyond arrests we also analyzed the distribution of the budget over the past decade, and the timeline of UCPD and it’s policies as a whole. The article aims to provide a holisitc and longitudinal overview of UCPD's history and practices at UCLA.

- - +

Upon request, The Stack obtained records of UCPD’s arrests, stops, and budget for 2012 through 2019. We analyzed the demographic makeup of the arrests by race, gender, and age, as well as the type of arrests and the associated bail. Beyond arrests, we also analyzed the distribution of the budget and researched UCPD policies over the last decade.

+

Previous analyses of police departments by UCLA include Million Dollar Hood’s reports on LAPD and incarceration in Los Angeles. The Stack also published an article in 2018 about the demographics of stops and arrests by UCPD in Westwood, which can be found here.

Arrest Demographics

-

Many critics of the UCPD often cited bias and discrimination as major issues within the police department, especially in terms of treatment of individuals and rates of arrests and stops for certain demographics. While data on treatment of individuals is not readily or easily available, we can look to the demographic of arrests to see if there are disproportionate rates of of arrest for certain demographics.

+

Many critics of UCPD cite evidence of bias and discrimination as major issues within the police department, especially in terms of treatment of individuals and rates of arrests and stops for certain demographics. While data on treatment of individuals is not readily or easily available, the demographic of arrests show disproportionate rates of arrest for certain demographics.

-

- When comparing the demographics of the arrest data to the demographics of Westwood as a whole, there are a number of findings worth noting. First, Black and American Indian groups had the most disprortionate rates of arrest. On the other hand, Hispanic and White groups had the least disproportionate arrest rates. -

+

The Black and American Indian groups were the most disproportionately overrepresented in the arrest data. The Hispanic and White groups had the least disproportionate arrest rates. The Asian group was the most disproportionately underrepresented in the arrest data.

+ +

According to UCPD Administrative Bureau Captain Scott Scheffler, (CQ 7) since race is not listed on driver’s licenses, the information regarding race in police data is most often based on the perception of the arresting officers.

@@ -72,7 +74,7 @@ scripts:

- When looking at arrest rates by age, we find the least variation between the demographic of rates and the demographics of Westwood, in comparison to the previous two graphs. Arrest rates vs Westwood demographics are generally proportionate, with the 30-39 age range having the largest difference. THe age range of 10-19 was excluded from this analysis since a majority of the age range is not subject to arrests and reports. + When looking at arrest rates by age, we find the least variation between the demographic of rates and the demographics of Westwood, in comparison to the previous two graphs. Arrest rates vs Westwood demographics are generally proportionate, with the 30-39 age range having the largest difference. THe age range of 10-19 was excluded from this analysis since a majority of the age range is not subject to arrests and reports.

From 5ddcb14ddba73f6d0b68ac2df210c3fd2193a938 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Tue, 18 Jan 2022 20:39:15 -0800 Subject: [PATCH 58/67] Updated text in scrolly telling element and shifted steps to match new text --- _posts/2021-9-28-ucpd-budget-arrests.md | 47 +++++++------------ css/posts/ucpd-budget-arrests/app.css | 3 ++ css/posts/ucpd-budget-arrests/scrollama.css | 15 +++--- js/posts/ucpd-budget-arrests/scrolly.js | 7 +-- .../ucpd-budget-arrests/scrolly_charts.js | 2 +- 5 files changed, 30 insertions(+), 44 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index e23e9fb2f..89ab56214 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -43,15 +43,14 @@ scripts: - /js/posts/ucpd-budget-arrests/demographic_charges.js - /js/posts/ucpd-budget-arrests/bail-violin.js --- - +### Introduction

Over the past two years, a number of national events have shed light on the state of police departments all over the country. During May of 2020 all the way through August, there were a number of protests, both at UCLA and in California, calling for the reform and abolition of police departments across the nation. Protests that occurred on UCLA’s campus were centered around UCPD and their involvement in student affairs and Westwood as a whole. Protestors cited bias and discrimination within UCPD and drew attention to the amount of money going towards UCPD and how it has been spent in recent years.

Upon request, The Stack obtained records of UCPD’s arrests, stops, and budget for 2012 through 2019. We analyzed the demographic makeup of the arrests by race, gender, and age, as well as the type of arrests and the associated bail. Beyond arrests, we also analyzed the distribution of the budget and researched UCPD policies over the last decade.

Previous analyses of police departments by UCLA include Million Dollar Hood’s reports on LAPD and incarceration in Los Angeles. The Stack also published an article in 2018 about the demographics of stops and arrests by UCPD in Westwood, which can be found here.

-
-

Arrest Demographics

+### Arrest Demographics

Many critics of UCPD cite evidence of bias and discrimination as major issues within the police department, especially in terms of treatment of individuals and rates of arrests and stops for certain demographics. While data on treatment of individuals is not readily or easily available, the demographic of arrests show disproportionate rates of arrest for certain demographics.

@@ -59,9 +58,9 @@ scripts:
-

The Black and American Indian groups were the most disproportionately overrepresented in the arrest data. The Hispanic and White groups had the least disproportionate arrest rates. The Asian group was the most disproportionately underrepresented in the arrest data.

+The Black and American Indian groups were the most disproportionately overrepresented in the arrest data. The Hispanic and White groups had the least disproportionate arrest rates. The Asian group was the most disproportionately underrepresented in the arrest data. -

According to UCPD Administrative Bureau Captain Scott Scheffler, (CQ 7) since race is not listed on driver’s licenses, the information regarding race in police data is most often based on the perception of the arresting officers.

+According to UCPD Administrative Bureau Captain Scott Scheffler, (CQ 7) since race is not listed on driver’s licenses, the information regarding race in police data is most often based on the perception of the arresting officers.

@@ -73,7 +72,6 @@ scripts:
-

When looking at arrest rates by age, we find the least variation between the demographic of rates and the demographics of Westwood, in comparison to the previous two graphs. Arrest rates vs Westwood demographics are generally proportionate, with the 30-39 age range having the largest difference. THe age range of 10-19 was excluded from this analysis since a majority of the age range is not subject to arrests and reports.

@@ -81,57 +79,44 @@ scripts:

Insert Caption here

-

About the Data

- -

The Westwood Demographic Data was collected by censusreporter.org from the ACS 2019 1-year census.

- -

The UCPD Arrest Data was collected by the UCPD from the years 2012-2019.

- -

The UCPD categorizes race through a set of code that can be found here. For the sake of compatibility with Westwood Demographic Data, the categories of “Other” and “Unknown” from UCPD data and the category “2+ Races”and “Other” from the Westwood Demographic Data have been combined into one category of “Other”.git

- +### What changes can be seen in UCPD data and policy in the last 10 years?
-

What changes can be seen in UCPD data and policy in the last 10 years?

-

The most recent UCPD policies are from 2010. The most current UC policy on policing is from 2011. While there haven’t been any formal policy changes since 2010, UCPD says it is committed to modeling a community oriented approach. This includes being influenced by programs such as #8CantWait and CampaignZero.

+

The Universitywide Police Policies And Administrative Procedures, the University of California Office of the President’s guide to policing, went into effect in January of 2011 (CQ 6). As of 2021, UCOP was working on finalizing new policies that would provide guidelines for the use of body cameras. (CQ 8) In addition to formal policy, UCPD at UCLA says it is committed to modeling a community oriented approach. This includes being influenced by programs such as #8CantWait and CampaignZero (CQ 4). The most recent UCPD policies are from 2010. The most current UC policy on policing is from 2011. While there haven’t been any formal policy changes since 2010, UCPD says it is committed to modeling a community oriented approach. This includes being influenced by programs such as #8CantWait and CampaignZero.

-

UCPD’s budget was acquired through a CPRA.

+

UCPD’s annual budget from 2012 to 2019 was acquired through a CPRA. Values are given for fiscal years. The 2019-2020 data was the proposed budget, which at the time, had not yet been approved.

-

Even without clear changes in policy, there have been changes to the UCPD budget over the past 10 years. For example, there has been a steady increase in UCPD’s budget with a sharper increase beginning in 2017.

+

There has been a consistent increase in UCPD’s budget, and beginning in 2017, there was an increase in the rate at which UCPD’s budget grew. Compensation, which includes salaries and benefits, accounts for roughly 80% of the annual budget. According to Scheffler, “economic impacts to salaries have had a large impact in the budget increases over the past few years.”

-

In addition to an increase in funding, there have also been changes to the distribution of funds. For instance the travel budget was only $4,200 in 2012, but reached a peak of $167,482 in 2018, a 4000% increase. However, salaries and benefits still make up a majority of UCPD’s budget every year.

+

The “General Services” category includes general expenses such as vehicle costs, marketing, refuse, insurance, training, custodial, UCLA Facilities, non-University professional services, and other miscellaneous costs, Scheffler said.
Scheffler added that the “Materials” portion of the budget includes supplies such as gasoline, office supplies, online subscriptions, uniforms and badges. Firearms and other weapons supplies are also included in this category.
The UCPD spent around $40,000 on firearms and ammunition and $7,000 on body armor in the 2019-2020 fiscal year, Scheffler said. He added that the department also spent $255,000 on new tasers in the same fiscal year. +

-

In order to more easily compare the budget to arrest and stop data, the budget line from here on will be displayed in $100,000 dollars.

+

In addition to an increase in funding, there have also been changes to the distribution of funds. For instance the travel budget was only $4,200 in 2012, but reached a peak of $167,482 in 2018, a 4000% increase.
In regard to the sharp growth of the travel budget, Scheffler explained, “The increase from [2012-2013] to [2014-2015] is due to a variety of training classes and mutual aid assignments in which UCLA PD officers travelled to assist other UC campuses. For example, in [2014-2015], UCLA PD provided extensive assistance to UCSB PD after the 2014 Isla Vista killings.”
Scheffler added that other than compensation and basic operating expenses, the UCPD has discretion to spend remaining funds as it sees fit.

-

In addition to increased funding, there has been an increase in arrests. The largest increase in arrests was from 2018 to 2019. [INSERT IF UCPD PROVIDES INSIGHT HERE]

+

Stop and arrest data was collected via a CPRA submitted to UCPD for the same period as the budget data, 2012-2019. Over this time period, arrests have been increasing fairly consistently with a shallow dip from 2017 to 2018. However this dip was quickly overcome by the largest increase in arrests which occurred from 2018 to 2019.

-

As a contrast, stops have been on a downward trend since 2014. [INSERT HERE IF UCPD PROVIDES INSIGHT]

-
-
-

MAYBE SOME CLOSING THOUGHT HERE?

+

In contrast, stops have been on a downward trend since 2014.
Scheffler said that UCPD did not implement any formal or informal policy changes that led to the decrease in stops in 2014 and the increase in arrests in 2018. Scheffler added that many factors determine whether a stop results in an arrest, including whether there is a warrant, the reason for the stop, crime trends, staffing levels, among other things outside of UCPD’s control. +

-
- -
-
diff --git a/css/posts/ucpd-budget-arrests/app.css b/css/posts/ucpd-budget-arrests/app.css index 406b8e197..588508977 100644 --- a/css/posts/ucpd-budget-arrests/app.css +++ b/css/posts/ucpd-budget-arrests/app.css @@ -11,6 +11,9 @@ color:gray; background-color: white; } + #dropdown { + margin-top: 10px; + } /*.raceclass{ float: right; width: 50%; diff --git a/css/posts/ucpd-budget-arrests/scrollama.css b/css/posts/ucpd-budget-arrests/scrollama.css index 5a0dafd0b..87e48fa87 100644 --- a/css/posts/ucpd-budget-arrests/scrollama.css +++ b/css/posts/ucpd-budget-arrests/scrollama.css @@ -4,12 +4,13 @@ @media only screen and (min-width: 1000px) { .scrollama{ width: 100%; + height: 400vh; } #scrolly_area { padding: 0 1rem; margin: 0 auto; -height: 2000px; +height: 355vh; } .step { @@ -18,7 +19,7 @@ background-color: #3b3b3b; color: #fff; opacity: .5; top: 20px; -float: right; +float: right ; } .step.is-active { @@ -41,13 +42,9 @@ line-height: 26px; } .step.bars, .step.penult, .step.later{ - width: 30%; - right: 0; - height: 300px; -} - -.step.last{ - width: 100% + width: 300px; + margin-right: 7.5%; + /* height: 300px; */ } figure { diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index 458cdc2d8..9b64a034d 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -41,7 +41,10 @@ function handleStepEnter(response) { //myChart = StackedBar //ChangeBar(); } else if (i === 3) { - //3rd sted + //3rd step + null; + } else if (i === 4) { + //4th Step //ChangeLine(); //StackedBar.destroy(); document.getElementById('BudgetStop').className = 'BudgetStopChart'; @@ -58,8 +61,6 @@ function handleStepEnter(response) { makeBudgetArrests(); changeOptions(1); addData(1); - } else if (i === 4) { - //4th Step addData(2); } else if (i === 5) { //5th Step diff --git a/js/posts/ucpd-budget-arrests/scrolly_charts.js b/js/posts/ucpd-budget-arrests/scrolly_charts.js index 2df5126f4..93617f379 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_charts.js +++ b/js/posts/ucpd-budget-arrests/scrolly_charts.js @@ -15,7 +15,7 @@ const labels = [ '2018', '2019' ]; -const lines = ['Budget','Budget in $100,000','Arrests','Stops']; +const lines = ['Budget','Budget','Arrests','Stops']; const options0 = { From 8a0e7eb0e35c6fdfb79f9029a7623467eb931a00 Mon Sep 17 00:00:00 2001 From: Lindseyp314 Date: Wed, 19 Jan 2022 14:00:14 -0800 Subject: [PATCH 59/67] fixed the transitions on mobile --- css/posts/ucpd-budget-arrests/scrollama.css | 29 ++++++++++++------- js/posts/ucpd-budget-arrests/scrolly.js | 19 ++++++++++-- .../ucpd-budget-arrests/scrolly_charts.js | 11 ++++--- 3 files changed, 39 insertions(+), 20 deletions(-) diff --git a/css/posts/ucpd-budget-arrests/scrollama.css b/css/posts/ucpd-budget-arrests/scrollama.css index 87e48fa87..f2704da30 100644 --- a/css/posts/ucpd-budget-arrests/scrollama.css +++ b/css/posts/ucpd-budget-arrests/scrollama.css @@ -4,13 +4,13 @@ @media only screen and (min-width: 1000px) { .scrollama{ width: 100%; - height: 400vh; + height: 350vh; } #scrolly_area { padding: 0 1rem; margin: 0 auto; -height: 355vh; +height: 300vh; } .step { @@ -89,24 +89,26 @@ figure { padding: 0 1rem; margin: 0 auto; /* width: 90%; */ - height: 340vh; + height: 600vh; } .step { margin: 2rem auto 4rem auto; background-color: #3b3b3b; color: #fff; - opacity: .5; + opacity:1; /* width: 30%; */ /* top: 300px; */ float: right; - z-index: 0; + z-index: 2000; + margin-bottom: 40vh; } .step.is-active { background-color: #3b3b3b; color: #fff; opacity: 1; + z-index: 2000; } .step p { @@ -114,12 +116,13 @@ figure { } .step.first { - width: 100% + width: 100%; + margin-bottom: 0px; } - .step.bars{ + /* .step.bars{ height: 90vh; - } + } */ .step.later{ width: 100%; @@ -144,10 +147,12 @@ figure { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); - z-index: 1; - background-color: #fff; + z-index: -1; + /* background-color: #fff; */ + } + .caption{ + display: none; } - /* #myChart{ width: 100%; z-index: 0; @@ -157,6 +162,7 @@ figure { /* } */ .BudgetStopChart{ height: 40vh; + z-index: -1; } #stick { @@ -171,6 +177,7 @@ figure { #myChart{ width: 100%; + z-index: -1; } /* .BudgetBar, .BudgetStopChart{ height: 30vh; diff --git a/js/posts/ucpd-budget-arrests/scrolly.js b/js/posts/ucpd-budget-arrests/scrolly.js index 9b64a034d..4323db4f6 100644 --- a/js/posts/ucpd-budget-arrests/scrolly.js +++ b/js/posts/ucpd-budget-arrests/scrolly.js @@ -12,6 +12,13 @@ let budget_csv = '/datasets/ucpd-budget-arrests/ucla-pd-budget.csv'; if (isMobile) { budget_csv = '/datasets/ucpd-budget-arrests/budget-mobile.csv'; } +let offsetVal; +if (isMobile){ + offsetVal = .7 +} +else{ + offsetVal = .3 +} // scrollama event handlers function handleStepEnter(response) { @@ -21,10 +28,16 @@ function handleStepEnter(response) { response.element.classList.add('is-active'); let i = response.index; + //When scrolling down the page if (response.direction === 'down') { + if((i===0)&&isMobile){ + makeBudgetArrests(); + addData(0); + changeOptions(0); + } //First Step - if (i === 1) { + if ((i === 1) && !isMobile) { makeBudgetArrests(); addData(0); changeOptions(0); @@ -95,7 +108,7 @@ function init() { .setup({ step: '#stick article .step', debug: false, - offset: 0.3, + offset: offsetVal, }) .onStepEnter(handleStepEnter) .onStepExit(handleStepExit); @@ -105,4 +118,4 @@ function init() { } // kick things off -init(); /*isMobile ? .3 :*/ +init(); diff --git a/js/posts/ucpd-budget-arrests/scrolly_charts.js b/js/posts/ucpd-budget-arrests/scrolly_charts.js index 93617f379..6cf431ef3 100644 --- a/js/posts/ucpd-budget-arrests/scrolly_charts.js +++ b/js/posts/ucpd-budget-arrests/scrolly_charts.js @@ -1,12 +1,11 @@ //console.log('loaded chart') -const Budget=[13680147, 14223655, 15499349, 16281145, 16754687, 17355103, 20258656, 22375818]; -const Stops=[103, 356, 389, 316, 250, 289, 276, 199]; -const Arrests=[101, 309, 381, 416, 418, 481, 467, 665]; -const Budget_Normalized=[136.80147, 142.23655, 154.99349, 162.81145, 167.54687, 173.55103, 202.58656, 223.75818]; +const Budget=[14223655, 15499349, 16281145, 16754687, 17355103, 20258656, 22375818]; +const Stops=[356, 389, 316, 250, 289, 276, 199]; +const Arrests=[309, 381, 416, 418, 481, 467, 665]; +const Budget_Normalized=[142.23655, 154.99349, 162.81145, 167.54687, 173.55103, 202.58656, 223.75818]; const data_order = [Budget, Budget_Normalized, Arrests, Stops]; const colors = ['#FF8311', '#FF8311','#2A3C6A','#A1C7F3'] const labels = [ - '2012', '2013', '2014', '2015', @@ -145,7 +144,7 @@ const options1 ={ tooltips: { callbacks: { label: function(tooltipItem, data) { - if (data.datasets[tooltipItem.datasetIndex].label === 'Budget in $100,000'){ + if (data.datasets[tooltipItem.datasetIndex].label === 'Budget'){ let val = tooltipItem.yLabel * 100000; let value = val.toLocaleString('en-US', { style: 'currency', From 484d2f123832b2a84de4086b86af8c711933847c Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Thu, 20 Jan 2022 17:17:17 -0800 Subject: [PATCH 60/67] Update bail_charges_without_outliars.csv --- .../bail_charges_without_outliars.csv | 1084 ++++++++--------- 1 file changed, 542 insertions(+), 542 deletions(-) diff --git a/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv b/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv index d01aa402f..d1f6eed28 100644 --- a/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv +++ b/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv @@ -22,378 +22,378 @@ Drug related,15000 Drug related,0 Drug related,0 Drug related,0 -DUI,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 Drug related,0 -DUI,0 -DUI,0 -DUI,OR -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,OR +Driving Under Influence,0 Drug related,0 -DUI,0 +Driving Under Influence,0 Drug related,0 Drug related,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,26000 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,26000 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,10000 -DUI,26000 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,10000 +Driving Under Influence,26000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,5000 -DUI,0 -DUI,0 -DUI,0 -DUI,20000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,5000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,20000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,30000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,30000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,5000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,30000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,5000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,30000 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,15000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,26000 -DUI,0 -DUI,0 -DUI,0 -DUI,26000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,50000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,26000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,26000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,50000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -Trespass,100000 -Trespass,500 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,36000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,500 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,20000 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,500 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,500 -Trespass,1000 -Trespass,0 -Trespass,0 +Driving Under Influence,0 +Driving Under Influence,0 +Trespassing,100000 +Trespassing,500 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,5000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,5000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,36000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,5000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,500 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,20000 +Trespassing,5000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,500 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,500 +Trespassing,1000 +Trespassing,0 +Trespassing,0 Burglary,50000 Burglary,20000 Burglary,50000 @@ -532,188 +532,188 @@ Burglary,20000 Burglary,20000 Burglary,50000 Burglary,50000 -Ucpd Misdemeanor Bench Warrant,2500 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,408 -Ucpd Misdemeanor Bench Warrant,565 -Ucpd Misdemeanor Bench Warrant,565 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,1893 -Ucpd Misdemeanor Bench Warrant,1712 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,4782 -Ucpd Misdemeanor Bench Warrant,60000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,1724 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,566 -Ucpd Misdemeanor Bench Warrant,571 -Ucpd Misdemeanor Bench Warrant,1508 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,566 -Ucpd Misdemeanor Bench Warrant,906 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,566 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,461 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,35000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,36000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,1554 -Ucpd Misdemeanor Bench Warrant,36000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,36000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,35000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,1553 -Ucpd Misdemeanor Bench Warrant,747 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,35000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,75000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,24000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,100000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,1000 -Ucpd Misdemeanor Bench Warrant,60000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,25000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,500 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,60000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,2500 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,408 +UCPD Misdemeanor Bench Warrant,565 +UCPD Misdemeanor Bench Warrant,565 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,1893 +UCPD Misdemeanor Bench Warrant,1712 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,4782 +UCPD Misdemeanor Bench Warrant,60000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,1724 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,566 +UCPD Misdemeanor Bench Warrant,571 +UCPD Misdemeanor Bench Warrant,1508 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,566 +UCPD Misdemeanor Bench Warrant,906 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,566 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,461 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,35000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,36000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,1554 +UCPD Misdemeanor Bench Warrant,36000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,36000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,35000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,1553 +UCPD Misdemeanor Bench Warrant,747 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,35000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,40000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,75000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,24000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,100000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,40000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,1000 +UCPD Misdemeanor Bench Warrant,60000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,40000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,25000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,40000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,500 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,40000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,60000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,5000 Outside Agency Infraction Warrant,670 Outside Agency Infraction Warrant,5095 Outside Agency Infraction Warrant,5095 @@ -1020,7 +1020,7 @@ Obstruct or Resist,25000 Obstruct or Resist,25000 Obstruct or Resist,25000 Obstruct or Resist,0 -Trespass,0 +Trespassing,0 Obstruct or Resist,25000 Obstruct or Resist,0 Obstruct or Resist,0 @@ -1032,7 +1032,7 @@ Obstruct or Resist,25000 Obstruct or Resist,25000 Obstruct or Resist,0 Obstruct or Resist,0 -Trespass,1000 +Trespassing,1000 Obstruct or Resist,25000 Obstruct or Resist,25000 Obstruct or Resist,0 @@ -1041,7 +1041,7 @@ Obstruct or Resist,10000 Obstruct or Resist,0 Obstruct or Resist,0 Obstruct or Resist,25000 -Trespass,0 +Trespassing,0 Obstruct or Resist,0 Obstruct or Resist,25000 Obstruct or Resist,0 @@ -1114,7 +1114,7 @@ Obstruct or Resist,0 Obstruct or Resist,10000 Obstruct or Resist,10000 Obstruct or Resist,0 -Trespass,0 +Trespassing,0 Obstruct or Resist,0 Obstruct or Resist,10000 Obstruct or Resist,0 @@ -1137,7 +1137,7 @@ Obstruct or Resist,0 Obstruct or Resist,0 Obstruct or Resist,25000 Obstruct or Resist,0 -Trespass,0 +Trespassing,0 Obstruct or Resist,0 Obstruct or Resist,0 Obstruct or Resist,0 From b9eda4b54ff2b8ca2ac98d987297d785fc504825 Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Thu, 20 Jan 2022 17:18:30 -0800 Subject: [PATCH 61/67] Update bail_charges_with_outliars.csv --- .../bail_charges_with_outliars.csv | 1086 ++++++++--------- 1 file changed, 543 insertions(+), 543 deletions(-) diff --git a/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv b/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv index 75a8f0740..f2eea7e4f 100644 --- a/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv +++ b/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv @@ -22,379 +22,379 @@ Drug related,15000 Drug related,0 Drug related,0 Drug related,0 -DUI,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 Drug related,0 -DUI,0 -DUI,0 -DUI,OR -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,OR +Driving Under Influence,0 Drug related,0 -DUI,0 +Driving Under Influence,0 Drug related,0 Drug related,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,26000 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,26000 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,10000 -DUI,26000 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,10000 +Driving Under Influence,26000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,5000 -DUI,0 -DUI,0 -DUI,0 -DUI,20000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,5000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,20000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,30000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,30000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,5000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,30000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,5000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,30000 Drug related,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,15000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,26000 -DUI,0 -DUI,0 -DUI,0 -DUI,26000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,50000 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 -DUI,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,26000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,26000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,50000 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 +Driving Under Influence,0 Drug related,0 -DUI,0 -DUI,0 -Trespass,120000 -Trespass,100000 -Trespass,500 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,36000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,500 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,20000 -Trespass,5000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,0 -Trespass,500 -Trespass,0 -Trespass,1000 -Trespass,0 -Trespass,0 -Trespass,500 -Trespass,1000 -Trespass,0 -Trespass,0 +Driving Under Influence,0 +Driving Under Influence,0 +Trespassing,120000 +Trespassing,100000 +Trespassing,500 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,5000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,5000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,36000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,5000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,500 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,20000 +Trespassing,5000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,0 +Trespassing,500 +Trespassing,0 +Trespassing,1000 +Trespassing,0 +Trespassing,0 +Trespassing,500 +Trespassing,1000 +Trespassing,0 +Trespassing,0 Burglary,50000 Burglary,20000 Burglary,150000 @@ -540,188 +540,188 @@ Burglary,20000 Burglary,20000 Burglary,50000 Burglary,50000 -Ucpd Misdemeanor Bench Warrant,2500 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,408 -Ucpd Misdemeanor Bench Warrant,565 -Ucpd Misdemeanor Bench Warrant,565 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,1893 -Ucpd Misdemeanor Bench Warrant,1712 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,4782 -Ucpd Misdemeanor Bench Warrant,60000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,1724 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,566 -Ucpd Misdemeanor Bench Warrant,571 -Ucpd Misdemeanor Bench Warrant,1508 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,566 -Ucpd Misdemeanor Bench Warrant,906 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,566 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,461 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,35000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,36000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,1554 -Ucpd Misdemeanor Bench Warrant,36000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,36000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,35000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,1553 -Ucpd Misdemeanor Bench Warrant,747 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,35000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,75000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,24000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,100000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,0 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,1000 -Ucpd Misdemeanor Bench Warrant,60000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,25000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,30000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,10000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,500 -Ucpd Misdemeanor Bench Warrant,15000 -Ucpd Misdemeanor Bench Warrant,50000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,40000 -Ucpd Misdemeanor Bench Warrant,5000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,60000 -Ucpd Misdemeanor Bench Warrant,26000 -Ucpd Misdemeanor Bench Warrant,20000 -Ucpd Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,2500 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,408 +UCPD Misdemeanor Bench Warrant,565 +UCPD Misdemeanor Bench Warrant,565 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,1893 +UCPD Misdemeanor Bench Warrant,1712 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,4782 +UCPD Misdemeanor Bench Warrant,60000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,1724 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,566 +UCPD Misdemeanor Bench Warrant,571 +UCPD Misdemeanor Bench Warrant,1508 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,566 +UCPD Misdemeanor Bench Warrant,906 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,566 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,461 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,35000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,36000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,1554 +UCPD Misdemeanor Bench Warrant,36000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,36000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,35000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,1553 +UCPD Misdemeanor Bench Warrant,747 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,35000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,40000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,75000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,24000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,100000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,40000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,0 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,1000 +UCPD Misdemeanor Bench Warrant,60000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,40000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,25000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,30000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,10000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,40000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,500 +UCPD Misdemeanor Bench Warrant,15000 +UCPD Misdemeanor Bench Warrant,50000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,40000 +UCPD Misdemeanor Bench Warrant,5000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,60000 +UCPD Misdemeanor Bench Warrant,26000 +UCPD Misdemeanor Bench Warrant,20000 +UCPD Misdemeanor Bench Warrant,5000 Outside Agency Infraction Warrant,670 Outside Agency Infraction Warrant,5095 Outside Agency Infraction Warrant,5095 @@ -1029,7 +1029,7 @@ Obstruct or Resist,25000 Obstruct or Resist,25000 Obstruct or Resist,25000 Obstruct or Resist,0 -Trespass,0 +Trespassing,0 Obstruct or Resist,25000 Obstruct or Resist,0 Obstruct or Resist,0 @@ -1041,7 +1041,7 @@ Obstruct or Resist,25000 Obstruct or Resist,25000 Obstruct or Resist,0 Obstruct or Resist,0 -Trespass,1000 +Trespassing,1000 Obstruct or Resist,25000 Obstruct or Resist,25000 Obstruct or Resist,0 @@ -1050,7 +1050,7 @@ Obstruct or Resist,10000 Obstruct or Resist,0 Obstruct or Resist,0 Obstruct or Resist,25000 -Trespass,0 +Trespassing,0 Obstruct or Resist,0 Obstruct or Resist,25000 Obstruct or Resist,0 @@ -1123,7 +1123,7 @@ Obstruct or Resist,0 Obstruct or Resist,10000 Obstruct or Resist,10000 Obstruct or Resist,0 -Trespass,0 +Trespassing,0 Obstruct or Resist,0 Obstruct or Resist,10000 Obstruct or Resist,0 @@ -1146,7 +1146,7 @@ Obstruct or Resist,0 Obstruct or Resist,0 Obstruct or Resist,25000 Obstruct or Resist,0 -Trespass,0 +Trespassing,0 Obstruct or Resist,0 Obstruct or Resist,0 Obstruct or Resist,0 From 76c45672d4a9a59962802aff33dcfada48a7f765 Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Thu, 20 Jan 2022 17:25:01 -0800 Subject: [PATCH 62/67] style changes for violin --- _posts/2021-9-28-ucpd-budget-arrests.md | 2 +- js/posts/ucpd-budget-arrests/bail-violin.js | 222 ++++++++++---------- 2 files changed, 111 insertions(+), 113 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index a7547cecc..1d6e11232 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -132,4 +132,4 @@ scripts:
-
+
diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js index e3f30732c..323a8990d 100644 --- a/js/posts/ucpd-budget-arrests/bail-violin.js +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -1,125 +1,123 @@ function update_bail_data(data) { if (data == "ExcludingOutliars") { - d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv").then(function( rows){ - console.log("hi"); - console.log(rows['Bail']); - function unpack(rows, key) { - console.log(rows); - return rows.map(function(row) { return row[key]; }); - } - - var data = [{ - type: 'violin', - x: unpack(rows, 'Charges'), - y: unpack(rows, 'Bail'), - points: 'none', - box: { - visible: true - }, - boxpoints: false, - line: { - color: 'black' - }, - fillcolor: '#8dd3c7', - opacity: 0.6, - meanline: { - visible: true - }, - x0: "Total Bill", - hoverinfo='skip' - }] - - var layout = { - title: "", - yaxis: { - zeroline: false - }, - automargin: true, - } - var config = {responsive: true} + d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv", function(err, rows){ - Plotly.newPlot('myDiv', data, layout, config); -}); + function unpack(rows, key) { + return rows.map(function(row) { return row[key]; }); + } + + var data = [{ + type: 'violin', + x: unpack(rows, 'Charges'), + y: unpack(rows, 'Bail'), + points: 'none', + box: { + visible: true + }, + boxpoints: false, + line: { + color: 'black' + }, + fillcolor: '#2A3C6A', + opacity: 0.6, + meanline: { + visible: true + }, + x0: "Bail Amount" + }] + + var layout = { + title: "Bail Amounts Offered Per Charge Type", + yaxis: { + zeroline: false + }, + margin: { + b: 160, + } + } + var config = {responsive: true} + + Plotly.newPlot('bailViolin', data, layout, config); + }); } else { // including outliars - d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv").then(function( rows){ - console.log("hi"); - console.log(rows['Bail']); - function unpack(rows, key) { - console.log(rows); - return rows.map(function(row) { return row[key]; }); + d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv", function(err, rows){ + function unpack(rows, key) { + return rows.map(function(row) { return row[key]; }); + } + + var data = [{ + type: 'violin', + x: unpack(rows, 'Charges'), + y: unpack(rows, 'Bail'), + points: 'none', + box: { + visible: true + }, + boxpoints: false, + line: { + color: 'black' + }, + fillcolor: '#2A3C6A', + opacity: 0.6, + meanline: { + visible: true + }, + x0: "Bail Amount" + }] + + var layout = { + title: "Bail Amounts Offered Per Charge Type", + yaxis: { + zeroline: false + }, + margin: { + b: 160, + } } - - var data = [{ - type: 'violin', - x: unpack(rows, 'Charges'), - y: unpack(rows, 'Bail'), - points: 'none', - box: { - visible: true - }, - boxpoints: false, - line: { - color: 'black' - }, - fillcolor: '#8dd3c7', - opacity: 0.6, - meanline: { - visible: true - }, - x0: "Total Bill", - hoverinfo='skip' - }] - - var layout = { - title: "", - yaxis: { - zeroline: false - }, - automargin: true, - } - var config = {responsive: true} - - Plotly.newPlot('myDiv', data, layout, config); -}); + var config = {responsive: true} + + Plotly.newPlot('bailViolin', data, layout, config); + }); + } } -d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv").then(function(rows){ - console.log("hi"); - console.log(rows['Bail']); - function unpack(rows, key) { - console.log(rows); - return rows.map(function(row) { return row[key]; }); - } +d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv", function(err, rows){ - var data = [{ - type: 'violin', - x: unpack(rows, 'Charges'), + function unpack(rows, key) { + return rows.map(function(row) { return row[key]; }); + } + +var data = [{ + type: 'violin', + x: unpack(rows, 'Charges'), y: unpack(rows, 'Bail'), - points: 'none', - box: { - visible: true - }, - boxpoints: false, - line: { - color: 'black' - }, - fillcolor: '#8dd3c7', - opacity: 0.6, - meanline: { - visible: true - }, - x0: "Total Bill" - }] + points: 'none', + box: { + visible: true + }, + boxpoints: false, + line: { + color: 'black' + }, + fillcolor: '#2A3C6A', + opacity: 0.6, + meanline: { + visible: true + }, + x0: "Bail Amount" +}] - var layout = { - title: "", - yaxis: { - zeroline: false - }, - automargin: true, - } - var config = {responsive: true} +var layout = { + title: "Bail Amounts Offered Per Charge Type", + yaxis: { + zeroline: false + }, + margin: { + b: 160, + } +} +var config = {responsive: true} - Plotly.newPlot('myDiv', data, layout, config); +Plotly.newPlot('bailViolin', data, layout, config); }); \ No newline at end of file From b580f57fedd721b9d935739bb6cba75bcfbefdb9 Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Thu, 20 Jan 2022 17:28:51 -0800 Subject: [PATCH 63/67] got rid of weird zoom --- js/posts/ucpd-budget-arrests/bail-violin.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js index 5ddecb2df..4412ed811 100644 --- a/js/posts/ucpd-budget-arrests/bail-violin.js +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -69,11 +69,13 @@ function update_bail_data(data) { var layout = { title: "Bail Amounts Offered Per Charge Type", yaxis: { - zeroline: false + zeroline: false, + fixedrange: true }, margin: { b: 160, - } + }, + xaxis : {fixedrange: true} } var config = {responsive: true} From 4ee98f8d79007fb263e5577e146b35658b1e3ecc Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Thu, 20 Jan 2022 17:44:57 -0800 Subject: [PATCH 64/67] initial should include outliers i think --- js/posts/ucpd-budget-arrests/bail-violin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js index 4412ed811..a2dbec0ab 100644 --- a/js/posts/ucpd-budget-arrests/bail-violin.js +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -84,7 +84,7 @@ function update_bail_data(data) { } } -d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv", function(err, rows){ +d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv", function(err, rows){ function unpack(rows, key) { return rows.map(function(row) { return row[key]; }); From 69d598db9f3e7d81f1b02b493fcf558885100b62 Mon Sep 17 00:00:00 2001 From: mattiesansev Date: Fri, 21 Jan 2022 09:44:03 -0800 Subject: [PATCH 65/67] trying to fix function error --- js/posts/ucpd-budget-arrests/bail-violin.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js index a2dbec0ab..df9b42975 100644 --- a/js/posts/ucpd-budget-arrests/bail-violin.js +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -1,7 +1,6 @@ function update_bail_data(data) { if (data == "ExcludingOutliars") { d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv", function(err, rows){ - function unpack(rows, key) { return rows.map(function(row) { return row[key]; }); } @@ -87,7 +86,9 @@ function update_bail_data(data) { d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv", function(err, rows){ function unpack(rows, key) { - return rows.map(function(row) { return row[key]; }); + return rows.map(function(row) { + return row[key]; + }); } var data = [{ From d5f154d0e37f9826fa3db4ebcc18a644a0576921 Mon Sep 17 00:00:00 2001 From: Laurel Woods Date: Fri, 21 Jan 2022 10:26:26 -0800 Subject: [PATCH 66/67] bump ruby version --- .ruby-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ruby-version b/.ruby-version index e75da3e63..a4dd9dba4 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.3.6 +2.7.4 From c96d5238a0bf35c14577669733cb2e072d64f638 Mon Sep 17 00:00:00 2001 From: Laurel Woods Date: Fri, 21 Jan 2022 11:29:39 -0800 Subject: [PATCH 67/67] fix violin plot d3 issues --- _posts/2021-9-28-ucpd-budget-arrests.md | 8 +- js/posts/ucpd-budget-arrests/bail-violin.js | 228 +++++++++++--------- 2 files changed, 127 insertions(+), 109 deletions(-) diff --git a/_posts/2021-9-28-ucpd-budget-arrests.md b/_posts/2021-9-28-ucpd-budget-arrests.md index 15dfd1f1a..768fc3ab8 100644 --- a/_posts/2021-9-28-ucpd-budget-arrests.md +++ b/_posts/2021-9-28-ucpd-budget-arrests.md @@ -23,8 +23,7 @@ stylesheets: - /css/posts/ucpd-budget-arrests/scrollama.css - /css/posts/ucpd-budget-arrests/app.css scripts: - - //cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js - - //d3js.org/d3.v5.min.js + - //cdnjs.cloudflare.com/ajax/libs/d3/5.7.0/d3.min.js - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js - //cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.js - //cdn.jsdelivr.net/npm/chart.js@2.8.0 @@ -43,7 +42,9 @@ scripts: - /js/posts/ucpd-budget-arrests/demographic_charges.js - /js/posts/ucpd-budget-arrests/bail-violin.js --- + ### Introduction +

Over the past two years, a number of national events have shed light on the state of police departments all over the country. During May of 2020 all the way through August, there were a number of protests, both at UCLA and in California, calling for the reform and abolition of police departments across the nation. Protests that occurred on UCLA’s campus were centered around UCPD and their involvement in student affairs and Westwood as a whole. Protestors cited bias and discrimination within UCPD and drew attention to the amount of money going towards UCPD and how it has been spent in recent years.

Upon request, The Stack obtained records of UCPD’s arrests, stops, and budget for 2012 through 2019. We analyzed the demographic makeup of the arrests by race, gender, and age, as well as the type of arrests and the associated bail. Beyond arrests, we also analyzed the distribution of the budget and researched UCPD policies over the last decade.

@@ -58,7 +59,7 @@ scripts:
-The Black and American Indian groups were the most disproportionately overrepresented in the arrest data. The Hispanic and White groups had the least disproportionate arrest rates. The Asian group was the most disproportionately underrepresented in the arrest data. +The Black and American Indian groups were the most disproportionately overrepresented in the arrest data. The Hispanic and White groups had the least disproportionate arrest rates. The Asian group was the most disproportionately underrepresented in the arrest data. According to UCPD Administrative Bureau Captain Scott Scheffler, (CQ 7) since race is not listed on driver’s licenses, the information regarding race in police data is most often based on the perception of the arresting officers. @@ -80,6 +81,7 @@ According to UCPD Administrative Bureau Captain Scott Scheffler, (CQ 7) since ra
### What changes can be seen in UCPD data and policy in the last 10 years? +
diff --git a/js/posts/ucpd-budget-arrests/bail-violin.js b/js/posts/ucpd-budget-arrests/bail-violin.js index df9b42975..d4797ecf5 100644 --- a/js/posts/ucpd-budget-arrests/bail-violin.js +++ b/js/posts/ucpd-budget-arrests/bail-violin.js @@ -1,126 +1,142 @@ function update_bail_data(data) { - if (data == "ExcludingOutliars") { - d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv", function(err, rows){ + if (data == 'ExcludingOutliars') { + d3 + .csv('/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv') + .then(rows => { + console.log(rows); function unpack(rows, key) { - return rows.map(function(row) { return row[key]; }); + return rows.map(function(row) { + return row[key]; + }); } - - var data = [{ - type: 'violin', - x: unpack(rows, 'Charges'), + + var data = [ + { + type: 'violin', + x: unpack(rows, 'Charges'), y: unpack(rows, 'Bail'), - points: 'none', - box: { - visible: true - }, - boxpoints: false, - line: { - color: 'black' - }, - fillcolor: '#2A3C6A', - opacity: 0.6, - meanline: { - visible: true - }, - x0: "Bail Amount" - }] - - var layout = { - title: "Bail Amounts Offered Per Charge Type", - yaxis: { - zeroline: false - }, - margin: { - b: 160, - } - } - var config = {responsive: true} - - Plotly.newPlot('bailViolin', data, layout, config); - }); - } - else { // including outliars - d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv", function(err, rows){ + points: 'none', + box: { + visible: true, + }, + boxpoints: false, + line: { + color: 'black', + }, + fillcolor: '#2A3C6A', + opacity: 0.6, + meanline: { + visible: true, + }, + x0: 'Bail Amount', + }, + ]; + + var layout = { + title: 'Bail Amounts Offered Per Charge Type', + yaxis: { + zeroline: false, + }, + margin: { + b: 160, + }, + }; + var config = { responsive: true }; + + Plotly.newPlot('bailViolin', data, layout, config); + }); + } else { + // including outliars + d3 + .csv('/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv') + .then(rows => { function unpack(rows, key) { - return rows.map(function(row) { return row[key]; }); + return rows.map(function(row) { + return row[key]; + }); } - - var data = [{ + + var data = [ + { + type: 'violin', + x: unpack(rows, 'Charges'), + y: unpack(rows, 'Bail'), + points: 'none', + box: { + visible: true, + }, + boxpoints: false, + line: { + color: 'black', + }, + fillcolor: '#2A3C6A', + opacity: 0.6, + meanline: { + visible: true, + }, + x0: 'Bail Amount', + }, + ]; + + var layout = { + title: 'Bail Amounts Offered Per Charge Type', + yaxis: { + zeroline: false, + fixedrange: true, + }, + margin: { + b: 160, + }, + xaxis: { fixedrange: true }, + }; + var config = { responsive: true }; + + Plotly.newPlot('bailViolin', data, layout, config); + }); + } +} + +d3 + .csv('/datasets/ucpd-budget-arrests/bail_charges_without_outliars.csv') + .then(rows => { + function unpack(rows, key) { + return rows.map(function(row) { + return row[key]; + }); + } + + var data = [ + { type: 'violin', x: unpack(rows, 'Charges'), - y: unpack(rows, 'Bail'), + y: unpack(rows, 'Bail'), points: 'none', box: { - visible: true + visible: true, }, boxpoints: false, line: { - color: 'black' + color: 'black', }, fillcolor: '#2A3C6A', opacity: 0.6, meanline: { - visible: true + visible: true, }, - x0: "Bail Amount" - }] - - var layout = { - title: "Bail Amounts Offered Per Charge Type", - yaxis: { - zeroline: false, - fixedrange: true - }, - margin: { - b: 160, - }, - xaxis : {fixedrange: true} - } - var config = {responsive: true} - - Plotly.newPlot('bailViolin', data, layout, config); - }); - - } -} -d3.csv("https://raw.githubusercontent.com/dailybruin/the-stack/ucpd-budget-arrests/datasets/ucpd-budget-arrests/bail_charges_with_outliars.csv", function(err, rows){ + x0: 'Bail Amount', + }, + ]; - function unpack(rows, key) { - return rows.map(function(row) { - return row[key]; - }); - } - -var data = [{ - type: 'violin', - x: unpack(rows, 'Charges'), - y: unpack(rows, 'Bail'), - points: 'none', - box: { - visible: true - }, - boxpoints: false, - line: { - color: 'black' - }, - fillcolor: '#2A3C6A', - opacity: 0.6, - meanline: { - visible: true - }, - x0: "Bail Amount" -}] - -var layout = { - title: "Bail Amounts Offered Per Charge Type", - yaxis: { - zeroline: false - }, - margin: { - b: 160, - } -} -var config = {responsive: true} + var layout = { + title: 'Bail Amounts Offered Per Charge Type', + yaxis: { + zeroline: false, + }, + margin: { + b: 160, + }, + }; + var config = { responsive: true }; -Plotly.newPlot('bailViolin', data, layout, config); -}); + Plotly.newPlot('bailViolin', data, layout, config); + });