<commit_before>#content-primary
  %h1
    About
    
  %ul#faq
    %li
      %a{:href => "#what-is-this"} What is this?
    %li
      %a{:href => "#how-does-it-work"} How does it work?
    %li
      %a{:href => "#who-is-it-for"} Who is it for?
    %li
      %a{:href => "#why-did-you-build-it"} Why did you build it?
    %li
      %a{:href => "#why-are-you-grouping-crimes-by-ward"} Why are you grouping crimes by ward?
    %li
      %a{:href => "#where-does-this-data-come-from"} Where does this data come from?
    %li
      %a{:href => "#anything-i-should-know-about-this-data"} Anything I should know about the data?
    %li
      %a{:href => "#who-built-it"} Who built it?
    %li
      %a{:href => "#can-i-do-this-for-my-city"} Can I do this for my city?
  
  %h2#what-is-this What is this?
  
  %p
    This website lets you explore crime trends in Chicago's wards. Its a data visualization app built using <a href='https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-present/ijzp-q8t2'>open data about Chicago crimes</a> released by the <a href='http://www.cityofchicago.org/police'>Chicago Police Department</a>.
  %p
    At a glance, it lets you see an entire year of crime in a ward.
  %p
    You can also compare crime levels over the years and across the city.
  %p    
    And you can drill down to explore each ward’s homicides, robberies, assaults, and dozens of other crimes.
  
  %h2#how-does-it-work How does it work?
  
  %ol
    %li
      First, <strong>pick a year and a ward</strong> on the front page. If you don’t know what ward you’re in, enter in your address to find it. Wards with more crime have higher bars.
      = image_tag "about/ward-selector.png", :title => "The ward selector"
    %li
      This will bring up a heatmap that displays an <strong>entire calendar year of crime for that ward</strong>. Each square represents a day. The darker the square, the more crimes occurred that day.
      = image_tag "about/ward-42.png", :title => "A year of crime in ward 42 by volume"
    %li
      To <strong>compare two different</strong> wards, simply select another from the ward menu. You can stack two ward heatmaps side-by-side, or view multiple years of crime for a single ward.
  
    %li
      Once you have a ward selected, click on its title to <strong>view local crime trends</strong>. You can discover how crime in the ward has changed over time, what crimes occur most frequently, and how crime activity fluctuates across the day.
      = image_tag "about/ward-42-expanded.png", :title => "Expanded details for ward 42"
    %li
      %p
        To view that <strong>ward’s crime profile</strong>, click on the “View all ward details” link. This will bring you to a detail page featuring heatmaps of the past 10 years of crime in the ward… 

      %p
        …contact info for each alderman
      = image_tag "about/alderman-contact.png", :title => "Contact info for aldermen"
      .clear      
      %p
        …and a breakdown of all these crimes by their category.
      = image_tag "about/crime-categories.png", :title => "Crime categories"
      .clear
    %li
      %p
        To the right, you can see the total number of crimes in each category, as well as the monthly average, minimum, and maximum. Click on each crime category to drill down even further. You can see a plan-english and legal definitions of the crime, a chart showing the number of times that crime has occurred in recent months, and table containing subcategories of that crime. 
      %p
        These subcategories come from the Chicago Police Department. Fair warning: they can be a little messy and cryptic.

  %h2#who-is-it-for Who is it for?
  %p
    This free tool is for anyone interested in crime in Chicago. It was designed to be simple, and to allow anyone to visualize crime trends in their community.
  %p
    It can be used by:
  
  %ul
    %li citizens who are concerned or curious about crime in the community.
    %li city officials tracking neighborhood trends.
    %li aldermen trying to identify and address local problem areas.
    %li policemen looking to place their experience of the streets in a broader context.
    %li community groups trying to understand the neighborhoods they serve.
    %li journalists as a reporting tool.
    %li academics researching urban crime.
    
  %h2#why-did-you-build-it Why did you build it?
    
  %p
    A few reasons:
  
  %ul
    %li
      %p
      There are <a href='http://spotcrime.com/il/chicago'>several</a> <a href='http://www.everyblock.com'>websites</a> out there that show individual crime incidents. We wanted to zoom out and visualize trends. 
      %p
        Crime is a social phenomenon. To understand it, you need to observe how it varies across the city and changes over time. 
    
    %li
      %p
        The media often sensationalizes crime, so it’s important to put it in context. How prevalent are murders, really? Is your neighborhood actually experiencing a crime wave? What’s the real risk of going out at a certain time, or visiting certain neighborhoods? 
      %p
        Few citizens know, for example, that crime in Chicago has nosedived since the early 1990’s. That goes for the rest of the country, too.
    %li
      %p
        We often talk about crime in sweeping, city-wide terms: Chicago had 346,522 crimes in 2011. 15,587 carjackings. 430 homicides. But where are all these crimes happening? Everyone knows that Chicago’s crime landscape is highly uneven.
      %p
        And what kinds of crimes are they? Mail order fraud and gangland murders aren’t exactly the same thing. Our app lets you look at crime trends at the local level, and drill down to explore dozens of crime categories for every area of the city.
    %li  
      %p
        There’s simply never been a public “crime dashboard” for Chicago. This is the first time citizens can see the crime landscape of their community.
    
  %h2#why-are-you-grouping-crimes-by-ward Why are you grouping crimes by ward?
    
  %p
    Crime is highly political. 
  %p
    Politicians run campaigns on promises that they’ll bring it down. Citizens pressure them when it spikes. 
  %p
    And for decades, Chicago’s City Council has been deadlocked in a debate about whether police officers should be reassigned from lower-crime to higher-crime neighborhoods.
  %p
    As a result, the aldermen haven’t redrawn the Police Department’s beats - the geographical areas that cops patrol - since the 1970s. 
  %p
    This debate has been driven by politics, not facts. We want to inform it with a data-driven perspective.
  %p
    Rest assured, we want to show crime trends by neighborhood, by police district, and by other geographies. Wards were a good first step and proof of concept.
  %h2#where-does-this-data-come-from Where does this data come from?
  %p
    The Chicago Police Department has tracked crime incidents in the city for years, but they have never before released this data to the public.
  %p
    In June 2011, the CPD released anonymized records of the 4,802,684 reported crimes that took place in Chicago from 2001 to 2011. This data is <a href='https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-present/ijzp-q8t2'>now available</a> to all on the <a href='http://data.cityofchicago.org'>City of Chicago's data portal</a>. The city updates it daily.     

  %h2#anything-i-should-know-about-this-data Anything I should know about this data?
  %ul
    %li   
      %p
        When we say “crime,” we mean “crimes reported to the police.” Many crimes in Chicago never get reported. 
    %li    
      %p
        Crime incidents are first recorded by police officers at the scene of the crime. A crime’s category may change over time as the case develops.
    %li
      %p  
        This website does not track crimes in real-time. The Police Department waits two weeks before releasing data about a crime. We plan on updating the site every month.
  
  %h2#who-built-it Who built it?
  %p
    This site was built by <a href='http://opencityapps.org'>Open City</a>, a volunteer group of technologists and researchers based in Chicago that create civic apps with open government data.
  %p
    Check out our <a href='http://opencityapps.org/#projects'>other projects</a>, and feel free to get in touch at <a href='mailto:<EMAIL>'><EMAIL></a>
  
  %h2#can-i-do-this-for-my-city Can I do this for my city?
  
  %p
    Want to deploy this app in another city? All the code is up on <a href='https://github.com/open-city/crime-in-chicago'>github</a>.
  %p
    What technologies did you use to build it? (For the Geeks)
  %ul
    %li Front-end: HTML, CSS, <a href='http://jquery.org'>jQuery</a>
    %li Data visualization: <a href='https://github.com/mbostock/d3/wiki/Gallery'>D3</a>, <a href='http://www.highcharts.com/'>Highcharts</a>, Sparklines, <a href='https://developers.google.com/maps/documentation/javascript/'>Google Maps</a>, <a href='http://www.google.com/fusiontables'>Fusion Tables</a>
    %li Back-end: Ruby, <a href='http://www.sinatrarb.com/'>Sinatra</a>, <a href='http://www.postgresql.org/'>Postgres</a><commit_msg>added poster section to about<commit_after>#content-primary
  %h1
    About
    
  %ul#faq
    %li
      %a{:href => "#what-is-this"} What is this?
    %li
      %a{:href => "#how-does-it-work"} How does it work?
    %li
      %a{:href => "#who-is-it-for"} Who is it for?
    %li
      %a{:href => "#why-did-you-build-it"} Why did you build it?
    %li
      %a{:href => "#why-offer-a-poster"} Why offer a poster?
    %li
      %a{:href => "#why-are-you-grouping-crimes-by-ward"} Why are you grouping crimes by ward?
    %li
      %a{:href => "#where-does-this-data-come-from"} Where does this data come from?
    %li
      %a{:href => "#anything-i-should-know-about-this-data"} Anything I should know about the data?
    %li
      %a{:href => "#who-built-it"} Who built it?
    %li
      %a{:href => "#can-i-do-this-for-my-city"} Can I do this for my city?
  
  %h2#what-is-this What is this?
  
  %p
    This website lets you explore crime trends in Chicago's wards. Its a data visualization app built using <a href='https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-present/ijzp-q8t2'>open data about Chicago crimes</a> released by the <a href='http://www.cityofchicago.org/police'>Chicago Police Department</a>.
  %p
    At a glance, it lets you see an entire year of crime in a ward.
  %p
    You can also compare crime levels over the years and across the city.
  %p    
    And you can drill down to explore each ward’s homicides, robberies, assaults, and dozens of other crimes.
  
  %h2#how-does-it-work How does it work?
  
  %ol
    %li
      First, <strong>pick a year and a ward</strong> on the front page. If you don’t know what ward you’re in, enter in your address to find it. Wards with more crime have higher bars.
      = image_tag "about/ward-selector.png", :title => "The ward selector"
    %li
      This will bring up a heatmap that displays an <strong>entire calendar year of crime for that ward</strong>. Each square represents a day. The darker the square, the more crimes occurred that day.
      = image_tag "about/ward-42.png", :title => "A year of crime in ward 42 by volume"
    %li
      To <strong>compare two different</strong> wards, simply select another from the ward menu. You can stack two ward heatmaps side-by-side, or view multiple years of crime for a single ward.
  
    %li
      Once you have a ward selected, click on its title to <strong>view local crime trends</strong>. You can discover how crime in the ward has changed over time, what crimes occur most frequently, and how crime activity fluctuates across the day.
      = image_tag "about/ward-42-expanded.png", :title => "Expanded details for ward 42"
    %li
      %p
        To view that <strong>ward’s crime profile</strong>, click on the “View all ward details” link. This will bring you to a detail page featuring heatmaps of the past 10 years of crime in the ward… 

      %p
        …contact info for each alderman
      = image_tag "about/alderman-contact.png", :title => "Contact info for aldermen"
      .clear      
      %p
        …and a breakdown of all these crimes by their category.
      = image_tag "about/crime-categories.png", :title => "Crime categories"
      .clear
    %li
      %p
        To the right, you can see the total number of crimes in each category, as well as the monthly average, minimum, and maximum. Click on each crime category to drill down even further. You can see a plan-english and legal definitions of the crime, a chart showing the number of times that crime has occurred in recent months, and table containing subcategories of that crime. 
      %p
        These subcategories come from the Chicago Police Department. Fair warning: they can be a little messy and cryptic.

  %h2#who-is-it-for Who is it for?
  %p
    This free tool is for anyone interested in crime in Chicago. It was designed to be simple, and to allow anyone to visualize crime trends in their community.
  %p
    It can be used by:
  
  %ul
    %li citizens who are concerned or curious about crime in the community.
    %li city officials tracking neighborhood trends.
    %li aldermen trying to identify and address local problem areas.
    %li policemen looking to place their experience of the streets in a broader context.
    %li community groups trying to understand the neighborhoods they serve.
    %li journalists as a reporting tool.
    %li academics researching urban crime.
    
  %h2#why-did-you-build-it Why did you build it?
    
  %p
    A few reasons:
  
  %ul
    %li
      %p
      There are <a href='http://spotcrime.com/il/chicago'>several</a> <a href='http://www.everyblock.com'>websites</a> out there that show individual crime incidents. We wanted to zoom out and visualize trends. 
      %p
        Crime is a social phenomenon. To understand it, you need to observe how it varies across the city and changes over time. 
    
    %li
      %p
        The media often sensationalizes crime, so it’s important to put it in context. How prevalent are murders, really? Is your neighborhood actually experiencing a crime wave? What’s the real risk of going out at a certain time, or visiting certain neighborhoods? 
      %p
        Few citizens know, for example, that crime in Chicago has nosedived since the early 1990’s. That goes for the rest of the country, too.
    %li
      %p
        We often talk about crime in sweeping, city-wide terms: Chicago had 346,522 crimes in 2011. 15,587 carjackings. 430 homicides. But where are all these crimes happening? Everyone knows that Chicago’s crime landscape is highly uneven.
      %p
        And what kinds of crimes are they? Mail order fraud and gangland murders aren’t exactly the same thing. Our app lets you look at crime trends at the local level, and drill down to explore dozens of crime categories for every area of the city.
    %li  
      %p
        There’s simply never been a public “crime dashboard” for Chicago. This is the first time citizens can see the crime landscape of their community.
  
  %h2#why-offer-a-poster Why offer a poster?
  
  %p
    We've never done one before, and we thought that crime for all 50 wards would be a great dataset to make a static visualization out of. <a href='/poster'>Get one yourself!</a>
    
  %p
    All of the proceeds for the poster will go towards hosting for this site, and continued development on projects for Open City.
    
  %h2#why-are-you-grouping-crimes-by-ward Why are you grouping crimes by ward?
    
  %p
    Crime is highly political. 
  %p
    Politicians run campaigns on promises that they’ll bring it down. Citizens pressure them when it spikes. 
  %p
    And for decades, Chicago’s City Council has been deadlocked in a debate about whether police officers should be reassigned from lower-crime to higher-crime neighborhoods.
  %p
    As a result, the aldermen haven’t redrawn the Police Department’s beats - the geographical areas that cops patrol - since the 1970s. 
  %p
    This debate has been driven by politics, not facts. We want to inform it with a data-driven perspective.
  %p
    Rest assured, we want to show crime trends by neighborhood, by police district, and by other geographies. Wards were a good first step and proof of concept.
  %h2#where-does-this-data-come-from Where does this data come from?
  %p
    The Chicago Police Department has tracked crime incidents in the city for years, but they have never before released this data to the public.
  %p
    In June 2011, the CPD released anonymized records of the 4,802,684 reported crimes that took place in Chicago from 2001 to 2011. This data is <a href='https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-present/ijzp-q8t2'>now available</a> to all on the <a href='http://data.cityofchicago.org'>City of Chicago's data portal</a>. The city updates it daily.     

  %h2#anything-i-should-know-about-this-data Anything I should know about this data?
  %ul
    %li   
      %p
        When we say “crime,” we mean “crimes reported to the police.” Many crimes in Chicago never get reported. 
    %li    
      %p
        Crime incidents are first recorded by police officers at the scene of the crime. A crime’s category may change over time as the case develops.
    %li
      %p  
        This website does not track crimes in real-time. The Police Department waits two weeks before releasing data about a crime. We plan on updating the site every month.
  
  %h2#who-built-it Who built it?
  %p
    This site was built by <a href='http://opencityapps.org'>Open City</a>, a volunteer group of technologists and researchers based in Chicago that create civic apps with open government data.
  %p
    Check out our <a href='http://opencityapps.org/#projects'>other projects</a>, and feel free to get in touch at <a href='mailto:<EMAIL>'><EMAIL></a>
  
  %h2#can-i-do-this-for-my-city Can I do this for my city?
  
  %p
    Want to deploy this app in another city? All the code is up on <a href='https://github.com/open-city/crime-in-chicago'>github</a>.
  %p
    What technologies did you use to build it? (For the Geeks)
  %ul
    %li Front-end: HTML, CSS, <a href='http://jquery.org'>jQuery</a>
    %li Data visualization: <a href='https://github.com/mbostock/d3/wiki/Gallery'>D3</a>, <a href='http://www.highcharts.com/'>Highcharts</a>, Sparklines, <a href='https://developers.google.com/maps/documentation/javascript/'>Google Maps</a>, <a href='http://www.google.com/fusiontables'>Fusion Tables</a>
    %li Back-end: Ruby, <a href='http://www.sinatrarb.com/'>Sinatra</a>, <a href='http://www.postgresql.org/'>Postgres</a>
{'fraction_non_alphanumeric': 0.08603930784020508, 'fraction_numerical': 0.00859859004486221, 'mean_word_length': 3.0857516910320753, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 126, 'https://': 10, 'lorem ipsum': 0, 'www.': 12, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3661491', 'n_tokens_mistral': 5584, 'n_tokens_neox': 5319, 'n_words': 2507}