<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>data science on frankhecker.com</title>
    <link>https://frankhecker.com/tags/data-science/</link>
    <description>Recent content in data science on frankhecker.com</description>
    <image>
      <title>frankhecker.com</title>
      <url>https://frankhecker.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://frankhecker.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 22 May 2019 12:00:00 -0400</lastBuildDate>
    <atom:link href="https://frankhecker.com/tags/data-science/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Getting down with data</title>
      <link>https://frankhecker.com/2019/05/22/getting-down-with-data/</link>
      <pubDate>Wed, 22 May 2019 12:00:00 -0400</pubDate>
      <guid>https://frankhecker.com/2019/05/22/getting-down-with-data/</guid>
      <description>Everyone can now work with data and visualize it. Should you?</description>
      <content:encoded><![CDATA[<figure><a href="/assets/images/rstudio-cloud-screenshot.png">
    <img loading="lazy" src="/assets/images/rstudio-cloud-screenshot-embed.png"
         alt="Screenshot of RStudio Cloud, showing the available tutorials"/> </a><figcaption>
            <p>The RStudio Cloud service provides a web-based alternative to installing the RStudio desktop software, and includes tutorials for using the R statistical language and the Tidyverse set of functions. (Click for a higher resolution version.)</p>
        </figcaption>
</figure>

<p><em>tl;dr: Everyone can now work with data and visualize it. Should you?</em></p>
<p>NOTE: This article was originally published in my <em>Civility and Truth</em> Substack newsletter. I have republished it here without changes.</p>
<p>I haven’t had time yet to look at the detailed median household income data for Howard County (for which I’m going to try to do some maps of income by census tract), so that will have to wait for a future post. In the meantime I wanted to talk a bit about how I do these visualizations, how you can do them too if you have the time and interest, and what I’ve learned in the process.</p>
<h2 id="easy-data-analysis-and-visualization-for-free">Easy data analysis and visualization for free</h2>
<p>Once upon a time anyone wanting to do serious statistical analysis and graphic visualization of data needed to purchase a license for proprietary software products like <a href="https://en.wikipedia.org/wiki/SAS_(software)">SAS</a> or <a href="https://en.wikipedia.org/wiki/SPSS">SPSS</a> that cost hundreds or even thousands of dollars per user. The traditional alternative for most users was Microsoft Excel, which included at least a basic set of statistical functions and graphing operations. However it was still not exactly cheap, especially for home users, and given its origin in accounting spreadsheets it was not really that suitable for advanced statistical and data visualization work.</p>
<h3 id="r-and-the-tidyverse">R and the tidyverse</h3>
<p>What has changed from then until now? First, noncommercial alternatives arose to SAS, SPSS, and similar products, most notably the <a href="https://en.wikipedia.org/wiki/R_(programming_language)">R statistical programming language</a> and its associated runtime environment. Unlike SAS and SPSS, R was developed through an open collaborative process in which anyone could participate, and the resulting software was distributed in both binary and source form at no charge. R relatively quickly gained many users, and today it is pretty much the most popular language (along with Python) for so-called “data science” projects.</p>
<p>Unfortunately as a programming environment R is relatively difficult to use, especially for people coming to it as a first language. The second advance was to simplify the use of R by dictating a particular way of programming in it.  This was accomplished by the statistician Hadley Wickham and his colleagues, who developed a set of R extensions or “packages” known colloquially as the “Hadleyverse” and now renamed as the “tidyverse.”</p>
<p>The <a href="https://www.tidyverse.org/">tidyverse packages</a> implement a simplified philosophy for working with data, basically treating all data as sets of tables whose rows and columns can be manipulated in various ways, with the output of each manipulation producing a new table used as input to the next manipulation. The tidyverse packages also include an accompanying set of functions (“ggplot” and others) to graph data in various ways, again adhering to a particular philosophy of how to transform data into visuals.</p>
<h3 id="data-analysis-and-visualization-as-a-service">Data analysis and visualization as a service</h3>
<p>So-called “free and open source” software products like R and the tidyverse packages are a godsend for people like me who can’t or don’t want to pay for expensive proprietary software. But to paraphrase <a href="https://en.wikipedia.org/wiki/Jamie_Zawinski">a former colleague of mine</a>, free software is only free if your time has no value: the time and effort spent downloading, installing, and configuring software can be daunting, especially for a casual user who just wants to do a basic data plot.  This is especially true if you want to do more advanced things, like displaying data on maps.</p>
<p>To address this issue Hadley Wickham and his colleagues founded a startup, <a href="https://www.rstudio.com/about/">RStudio</a>, to lower the barriers to widespread use of R and the tidyverse packages. Their first product, also called <a href="https://www.rstudio.com/products/rstudio/">RStudio</a>, provides a web-based interactive development environment (IDE) to simplify creating R-based data analyses. In its RStudio Server version it allows an organization to stand up a central web site to which users can connect and use R, the tidyverse packages, and other R-based capabilities without having to install software on their own PCs.</p>
<p>However, RStudio Server removed a burden from end users only to place it on the people charged with standing up the server system with all its necessary software. That was fine for larger organizations, but a problem for small businesses, not to mention individual users.</p>
<p>To address that issue RStudio is now developing a new service, <a href="https://rstudio.cloud/">RStudio.cloud</a>, currently being made available for testing by the public.  With RStudio.cloud all you need is a browser: the R and RStudio software is already pre-installed for you, with additional packages easily installable on the service if and when you need them. RStudio.cloud also includes a full set of interactive tutorials (see the graphic above), so that anyone who’s familiar with (say) working with Excel spreadsheets, formulas, and macros can learn to do basic data analyses and visualizations.</p>
<p>(If you want to try RStudio.cloud yourself, you can <a href="https://login.rstudio.cloud/register?redirect=https%3A%2F%2Fclient.login.rstudio.cloud%2Foauth%2Flogin%3Fshow_auth%3D0%26show_login%3D1%26show_setup%3D1">sign up for a free account</a>. and work through some of the <a href="https://rstudio.cloud/learn/primers">interactive tutorials</a>. If you want to explore a non-trivial project, I’ve shared a version of my <a href="https://rstudio.cloud/project/353602">“hocodata” project</a> on RStudio.cloud for others to access.)</p>
<h2 id="public-data-for-public-use">Public data for public use</h2>
<p>Of course, it’s not enough to know how to do data analyses and visualizations.  You also need some actual data to work with. Here, as in other areas, government (local, state, and Federal) has come to the rescue&mdash;though not always, and not always completely.</p>
<h3 id="governments-data-exhaust">Government’s “data exhaust”</h3>
<p>Governments by their nature generate a lot of data about the jurisdictions over which they hold sway. The most notable (and ancient) example of this is the census, which has gone from being a simple count of people to collecting all sorts of relevant demographic, economic, and other data about populations.</p>
<p>Governments also collect a lot of other data in the course of their operations, for example about crimes both serious and petty, building permits and zoning decisions, the locations of fire hydrants and streetlights, and so on. Traditionally this data was generated and kept as paper documents, but now it is almost always generated and stored as digital files or as entries in a digital database&mdash;a sort of “data exhaust” that is emitted by the day-to-day running of governments.</p>
<p>Having generated this data, it’s natural for governments to consider giving citizens access to it. In some cases this is part of an overarching strategy to improve visibility into the workings of government. A good example is the <a href="https://www.baltimoresun.com/news/maryland/howard/ellicott-city/ph-ho-cf-political-notebook-0911-20140911-story.html">“HoCoStat” system</a> proposed by former Howard County Executive Allan Kittleman during his successful 2014 campaign.</p>
<p>In other cases government just takes data and makes it available without an overall strategy&mdash;after all, the data is being produced in digital form already, whether that be as Excel spreadsheets or in some other form, and the incremental work to make it publicly available may not be that large. For example, although the full HoCoStat system was never deployed, under Allan Kittleman Howard County did <a href="https://www.howardcountymd.gov/News/ArticleID/156/05-08-15-Executive-Kittleman-launches-open-data-portal-to-increase-government-transparency">stand up</a> a new <a href="https://opendata.howardcountymd.gov/">OpenHoward site</a> that collected data produced by various Howard County agencies. Somewhat confusingly, there is also a separate site <a href="https://data.howardcountymd.gov/">data.howardcountymd.gov</a> that also hosts a variety of data provided by the Howard County GIS division&mdash;another project that appears to have been done as an incremental effort.</p>
<p>However, governments do not always make data available, or make it available only in inconvenient ways, for a variety of reasons. For example, some government agencies release data only in the form of PDF documents, the electronic equivalent of traditional paper reports. These can be relatively difficult to extract data from. In other cases data may be displayable on a public web site, but with no way to download it in a more convenient form.</p>
<p>But even here people have created automated ways to access data even in odd formats, whether that be extracting tables from PDF files or “scraping” it off of web sites. The result is yet more data to add to that available from more convenient sources.</p>
<h3 id="the-downside-of-data">The downside of data</h3>
<p>So with all this data available, and free ways to analyze it, are we living in utopia (at least as far as data analysis and visualization are concerned)? I don’t really think so: there are downsides to having lots of data to analyze just as there are downsides to not having it.</p>
<p>First, we tend to think that data is more accurate and reflective of reality than it actually is. For example, take the median household income estimate for Howard County and comparable estimates for other counties. In 2017 the estimate for Howard County median household income was $111,473 while the estimate for Stafford County, Virginia, was $112,795, or $1,322 more. This difference was enough to propel Stafford County into the list of top ten counties by median household income, and knock Howard County out of it.</p>
<p>But the margins of error for these estimates were $2,666 for Howard County and $5,081 for Stafford County. There’s therefore a good possibility that Howard County and Stafford County had pretty much equal median household incomes for 2017, and a fair chance that Howard County’s median household income was actually higher than Stafford County’s.</p>
<p>This failure to take margins of error into account is ubiquitous in people’s treatment of data (and I’ve been guilty of it myself). It’s not that significant an issue with respect to median household income estimates, but it can be a big deal indeed when it comes to data measurements that drive funding and personnel decisions, as with student test scores. It’s quite possible that many if not most of the reported test score increases and decreases that are alternatively lauded or derided are actually just random year-to-year fluctuations that don’t reflect any underlying change in students’ ability to learn or teachers’ ability to teach.</p>
<p>School test scores provide another reason not to put too much faith in data: When data measurements are used to drive rewards and punishments, the temptation to game the measurements in various ways can be irresistible. With school test scores such gaming can range from “teaching to the test” up to outright fraud, as shown by scandals around the US.  We now have to account not only for the possibility of random fluctuations, which are relatively benign in origin, we also have to assess to what degree the data might be fraudulently measured or reported.</p>
<p>Finally, in many cases we should question ourselves as to whether some data is actually useful, or should be used. For example, do student test scores actually tell us anything useful? Would it be better not to do student testing at all, or to restrict it to certain narrow purposes? One benefit of working directly with raw data, as opposed to consuming pre-cooked graphs and tables prepared by others, is that it can give you a good sense of the limits to what data can tell us.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Useful datasets for Howard County election analysis</title>
      <link>https://frankhecker.com/2015/03/01/useful-datasets-for-howard-county-election-analysis/</link>
      <pubDate>Sun, 01 Mar 2015 07:00:17 -0500</pubDate>
      <guid>https://frankhecker.com/2015/03/01/useful-datasets-for-howard-county-election-analysis/</guid>
      <description>&lt;p&gt;&lt;em&gt;tl;dr: I release two useful Howard County election datasets in preparation for future posts.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In the coming days and weeks I’ll be posting some analyses of Howard County election results.  Unfortunately the data released by the &lt;a href=&#34;http://www.howardcountymd.gov/Departments.aspx?id=4294968268&#34;&gt;Howard County Board of Elections&lt;/a&gt; and the &lt;a href=&#34;http://www.elections.state.md.us&#34;&gt;Maryland State Board of Elections&lt;/a&gt; is not always in the most useful form for analysis.  In particular I was looking for per-precinct turnout statistics for the 2014 general election in Howard County, along with some way to match up precincts with the county council district of which they’re a part.  That data is available in the &lt;a href=&#34;http://www.howardcountymd.gov/WorkArea/linkit.aspx?LinkIdentifier=id&amp;amp;ItemID=6442477038&amp;amp;libID=6442477030&#34;&gt;2014 general election results per precinct/district&lt;/a&gt; published by the Howard County Board of Elections, but unfortunately that document is a PDF document.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p><em>tl;dr: I release two useful Howard County election datasets in preparation for future posts.</em></p>
<p>In the coming days and weeks I’ll be posting some analyses of Howard County election results.  Unfortunately the data released by the <a href="http://www.howardcountymd.gov/Departments.aspx?id=4294968268">Howard County Board of Elections</a> and the <a href="http://www.elections.state.md.us">Maryland State Board of Elections</a> is not always in the most useful form for analysis.  In particular I was looking for per-precinct turnout statistics for the 2014 general election in Howard County, along with some way to match up precincts with the county council district of which they’re a part.  That data is available in the <a href="http://www.howardcountymd.gov/WorkArea/linkit.aspx?LinkIdentifier=id&amp;ItemID=6442477038&amp;libID=6442477030">2014 general election results per precinct/district</a> published by the Howard County Board of Elections, but unfortunately that document is a PDF document.</p>
<p>PDF files are great for reading by humans, but lousy for reading by machines.  They violate guideline 8 in the <a href="http://sunlightfoundation.com/opendataguidelines/">Open Data Policy Guidelines</a> published by the <a href="http://sunlightfoundation.com/about/">Sunlight Foundation</a>:</p>
<blockquote>
<p>For maximal access, data must be released in formats that lend themselves to easy and efficient reuse via technology.  … This means releasing information in open formats (or “open standards”), in machine-readable formats, that are structured (or machine-processable) appropriately.  … While formats such as HTML and PDF are easily opened for most computer users, these formats are difficult to convert the information to new uses.</p>
</blockquote>
<p>Since the data I wanted wasn’t in a format I could use, I manually extracted the data from the PDF document and converted it into a useful format (Comma Separated Value or CSV format) myself.  Then since someone else might find a use for them, I published the files online in a <a href="https://github.com/frankhecker/hocodata/tree/master/datasets">datasets area</a> of my <a href="https://github.com/frankhecker/hocodata">Github hocodata repository</a>.  The first two files are as follows:</p>
<ul>
<li><a href="https://raw.githubusercontent.com/frankhecker/hocodata/master/datasets/hocomd-2014-precinct-council.csv">hocomd-2014-precinct-council.csv</a>.  This dataset maps the 118 Howard County election precincts to the county council districts in which those precincts are included.</li>
<li><a href="https://raw.githubusercontent.com/frankhecker/hocodata/master/datasets/hocomd-2014-general-election-turnout-by-precinct.csv">hocomd-2014-general-election-turnout.csv</a>.  This dataset contains turnout statistics for each of the 118 Howard County precincts in the 2014 general election, including the number of registered voters and ballots cast in each precinct on election day.</li>
</ul>
<p>Stay tuned for some interesting ways to use this data.</p>
<hr>
<h4 id="268ded72-001">Walter Carson (wcarson@columbiaunion.net) - 2015-03-01 14:38</h4>
<p>Thank you. As always, of interest. How might such data be used to look at the state legislative districts, if at all? Best wishes. WEC Sent from my iPhone</p>
<h4 id="268ded72-002"><a href="/">hecker</a> - 2015-03-01 19:50</h4>
<p>See my future posts for some ideas on how this data might be used. Probably the first thing I&rsquo;ll do is look at different county council districts to see if there seems to be any real difference in 2014 general election turnout between the districts. A similar analysis could be done for legislative districts, or at least those portions of the districts within Howard County. (A more complete analysis would need data from Carroll County, Baltimore County, etc.)</p>
]]></content:encoded>
    </item>
    <item>
      <title>Fun with Howard County building permit data</title>
      <link>https://frankhecker.com/2015/02/16/fun-with-howard-county-building-permit-data/</link>
      <pubDate>Mon, 16 Feb 2015 18:53:59 -0500</pubDate>
      <guid>https://frankhecker.com/2015/02/16/fun-with-howard-county-building-permit-data/</guid>
      <description>&lt;p&gt;&lt;em&gt;tl;dr: I have fun creating graphs and maps with building permit data from data.howardcountymd.gov.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I’ve &lt;a href=&#34;https://frankhecker.com/2015/01/19/howard-county-government-by-the-numbers/&#34; title=&#34;Howard County government by the numbers&#34;&gt;written previously&lt;/a&gt; about the cornucopia of interesting data sets that Howard County government has made available at the &lt;a href=&#34;http://data.howardcountymd.gov/&#34;&gt;data.howardcountymd.gov&lt;/a&gt; site.  I had some spare time over a long weekend and decided to try analyzing some of that data, including making use of the various map files on the site (under the “Spacial Data (GIS)” tab).&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p><em>tl;dr: I have fun creating graphs and maps with building permit data from data.howardcountymd.gov.</em></p>
<p>I’ve <a href="/2015/01/19/howard-county-government-by-the-numbers/" title="Howard County government by the numbers">written previously</a> about the cornucopia of interesting data sets that Howard County government has made available at the <a href="http://data.howardcountymd.gov/">data.howardcountymd.gov</a> site.  I had some spare time over a long weekend and decided to try analyzing some of that data, including making use of the various map files on the site (under the “Spacial Data (GIS)” tab).</p>
<p>The particular data set I decided to start with was for building permits issued for residential and commercial construction&mdash;not because I have a burning interest in building permits but because I mentioned this type of data in my last post and thought it would be a relatively easy data set to analyze.  The particular question I decided to look at was how many residential building permits were issued in each zip code within Howard County in 2014&mdash;basically to get a feel for where the most construction was occurring in the county.  (It’s only an approximate measure because some permits cover multiple units.)</p>
<p><a href="/assets/images/hoco-residential-permits-2014-graph.png"><img alt="bar chart showing Howard County residential building permits per zip code" loading="lazy" src="/assets/images/hoco-residential-permits-2014-graph-embed.png"></a></p>
<p>To do the analysis I used the skills and the tools I learned in the courses that are part of the <a href="https://www.coursera.org/specialization/jhudatascience/1?utm_medium=courseDescripTop">Johns Hopkins data science specialization</a> series on Coursera.  (See my <a href="/tag/coursera/">Coursera-related posts</a> for more on my experiences in these classes.)  I won’t go over the process here since I’ve separately published full details on <a href="http://rpubs.com/frankhecker">my RPubs page</a>, with the source code available in <a href="https://github.com/frankhecker/hocodata">my hocodata GitHub repository</a>.</p>
<p>I first created a simple table of the top zip codes for residential permits issued.  This was sort of boring so I won’t reproduce it here; you can find it in the <a href="http://rpubs.com/frankhecker/59553">first example analysis</a> I did.  More interesting is the bar chart I created as part of the <a href="http://rpubs.com/frankhecker/59591">second example</a>.  It’s clear from the chart that there’s wide variation among Howard County zip codes in terms of residential construction.  The two Ellicott City zip codes combined (21042 and 21043) accounted for the largest fraction of residential building permits in 2014; in contrast there were almost no permits issued for east Columbia (21045).</p>
<p><a href="/assets/images/hoco-residential-permits-2014-map.png"><img alt="Howard County map showing residential building permits per zip code" loading="lazy" src="/assets/images/hoco-residential-permits-2014-map-embed.png"></a></p>
<p>However what I really wanted to create was a map showing exactly where permits were being issued across the county.  The Howard County GIS division provides on data.howardcountymd.gov a set of map data for zip codes within Howard County.  After doing a bit of research and experimentation, in <a href="http://rpubs.com/frankhecker/59816">my third example</a> I was able to use this in conjunction with the building permit data to produce a map that is a nice alternative to the bar chart.</p>
<p>I have to stop here and ask the unspoken question: What’s the point of all this?  I’d answer as follows:</p>
<p>First, this shows that releasing government data empowers people to do interesting things with it, especially when combined with free software and easily available online information and training.  Maybe everybody isn’t interested in building permit data or any other individual government data set, but I suspect that there are a fair amount of people out there who are, including small businesses, nonprofit organizations, or just individual activists and interested citizens.</p>
<p>Second, I did all this in a way that is completely reproducible by anyone else.  How often have you seen a graph or map in a newspaper or government report and wondered, where exactly did that data come from?  Wonder no longer: In my examples I start with the raw data as released by Howard County and show all my work in analyzing the data and creating the tables, charts, and maps.</p>
<p>Finally, this is all reusable and adaptable.  For example, suppose you have a better source of data on construction activity, perhaps one that gives the actual numbers of residential units, commercial square footage, and so on.  You can easily plug that modified data into the analysis steps I’ve documented, and create better versions of the charts and maps in my examples.</p>
<p>You can also reuse the overall technical approach for any type of data tied to a geographic area within Howard County.  For example, in addition to zip code areas the data.howardcounty.gov site contains map data for Howard County school districts, election precincts, census tracts, and many other subdivisions of the county.  If you have data sets that are based on those subdivisions (for example, vote totals or turnout percentages for precincts) then you can adapt the code I wrote (all of which is in the public domain) to create your own maps showing how that data varies across the county.</p>
<p>The bottom line is that the data is out there for the picking, as are the tools to make sense of it.  You just need to spend some time learning how to use them or (if you don’t feel up to the task yourself) finding someone who can.  Have fun!</p>
]]></content:encoded>
    </item>
    <item>
      <title>Howard County government by the numbers</title>
      <link>https://frankhecker.com/2015/01/19/howard-county-government-by-the-numbers/</link>
      <pubDate>Mon, 19 Jan 2015 09:00:00 -0500</pubDate>
      <guid>https://frankhecker.com/2015/01/19/howard-county-government-by-the-numbers/</guid>
      <description>&lt;p&gt;&lt;em&gt;tl;dr: As we wait to hear more about Allan Kittleman’s HoCoStat proposal, you don’t have to wait to download lots of useful county-related data at data.howardcountymd.gov.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;During his (ultimately successful) campaign for Howard County Executive, one of Allan Kittleman’s key proposals was to establish &lt;a href=&#34;http://www.baltimoresun.com/news/maryland/howard/ellicott-city/ph-ho-cf-political-notebook-0911-20140911-story.html&#34; title=&#34;Kittleman proposes government accountability program&#34;&gt;HoCoStat&lt;/a&gt;, a program to (in Kittleman’s words), “measure . . . response and process times for various government functions” to help “increase responsiveness, improve efficiency and heighten accountability.”  Kittleman’s administration is in its early days, and nothing much has been heard yet about how and when HoCoStat might be implemented.  (Even the original HoCoStat proposal has disappeared from &lt;a href=&#34;http://kittleman.com&#34;&gt;Kittleman’s web site&lt;/a&gt; as it’s being redesigned, although the Internet archive has a &lt;a href=&#34;https://web.archive.org/web/20141013202423/http://kittleman.com/hocostat/&#34; title=&#34;HoCoStat: It’s Time for Citizens to Have a Platform to Hold Government Accountable&#34;&gt;copy&lt;/a&gt;.)&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p><em>tl;dr: As we wait to hear more about Allan Kittleman’s HoCoStat proposal, you don’t have to wait to download lots of useful county-related data at data.howardcountymd.gov.</em></p>
<p>During his (ultimately successful) campaign for Howard County Executive, one of Allan Kittleman’s key proposals was to establish <a href="http://www.baltimoresun.com/news/maryland/howard/ellicott-city/ph-ho-cf-political-notebook-0911-20140911-story.html" title="Kittleman proposes government accountability program">HoCoStat</a>, a program to (in Kittleman’s words), “measure . . . response and process times for various government functions” to help “increase responsiveness, improve efficiency and heighten accountability.”  Kittleman’s administration is in its early days, and nothing much has been heard yet about how and when HoCoStat might be implemented.  (Even the original HoCoStat proposal has disappeared from <a href="http://kittleman.com">Kittleman’s web site</a> as it’s being redesigned, although the Internet archive has a <a href="https://web.archive.org/web/20141013202423/http://kittleman.com/hocostat/" title="HoCoStat: It’s Time for Citizens to Have a Platform to Hold Government Accountable">copy</a>.)</p>
<p>But don’t despair!  While we’re waiting for HoCoStat to make an appearance there’s other Howard County data-related resources we can explore.  In particular, the <a href="https://data.howardcountymd.gov">data.howardcountymd.gov</a> site has a good and growing collection of county-related datasets, many of them tied to county maps&mdash;no surprise, since the site is maintained by the county’s <a href="http://www.howardcountymd.gov/departments.aspx?ID=4294968277">Geographic Information System (GIS) Division</a>.  Part of what makes the site great is that it is <em>not</em> just presenting predefined maps and PDF documents, but also provides the raw data used to create those maps.</p>
<p>For example, suppose you’re interested in building permits issued in Howard County.  At the simplest level you can view an <a href="https://data.howardcountymd.gov/InteractiveMapV3.html?Workspace=IndividualLayer&amp;Layer=general:Permits_View_Building_New&amp;LayerName=Building%20Permits%20(New">interactive map</a>) showing the locations for all such permits; you can click on the icons corresponding to the issued permits and see the exact address, date when the permit was issued, and other information.</p>
<p>But let’s suppose you want to do more in-depth analysis of permits issued: For example, which areas are seeing the most residential or commercial permits issued?  Or, what is the trend for permits issued over time?  The data.howardcountymd.gov site also lets you download the raw data behind the map in a variety of formats, for example in <a href="https://data.howardcountymd.gov/geoserver/ows?service=WFS&amp;version=1.0.0&amp;request=GetFeature&amp;typeName=general:Permits_View_Building_New&amp;outputFormat=csv">CSV format</a> for use with Excel spreadsheets or statistical software like R, <a href="https://data.howardcountymd.gov/geoserver/ows?service=WFS&amp;version=1.0.0&amp;request=GetFeature&amp;typeName=general:Permits_View_Building_New&amp;outputFormat=kml">KML format</a> for use with Google Maps and Google Earth, and several others.  Armed with the relevant data files you can create your own maps and do your own analysis, including combining the Howard County data with data from other sources like US Census data.</p>
<p>All in all the site&mdash;which is still evolving&mdash;is a model for how Howard County government can make useful data available to the Howard County individual and corporate taxpayers who are ultimately paying for county services.  It would be great to see this strategy extended to HoCoStat as well.  For example, when promoting the HoCoStat proposal Allan Kittleman pointed to (among others) Montgomery County’s <a href="http://www.montgomerycountymd.gov/countystat/">CountyStat</a> site as a model to emulate.  While CountyStat is very nice, it has the disadvantage that you can’t see the raw data behind the performance indicators.</p>
<p>For example, CountyStat has some summary statistics relating to issuance of building permits: average number of days to issue a residential permit, commercial permits for new construction, or other commercial permits.  But there’s a lot more one might want to know: For example, what’s the variability in the time to issue permits?  Are there some permits that for whatever reason took a really long time to issue?  How does the time to issue permits vary across the county?  Are there particular areas that (for whatever reason) are experiencing greater or lesser delays in getting permits issued?  Having the raw data behind the indicators would permit (no pun intended) interested parties to answer these questions, from commercial developers doing large-scale projects down to a small contractor building a single home.</p>
<p>As I wrote in my previous <a href="/2014/11/04/making-howard-county-government-data-of-value-to-us-all/" title="Making Howard County government data of value to us all">post on Howard County government data initiatives</a>, providing unfettered access to raw data (subject to reasonable concerns relating to individual privacy and corporate confidentiality) is key to making government data useful: It allows the private and civic sectors to exercise their own creativity in using that data, rather than trying to have government anticipate every possible use for it, and also lets the private and civic sectors hold government accountable by enabling them to do their own independent analyses of government data.  It’s great to see what Howard County government (and the GIS Division in particular) has been and is doing to make useful data generally available.  I hope that as the Kittleman administration gets down to work and the HoCoStat program is implemented that that spirit of openness and commitment to serve citizens through government data continues.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Online competency-based education</title>
      <link>https://frankhecker.com/2014/09/28/online-competency-based-education/</link>
      <pubDate>Sun, 28 Sep 2014 08:00:00 -0400</pubDate>
      <guid>https://frankhecker.com/2014/09/28/online-competency-based-education/</guid>
      <description>&lt;p&gt;Following up from &lt;a href=&#34;https://frankhecker.com/2014/09/09/adventures-in-online-education/&#34; title=&#34;Adventures in online education&#34;&gt;my previous post&lt;/a&gt; on my experience with Coursera, here are a few links of interest (mostly) relating to online education, with a focus on “competency-based education,” i.e., education directed specifically at teaching people to become competent at one or more tasks or disciplines:&lt;/p&gt;
&lt;p&gt;“&lt;a href=&#34;http://disruption.wpengine.com/publications/hire/&#34;&gt;Hire Education: Mastery, Modularization, and the Workforce Revolution&lt;/a&gt;” (Michelle Weise and Clayton Christensen).  Clayton Christensen is famous for his theory of “&lt;a href=&#34;http://www.christenseninstitute.org/key-concepts/&#34;&gt;disruptive innovation&lt;/a&gt;,” which I think is useful not so much as a proven theory but rather as a way to structure plausible narratives about business success or failure.  When Christensen fails in his predictions it’s usually because he doesn’t pay attention to things that don’t fit neatly into his preferred narratives.  For example, he and co-author Michael Horn &lt;a href=&#34;http://www.claytonchristensen.com/books/disrupting-class/&#34; title=&#34;Disrupting Class: How Disruptive Innovation Will Change the Way the World Learns&#34;&gt;previously hyped&lt;/a&gt; for-profit education companies and failed to see that for many of them actually educating students was not the point.  Rather those companies identified a “head I win, tails you lose” business proposition in “chasing Title IV money [i.e., government-subsidized student loans] in a federal financial aid system ripe for gaming.”  This represents a second try by Christensen and his associates to forecast the future of post-secondary education.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Following up from <a href="/2014/09/09/adventures-in-online-education/" title="Adventures in online education">my previous post</a> on my experience with Coursera, here are a few links of interest (mostly) relating to online education, with a focus on “competency-based education,” i.e., education directed specifically at teaching people to become competent at one or more tasks or disciplines:</p>
<p>“<a href="http://disruption.wpengine.com/publications/hire/">Hire Education: Mastery, Modularization, and the Workforce Revolution</a>” (Michelle Weise and Clayton Christensen).  Clayton Christensen is famous for his theory of “<a href="http://www.christenseninstitute.org/key-concepts/">disruptive innovation</a>,” which I think is useful not so much as a proven theory but rather as a way to structure plausible narratives about business success or failure.  When Christensen fails in his predictions it’s usually because he doesn’t pay attention to things that don’t fit neatly into his preferred narratives.  For example, he and co-author Michael Horn <a href="http://www.claytonchristensen.com/books/disrupting-class/" title="Disrupting Class: How Disruptive Innovation Will Change the Way the World Learns">previously hyped</a> for-profit education companies and failed to see that for many of them actually educating students was not the point.  Rather those companies identified a “head I win, tails you lose” business proposition in “chasing Title IV money [i.e., government-subsidized student loans] in a federal financial aid system ripe for gaming.”  This represents a second try by Christensen and his associates to forecast the future of post-secondary education.</p>
<p>“<a href="http://opencontent.org/blog/archives/3557">The MOOC Misstep and the Open Education Infrastructure</a>” (David Wiley).  One of Clayton Christensen’s blind spots is that he tends to overlook what’s going on in the area of not for profit endeavors.  In his blog “<a href="http://opencontent.org/blog/">Iterating toward Openness</a>” David Wiley covers the general area of <a href="http://en.wikipedia.org/wiki/Open_educational_resources">open educational resources</a> (or OER); this post is a good introduction to his thinking.</p>
<p><a href="https://webmaker.org/literacy">Web Literacy Map</a> (Mozilla project).  A real-world example of the sort of competency-based open education initiative that Wiley’s promoting.  See also the <a href="http://openbadges.org">Open Badges project</a>, a Mozilla-sponsored initiative to create an open infrastructure for granting and publishing credentials.</p>
<p>A Smart Way to Skip College in Pursuit of a Job (Eduardo Porter for the <em>New York Times</em>).  “<a href="http://blog.udacity.com/2014/09/nanodegrees-and-beyond.html">Nanodegrees</a>” are online education provider Udacity’s own take on competency-based education, created in cooperation with major employers.</p>
<p>“<a href="http://www.skilledup.com/blog/coding-bootcamps-doing-what-higher-ed-and-recruiting-cant/">Missing Links: How Coding Bootcamps Are Doing What Higher Ed and Recruiting Can’t</a>” (Robert McGuire for SkilledUp).  You may be beginning to see a trend here: A lot of the action in competency-based training is around software development, data science, and related fields.  That’s because there’s high demand for skilled employees in certain fields and a lack of truly-focused traditional educational offerings to meet that demand.  A related trend: Sites like <a href="http://www.skilledup.com/about/">SkilledUp</a> that are trying to be become trusted guides to these new-style offerings.</p>
<p>Last but not least, here are some other people’s reviews of the <a href="https://www.coursera.org/specialization/jhudatascience/1?utm_medium=listingPage">Johns Hopkins Data Science Specialization courses</a> on Coursera that I’m currently taking:</p>
<ul>
<li>“<a href="http://newdatascientist.blogspot.com/2014/05/online-course-reviews-data-scientists.html">Online Course Reviews: The Data Scientist’s Toolbox, and Getting and Cleaning Data, from Coursera’s Data Science Specialization</a>”</li>
<li>“<a href="http://www.jeffheaton.com/2014/05/review-of-the-first-three-johns-hopkins-coursera-data-science-courses/">Review of the First Three Johns Hopkins Coursera Data Science Courses</a>”</li>
<li>“<a href="https://dbolab.com/johns-hopkins-online-data-science-certification-via-coursera/">Johns Hopkins’s Online Data Science Certification [sic] Via Coursera</a>”</li>
<li>“<a href="http://www.quora.com/Is-it-worth-it-to-pay-9-*-49-for-a-data-science-specialization-on-Coursera">Is it worth it to pay 9 * $49 for a data science specialization on Coursera?</a>”</li>
<li>“<a href="http://www.quora.com/Reviews-of-Coursera-Data-Science-Specialization-Track">Reviews of: Coursera Data Science Specialization Track</a>”</li>
</ul>
<p>From a local point of view these changes (if indeed they continue and are amplified) are not likely to affect high-end universities like Johns Hopkins; they’ll survive based on their ability to select the most talented applicants and plug them into a set of networks that will maximize their chances of success.<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>  The question is rather how they’ll affect institutions like Howard Community College that serve a broader student population that’s looking to acquire job-relevant skills.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>Note that from this point of view online offerings like the John Hopkins Data Science Specialization help to promote the institution and identify potential applicants.  In fact, just this week I received an email from the Bloomberg School of Public Health inviting me to attend one of their “<a href="http://www.jhsph.edu/admissions/visit/virtual-info-sessions/index.html">virtual info sessions</a>” for people considering applying.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
]]></content:encoded>
    </item>
    <item>
      <title>Adventures in online education</title>
      <link>https://frankhecker.com/2014/09/09/adventures-in-online-education/</link>
      <pubDate>Tue, 09 Sep 2014 08:00:00 -0400</pubDate>
      <guid>https://frankhecker.com/2014/09/09/adventures-in-online-education/</guid>
      <description>&lt;p&gt;The last three months or so I’ve been in school (which is why I haven’t been posting as much lately).  Not a real bricks-and-mortar school&amp;mdash;I’ve been participating in the &lt;a href=&#34;https://www.coursera.org/specialization/jhudatascience/1?utm_medium=listingPage&#34;&gt;“Data Science Specialization” series of online courses&lt;/a&gt; created by faculty at the &lt;a href=&#34;http://www.jhsph.edu/&#34;&gt;Johns Hopkins Bloomberg School of Public Health&lt;/a&gt; and offered by &lt;a href=&#34;https://www.coursera.org/about/&#34;&gt;Coursera&lt;/a&gt;, a startup in the online education space.  It’s been an interesting experience, and well worth a blog post.&lt;/p&gt;
&lt;p&gt;The obvious first question is, why I am doing this?  Mainly because I thought it would be fun.  I was an applied mathematics (and physics) major in college, enjoyed the courses I had in probability, statistics, stochastic processes, etc., and wanted to revisit what I had learned and (for the most part) forgotten.  It’s one of my hobbies&amp;mdash;a (bit) more active one than watching TV or reading.  Also, I’ve done some minor fiddling about with statistics on the blog (for example, &lt;a href=&#34;https://frankhecker.com/2010/11/07/exploring-howard-county-election-data-with-r-part-1/&#34; title=&#34;Exploring Howard County election data with R, part 1&#34;&gt;looking at Howard County election data&lt;/a&gt;), am thinking about doing some more in the future, and wanted to have a better grounding in how best to do this.  Finally, “&lt;a href=&#34;http://hbr.org/2012/10/data-scientist-the-sexiest-job-of-the-21st-century/&#34; title=&#34;Data Scientist: The Sexiest Job of the 21st Century&#34;&gt;data scientist&lt;/a&gt;” is one of the most hyped job categories in the last few years, and even though I probably won’t have much occasion to use this stuff in my current job it certainly can’t hurt to learn new skills in anticipation of future jobs.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>The last three months or so I’ve been in school (which is why I haven’t been posting as much lately).  Not a real bricks-and-mortar school&mdash;I’ve been participating in the <a href="https://www.coursera.org/specialization/jhudatascience/1?utm_medium=listingPage">“Data Science Specialization” series of online courses</a> created by faculty at the <a href="http://www.jhsph.edu/">Johns Hopkins Bloomberg School of Public Health</a> and offered by <a href="https://www.coursera.org/about/">Coursera</a>, a startup in the online education space.  It’s been an interesting experience, and well worth a blog post.</p>
<p>The obvious first question is, why I am doing this?  Mainly because I thought it would be fun.  I was an applied mathematics (and physics) major in college, enjoyed the courses I had in probability, statistics, stochastic processes, etc., and wanted to revisit what I had learned and (for the most part) forgotten.  It’s one of my hobbies&mdash;a (bit) more active one than watching TV or reading.  Also, I’ve done some minor fiddling about with statistics on the blog (for example, <a href="/2010/11/07/exploring-howard-county-election-data-with-r-part-1/" title="Exploring Howard County election data with R, part 1">looking at Howard County election data</a>), am thinking about doing some more in the future, and wanted to have a better grounding in how best to do this.  Finally, “<a href="http://hbr.org/2012/10/data-scientist-the-sexiest-job-of-the-21st-century/" title="Data Scientist: The Sexiest Job of the 21st Century">data scientist</a>” is one of the most hyped job categories in the last few years, and even though I probably won’t have much occasion to use this stuff in my current job it certainly can’t hurt to learn new skills in anticipation of future jobs.</p>
<p>The next question is, why an online course?  Because I didn’t have the time (or the money) to commit to attending an in-person class, but I wanted the structure that a formal class provides.  I’ve been <a href="http://math.hecker.org">(re)learning linear algebra</a> out of a textbook for over four years now, and I still haven’t gotten past chapter 3.  Part of the reason is that I’m doing every exercise and blogging about it, but mainly it’s that I don’t have an actual deadline to finish my studies.  In the Coursera series there are nine courses, each lasting a month, with quizzes every week and course projects every 2-4 weeks depending on the course.  I’ve been doing pretty well in the courses thus far and don’t want to spoil my record.  For example, the first project in the current class was due Sunday but I was concerned about missing the deadline and so finished it last Friday night.</p>
<p>I like the way the series of courses is structured as well, not just as a class in statistics (only) but covering the whole range of skills needed to wrangle with data in its various forms, not least including the problems of getting datasets and cleaning them up.  Each class thus far has only been a month long, so the time commitment is not that great and I know any work I do today will pay off in a completed course not too far down the road.  It <em>is</em> a fairly serious commitment of time though, especially since the course video lectures cover only a fraction of what you need to know in order to do the course projects and correctly answer the more difficult quiz questions.  I’ve probably spent almost 10 hours each week working on various aspects of the classes, including doing a copious amount of Internet searching to find out the additional information I need.  But it’s been time well-spent: I feel like I’m getting a good understanding of how to do “data science” tasks&mdash;not that I know everything, but I have a much better picture of what I need to know, and what it would take to finish learning it.</p>
<p>The course I’m currently taking (“<a href="https://www.coursera.org/course/exdata">Exploratory Data Analysis</a>”), like the others in the series, is what’s been referred to as a <a href="http://en.wikipedia.org/wiki/Massive_open_online_course">MOOC</a>, or “massive open online course,” open at no charge to anyone in the world who wants to participate over the Internet.  The instructors provide video lectures and create the quizzes and class projects but are not otherwise directly involved; the students provide help to each other in online discussion forums, assisted by “community TAs,” i.e., former students who volunteer as teaching assistants.  MOOCs have recently been the subject of both <a href="http://www.newyorker.com/magazine/2013/05/20/laptop-u?currentPage=all" title="Laptop U">hype</a> and <a href="https://www.insidehighered.com/news/2013/07/09/higher-ed-leaders-urge-slow-down-mooc-train" title="Beyond MOOC Hype">caution</a>; now that I’ve been involved in them day-to-day I can provide a personal perspective on the controversy.</p>
<p>First, I think MOOCs are good for the sort of people who invented them in the first place: Internet-savvy folks with a technological bent who are motivated to learn something and have the necessary free time and background experience and knowledge to do so effectively.  I’ve certainly appreciated having convenient no-charge access to a wide variety of classes, many of which (like the courses I’m taking now) have been put together by people who are leaders and innovators within their fields.  I’d even consider paying for at least some of these courses (at $49 each) in order to get a more formal “verified certificate” (as opposed to a “statement of accomplishment,” and may do so for later courses within this series&mdash;potentially good news for Coursera, which in the end is a profit-making enterprise.</p>
<p>However for people who are not Internet-savvy, not all that motivated, and don’t have the necessary background then MOOCs aren’t a good choice.  In fact, they’re about the worse choice there is.  The dropout rates in MOOCs are extremely high (well above 90% in many cases), and the first serious test of MOOCs as a replacement for in-person college courses (at San Jose State University) was <a href="https://www.insidehighered.com/news/2013/09/12/after-weeks-delays-san-jose-state-u-releases-research-report-online-courses" title="The Full Report on Udacity Experiment">not a raging success</a>.  Which is not to say that online learning in general is doomed; in its more traditional forms (for example, <a href="http://www.umuc.edu/visitors/about/">University of Maryland University College</a>) it’s doing quite fine.</p>
<p>MOOCs are simply the latest in a long line of attempts to move away from the traditional classroom model and “disrupt” the existing educational establishment.  They’ll eventually find a place in the overall educational picture, most likely serving a variety of needs from “learning as hobby” (what I’m doing), high-end vocational education (what Coursera competitor <a href="https://www.udacity.com">Udacity</a> seems to be <a href="http://www.fastcompany.com/3021473/udacity-sebastian-thrun-uphill-climb">morphing into</a>), or as a supplement to traditional classes.  But that’s for the future, and no real concern of mine; in the meantime I’m just trying to learn how to plot in <a href="http://www.r-project.org">R</a>.</p>
<hr>
<h4 id="1a54292b-001"><a href="https://www.facebook.com/ninabasu" title="nina.basu@gmail.com">Nina Basu</a> - 2014-09-10 15:30</h4>
<p>I LOVE Coursera!</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
