<commit_before><!DOCTYPE html>
<html lang="en">
<head>
  <!-- Global site tag (gtag.js) - Google Analytics -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=UA-108699112-1"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-108699112-1');
  </script>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  <meta name="description" content="">
  <meta name="author" content="">
  <link rel="icon" href="../../favicon.ico">
  <title>Points Unknown</title>

  <!-- Bootstrap -->
  <link href="../css/bootstrap.min.css" rel="stylesheet">

  <!-- Custom CSS -->
  <link href="../css/site-specific.css" rel="stylesheet">

  <!-- Google fonts -->
  <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,500|Roboto:300,300i,400,400i" rel="stylesheet">

  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body data-spy="scroll" data-target="#myScrollspy" data-offset="10">
  <!-- Fixed navbar -->
  <nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="../index.html">Points Unknown</a>
      </div>
      <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav navbar-right">
          <!-- <li class="active"><a href="#">Home</a></li> -->
          <li><a href="../index.html">About</a></li>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Courses <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><a href="../gsapp_spring2019.html">GSAPP - Spring 2019</a></li>
              <li><a href="../journalism_spring2019a.html">Journalism - Spring 2019 (A)</a></li>
              <li><a href="../journalism_spring2019b.html">Journalism - Spring 2019 (B)</a></li>
              <li><a href="../gsapp_spring2018.html">GSAPP - Spring 2018</a></li>
              <li><a href="../journalism_spring2018a.html">Journalism - Spring 2018 (A)</a></li>
              <li><a href="../journalism_spring2018b.html">Journalism - Spring 2018 (B)</a></li>
              <li><a href="../journalism_fall2017.html">Journalism - Fall 2017</a></li>
            </ul>
          </li>
          <li class="dropdown active">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Tutorials <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><h4>QGIS 2</h4>
              <li><a href="00_InstallationInstructions.html">00 - Installation Instructions</a></li>
              <li><a href="01_BasicMap.html">01 - Basic Map</a></li>
              <li><a href="02_AnnotationLayer.html">02 - Annotation Layers</a></li>
              <li><a href="03_PointData.html">03 - Working with Point Data</a></li>
              <li><a href="04_CensusJoins.html">04 - Working with Census Data</a></li>
              <li><a href="05_ChangeMapping.html">05 - Change Mapping</a></li>
              <li><a href="06_Geocoding.html">06 - Geocoding</a></li>
              <li><h4>QGIS 3</h4>
              <li><a href="00_Q3_InstallationInstructions.html">00 - Installation Instructions (QGIS 3.x)</a></li>
              <li><a href="01_Q3_BasicMaps.html">01 - Basic Maps (QGIS 3.x)</a></li>
              <li><a href="02_Q3_JoinsCensus.html">02 - Joins and Census Data (QGIS 3.x)</a></li>
              <li><a href="03_Q3_Geocoding.html">03 - Geocoding and Joining Point Data (QGIS 3.x)</a>
              <li class="active"><a href="04_Q3_SpatialAnalysis.html">04 - Spatial Analysis (QGIS 3.x)</a></li>
              <li><h4>ARCGIS</h4>
              <li><a href="07_SpatialStatistics.html">07 - Spatial Statistics</a></li>
              <li><a href="08_MCDA.html">08 - Multi-Criteria Decision Analysis</a></li>
              <li><a href="09_NetworkAnalysis.html">09 - Network Analysis</a></li>
              <li><h4>Web Mapping</h4>
              <li><a href=""><em>Coming Soon</em></a></li>
            </ul>
          </li>
          <li><a href="../enroll.html">Enroll</a></li>
          <li><a href="../resources.html">Resources</a></li>
        </ul>
      </div><!--/.nav-collapse -->
    </div>
  </nav>
  <div class="jumbotron">
    <div class="container">
      <h1>Tutorial 04 - Spatial Analysis</h1>
      <p>Building on the previous tutorial which produced a choropleth map highlighting ambulatory disabilities and children under the age of five across the census tracts of New York City, this tutorial will produce a graphic showing areas in New York City that are within 10 minutes (walking) from an accessible subway station. The tutorial will then reanalyze the choropleth map from the previous session, emphasizing areas of the city that are further than 10 minutes from subway stations built with accessibility enhancements (elevator, etc). The result will be a more accurate picture of areas the MTA should address through accessibility enhancements.</p>
      <p>This tutorial is based on <a href="https://nyti.ms/2E3AW6t" alt="Where the Subway Limits New Yorkers With Disabilities" target="_blank">reporting/mapping by Jugal Patel</a> of the <em>New York Times</em> (shown below) using data from the US Census Bureau and Openrouteservice.org. For the purposes of this tutorial, we will provide an alternative to Openrouteservice, as its functionality is limited. We will also provide additional analysis, estimating a proportional population found within each blockgroup outside (or partially outside) the 10-minute walking buffer.</p>
      <img class="img-responsive" src="tutorialImages/12_SpatialAnalysis_Q3/hard_to_reach_graphic.jpg" alt="Hard to Reach"><commit_msg>updated tutorial on Q3 Spatial analysis<commit_after><!DOCTYPE html>
<html lang="en">
<head>
  <!-- Global site tag (gtag.js) - Google Analytics -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=UA-108699112-1"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-108699112-1');
  </script>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  <meta name="description" content="">
  <meta name="author" content="">
  <link rel="icon" href="../../favicon.ico">
  <title>Points Unknown</title>

  <!-- Bootstrap -->
  <link href="../css/bootstrap.min.css" rel="stylesheet">

  <!-- Custom CSS -->
  <link href="../css/site-specific.css" rel="stylesheet">

  <!-- Google fonts -->
  <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,500|Roboto:300,300i,400,400i" rel="stylesheet">

  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body data-spy="scroll" data-target="#myScrollspy" data-offset="10">
  <!-- Fixed navbar -->
  <nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="../index.html">Points Unknown</a>
      </div>
      <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav navbar-right">
          <!-- <li class="active"><a href="#">Home</a></li> -->
          <li><a href="../index.html">About</a></li>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Courses <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><a href="../gsapp_spring2019.html">GSAPP - Spring 2019</a></li>
              <li><a href="../journalism_spring2019a.html">Journalism - Spring 2019 (A)</a></li>
              <li><a href="../journalism_spring2019b.html">Journalism - Spring 2019 (B)</a></li>
              <li><a href="../gsapp_spring2018.html">GSAPP - Spring 2018</a></li>
              <li><a href="../journalism_spring2018a.html">Journalism - Spring 2018 (A)</a></li>
              <li><a href="../journalism_spring2018b.html">Journalism - Spring 2018 (B)</a></li>
              <li><a href="../journalism_fall2017.html">Journalism - Fall 2017</a></li>
            </ul>
          </li>
          <li class="dropdown active">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Tutorials <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><h4>QGIS 2</h4>
              <li><a href="00_InstallationInstructions.html">00 - Installation Instructions</a></li>
              <li><a href="01_BasicMap.html">01 - Basic Map</a></li>
              <li><a href="02_AnnotationLayer.html">02 - Annotation Layers</a></li>
              <li><a href="03_PointData.html">03 - Working with Point Data</a></li>
              <li><a href="04_CensusJoins.html">04 - Working with Census Data</a></li>
              <li><a href="05_ChangeMapping.html">05 - Change Mapping</a></li>
              <li><a href="06_Geocoding.html">06 - Geocoding</a></li>
              <li><h4>QGIS 3</h4>
              <li><a href="00_Q3_InstallationInstructions.html">00 - Installation Instructions (QGIS 3.x)</a></li>
              <li><a href="01_Q3_BasicMaps.html">01 - Basic Maps (QGIS 3.x)</a></li>
              <li><a href="02_Q3_JoinsCensus.html">02 - Joins and Census Data (QGIS 3.x)</a></li>
              <li><a href="03_Q3_Geocoding.html">03 - Geocoding and Joining Point Data (QGIS 3.x)</a>
              <li class="active"><a href="04_Q3_SpatialAnalysis.html">04 - Spatial Analysis (QGIS 3.x)</a></li>
              <li><h4>ARCGIS</h4>
              <li><a href="07_SpatialStatistics.html">07 - Spatial Statistics</a></li>
              <li><a href="08_MCDA.html">08 - Multi-Criteria Decision Analysis</a></li>
              <li><a href="09_NetworkAnalysis.html">09 - Network Analysis</a></li>
              <li><h4>Web Mapping</h4>
              <li><a href=""><em>Coming Soon</em></a></li>
            </ul>
          </li>
          <li><a href="../enroll.html">Enroll</a></li>
          <li><a href="../resources.html">Resources</a></li>
        </ul>
      </div><!--/.nav-collapse -->
    </div>
  </nav>
  <div class="jumbotron">
    <div class="container">
      <h1>Tutorial 04 - Spatial Analysis</h1>
      <p>Building on the previous tutorial which produced a choropleth map highlighting populations that have difficulty using stairs (ambulatory impaired and and children under the age of five), this tutorial will produce a graphic showing how this data intersects with accessibility enhanced subway stations. The tutorial will provide instruction on how to create a 10-minute walking buffer from each accessible subway station, and will then reanalyze the choropleth map from the previous session, emphasizing areas of the city that are outside this buffer. The result will be a more accurate picture of areas the MTA should address through accessibility enhancements.</p>
      <p>This tutorial is based on <a href="https://nyti.ms/2E3AW6t" alt="Where the Subway Limits New Yorkers With Disabilities" target="_blank">reporting/mapping by Jugal Patel</a> of the <em>New York Times</em> (shown below) using data from the US Census Bureau and Openrouteservice.org. For the purposes of this tutorial, we will provide an alternative to Openrouteservice, as its functionality is limited. We will also provide additional analysis, estimating a proportional population found within each blockgroup outside (or partially outside) the 10-minute walking buffer.</p>
      <img class="img-responsive" src="tutorialImages/12_SpatialAnalysis_Q3/hard_to_reach_graphic.jpg" alt="Hard to Reach">
{'fraction_non_alphanumeric': 0.17200413223140495, 'fraction_numerical': 0.030917945690672962, 'mean_word_length': 3.1094602789569437, 'pattern_counts': {'":': 0, '<': 419, '<?xml version=': 0, '>': 419, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, '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': '2216278', 'n_tokens_mistral': 4488, 'n_tokens_neox': 4117, 'n_words': 1029}