<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Help building a database with street segments; weekly crime/police data in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/help-building-a-database-with-street-segments/m-p/497300#M5323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I &lt;/SPAN&gt;&lt;STRONG&gt;REALLY&lt;/STRONG&gt;&lt;SPAN&gt; need help trying to figure out how to build this dataset! I'm tasked with constructing a database containing three core elements:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) crime data for a mid-sized city from 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) police dispatch data from 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) census data from the 2010 decenniel census&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My advisor wants each row (we'll do data analysis in Stata) to correspond to a "segement-week". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I.e.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Row 1 = Segment 1, Week1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Row 2 = Segment 2, Week2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Row 9288 = Segment 258, Week36&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm struggling with finding the quickest and easiest way to accomplish this task. I pull the data in Excel '.CSV' format and Geocode it in ArcMap10.1. The only thing I have come up with is building a giant model to put each segment-week in a new feature class, then merging all 9,000+ together into the database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me wrap my head around this? Can it be done without a team of programmers with unlimited time and resources? I.e., can a graduate research assistant do it in a couple of days? :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2013 16:56:06 GMT</pubDate>
    <dc:creator>MikeDeckard</dc:creator>
    <dc:date>2013-01-17T16:56:06Z</dc:date>
    <item>
      <title>Help building a database with street segments; weekly crime/police data</title>
      <link>https://community.esri.com/t5/mapping-questions/help-building-a-database-with-street-segments/m-p/497300#M5323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I &lt;/SPAN&gt;&lt;STRONG&gt;REALLY&lt;/STRONG&gt;&lt;SPAN&gt; need help trying to figure out how to build this dataset! I'm tasked with constructing a database containing three core elements:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) crime data for a mid-sized city from 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) police dispatch data from 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) census data from the 2010 decenniel census&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My advisor wants each row (we'll do data analysis in Stata) to correspond to a "segement-week". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I.e.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Row 1 = Segment 1, Week1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Row 2 = Segment 2, Week2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Row 9288 = Segment 258, Week36&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm struggling with finding the quickest and easiest way to accomplish this task. I pull the data in Excel '.CSV' format and Geocode it in ArcMap10.1. The only thing I have come up with is building a giant model to put each segment-week in a new feature class, then merging all 9,000+ together into the database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me wrap my head around this? Can it be done without a team of programmers with unlimited time and resources? I.e., can a graduate research assistant do it in a couple of days? :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 16:56:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/help-building-a-database-with-street-segments/m-p/497300#M5323</guid>
      <dc:creator>MikeDeckard</dc:creator>
      <dc:date>2013-01-17T16:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help building a database with street segments; weekly crime/police data</title>
      <link>https://community.esri.com/t5/mapping-questions/help-building-a-database-with-street-segments/m-p/497301#M5324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sounds like this might be too late to help with your project but here's an idea for posterity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want the output as a spatial file this is what comes to mind.&amp;nbsp; I'd add a "Week" field to your street segments.&amp;nbsp; Number them all 1 initially.&amp;nbsp; Open an edit session.&amp;nbsp; Copy/paste all the segments over themselves, and number the duplicates Week 2.&amp;nbsp; Repeat for all the weeks you need.&amp;nbsp; There is probably a way to model this but I know zilch about modeling.&amp;nbsp; Similarly you could make duplicate feature classes of the segments, one for each week, assign the week values, and merge the feature classes together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want the output as an Excel table, copy your attribute table into it.&amp;nbsp; Assign all existing rows to Week 1.&amp;nbsp; Use an equation to calculate the first new value of Week 2 and drag that equation down for all the weeks you need.&amp;nbsp; It will repeat your segment IDs and increment the weeks.&amp;nbsp; For three segments it'd look like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FID&amp;nbsp; Segment&amp;nbsp; Week&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.....1.............1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.....1.2..........1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.....1.3..........1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4.....=B2.........=C2+1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5.....=B4.........=C3+1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6.....=B5.........=C4+1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 21:15:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/help-building-a-database-with-street-segments/m-p/497301#M5324</guid>
      <dc:creator>TrishRice</dc:creator>
      <dc:date>2013-02-05T21:15:03Z</dc:date>
    </item>
  </channel>
</rss>

