<div dir="ltr">I just created a petition on <a href="http://whitehouse.gov">whitehouse.gov</a> asking the Obama administration to make all census data from all years available via the Census Developer API. &nbsp;Please consider signing it and sharing it with other people who you think might benefit from this:&nbsp;<a href="http://wh.gov/lnc3J" target="_top" style="color:rgb(51,102,153);text-decoration:none;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:24px">http://wh.gov/lnc3J</a></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 3, 2014 at 2:09 PM, Ezra Haber Glenn <span dir="ltr">&lt;<a href="mailto:eglenn@mit.edu" target="_blank">eglenn@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The acs.R package is limited to data available via the API, listed<br>
here: &lt;<a href="http://www.census.gov/developers/data/" target="_blank">http://www.census.gov/developers/data/</a>&gt;. &nbsp;In short, right now<br>
it&#39;s only the 5-year survey ending in 2010, 2011, 2012.<br>
<br>
In addition, the package can only deal with the &quot;Summary File&quot;<br>
variables -- not the &quot;Data Profiles,&quot; which are really in a different<br>
format -- more like short reports than summary tables.<br>
<br>
In the future, I expect that the census will add the 1- and 3-year<br>
summary files to the API, at which point the package will be able<br>
fetch those as well.<br>
<span class="HOEnZb"><font color="#888888"><br>
--Ezra<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
At Sat, 1 Feb 2014 22:33:42 -0800, M Edward (Ed) Borasky wrote:<br>
&gt;<br>
&gt; My initial goal for pdxcensusdata was to provide a &#39;decoder ring&#39; for<br>
&gt; Census data for local journalists. The initial test case was going to<br>
&gt; be languages spoken at home, since the transportation planners here<br>
&gt; need that for signage and the mobile apps. And I&#39;m personally<br>
&gt; interested in the Gini coefficient measures of inequality.<br>
&gt;<br>
&gt; I&#39;m pretty sure the acs.R package only accesses 2010, 2011 and 2012 as<br>
&gt; &quot;end years&quot;, with a length parameter of 1, 3 or 5 years.<br>
&gt;<br>
&gt; On Sat, Feb 1, 2014 at 10:25 PM, &nbsp;&lt;<a href="mailto:arilamstein@gmail.com">arilamstein@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Ed,<br>
&gt; &gt;<br>
&gt; &gt; The pdxcensusdata project looks very interesting, but I still have the same<br>
&gt; &gt; question - which years are accessible with the current version of acs.R?<br>
&gt; &gt;<br>
&gt; &gt; You are (mostly) correct about the limitations of the current version of<br>
&gt; &gt; choroplethr. &nbsp;But in addition to state and county level data, it also<br>
&gt; &gt; renders ZCTA (Zip Code Tabulated Area) level data. &nbsp;Although I had trouble<br>
&gt; &gt; working with the ZCTA shapefile that the census releases, so I just render<br>
&gt; &gt; each ZIP as a colored dot, centered at the longitude and latitude of the<br>
&gt; &gt; ZIP. &nbsp;At that point its no longer a proper choropleth (because it lacks a<br>
&gt; &gt; border), but I still thought it was worth including in the project.<br>
&gt; &gt;<br>
&gt; &gt; I spoke with Ramnath briefly as well about using rCharts for rendering<br>
&gt; &gt; choropleths, but I haven&#39;t had a chance to follow up with him yet. &nbsp;Please<br>
&gt; &gt; send along any interesting results you get. &nbsp;I think that choropleths are<br>
&gt; &gt; going to benefit a lot from the recent advances in interactive graphics.<br>
&gt; &gt;<br>
&gt; &gt; Ari<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Sat, Feb 1, 2014 at 7:24 PM, M. Edward (Ed) Borasky &lt;<a href="mailto:znmeb@znmeb.net">znmeb@znmeb.net</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I have a script that will extract table code names and their<br>
&gt; &gt;&gt; definitions into CSV files so one can browse, rather than doing a<br>
&gt; &gt;&gt; lookup via acs.r lookup functions. See<br>
&gt; &gt;&gt; <a href="https://github.com/znmeb/pdxcensusdata/tree/master/csv" target="_blank">https://github.com/znmeb/pdxcensusdata/tree/master/csv</a>. However, this<br>
&gt; &gt;&gt; only covers 2012, 2011 and 2010, not earlier data. I suspect if there<br>
&gt; &gt;&gt; are XML files on the Census Bureau site equivalent to the ones in<br>
&gt; &gt;&gt; acs.r I could hack up the scripts to use them without much trouble if<br>
&gt; &gt;&gt; you have a use for this.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; As far as I can tell, choropleth.R only goes down to the county level,<br>
&gt; &gt;&gt; not census tract, block group or block. I&#39;m also talking to Ramnath<br>
&gt; &gt;&gt; Vaidyanathan of rCharts (<a href="http://ramnathv.github.io/rCharts/" target="_blank">http://ramnathv.github.io/rCharts/</a>) about<br>
&gt; &gt;&gt; making Census choropleth maps using Leaflet.js, which will rended<br>
&gt; &gt;&gt; automagically on Github Pages. I&#39;m going to try to hack something up<br>
&gt; &gt;&gt; for that this week in the above-linked project.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Sat, Feb 1, 2014 at 7:13 PM, &nbsp;&lt;<a href="mailto:arilamstein@gmail.com">arilamstein@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt; &gt; Hi Ezra,<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Thanks for including this update. &nbsp;I&#39;m having a tough time figuring out<br>
&gt; &gt;&gt; &gt; what<br>
&gt; &gt;&gt; &gt; data is available via acs.R. &nbsp;From what you&#39;ve said before, I gather<br>
&gt; &gt;&gt; &gt; that<br>
&gt; &gt;&gt; &gt; it&#39;s &quot;whatever is available via the Census API&quot;. &nbsp;But that is also not<br>
&gt; &gt;&gt; &gt; clear<br>
&gt; &gt;&gt; &gt; to me. &nbsp;For example, I found this page on the census website, which I<br>
&gt; &gt;&gt; &gt; think<br>
&gt; &gt;&gt; &gt; lists all ACS ever conducted:<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; <a href="http://factfinder2.census.gov/faces/help/jsf/pages/metadata.xhtml?lang=en&amp;type=survey&amp;id=survey.en.ACS_ACS" target="_blank">http://factfinder2.census.gov/faces/help/jsf/pages/metadata.xhtml?lang=en&amp;type=survey&amp;id=survey.en.ACS_ACS</a><br>

&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; But when I tried to get the 2005 or 2007 ACS I get an error message and<br>
&gt; &gt;&gt; &gt; lots<br>
&gt; &gt;&gt; &gt; of warnings. &nbsp;Do you have any documentation of what data your package<br>
&gt; &gt;&gt; &gt; supports retrieving?<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; I am interested in making animated gifs where each frame is a choropleth<br>
&gt; &gt;&gt; &gt; of<br>
&gt; &gt;&gt; &gt; some demographic measurement at a particular year. &nbsp;Right now that&#39;s<br>
&gt; &gt;&gt; &gt; difficult because I&#39;m just going hit or miss thru the list, and it seems<br>
&gt; &gt;&gt; &gt; to<br>
&gt; &gt;&gt; &gt; be a lot of misses.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Also, in version 1.0 of choroplethr I am just using the 2011 (default)<br>
&gt; &gt;&gt; &gt; ACS.<br>
&gt; &gt;&gt; &gt; In subsequent versions I would like users to use whatever (year, span)<br>
&gt; &gt;&gt; &gt; combinations acs.R supports. &nbsp;I would also like to distribute a list of<br>
&gt; &gt;&gt; &gt; available data with my code, but right now I don&#39;t have one.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Thanks.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Ari<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; On Wed, Jan 22, 2014 at 5:30 PM, Ezra Haber Glenn &lt;<a href="mailto:eglenn@mit.edu">eglenn@mit.edu</a>&gt;<br>
&gt; &gt;&gt; &gt; wrote:<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; Dear acs.R folks:<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; As some of you have noticed, the new five-year Census ACS data has<br>
&gt; &gt;&gt; &gt;&gt; just come out (see &lt;<a href="http://www.census.gov/developers/data/" target="_blank">http://www.census.gov/developers/data/</a>&gt;), and is<br>
&gt; &gt;&gt; &gt;&gt; now available via the Census API. To make sure you are able to fetch<br>
&gt; &gt;&gt; &gt;&gt; the freshest possible data to play with in R, I&rsquo;ve updated the acs.R<br>
&gt; &gt;&gt; &gt;&gt; package to version 1.2, which now includes full support for the<br>
&gt; &gt;&gt; &gt;&gt; 2008&ndash;2012 ACS data.<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; The latest version is now available on the CRAN repository -- see<br>
&gt; &gt;&gt; &gt;&gt; &lt;<a href="http://cran.r-project.org/web/packages/acs/index.html" target="_blank">http://cran.r-project.org/web/packages/acs/index.html</a>&gt;. If you&rsquo;ve<br>
&gt; &gt;&gt; &gt;&gt; already installed the package in the past, you can easily update with<br>
&gt; &gt;&gt; &gt;&gt; the update.packages() command; if you&rsquo;ve never installed it, you can<br>
&gt; &gt;&gt; &gt;&gt; just as easily install it for the first time, by simply typing<br>
&gt; &gt;&gt; &gt;&gt; install.packages(&ldquo;acs&rdquo;). In either case, be sure to load the library<br>
&gt; &gt;&gt; &gt;&gt; after installing by typing library(acs), and install (or re-install)<br>
&gt; &gt;&gt; &gt;&gt; an API key with api.key.install() &mdash; see the documentation and the<br>
&gt; &gt;&gt; &gt;&gt; latest version of the acs user guide for more info.<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; To get the latest data, just continue to use the acs.fetch() function<br>
&gt; &gt;&gt; &gt;&gt; as usual, but specify endyear=2012. (By default, endyear is set to<br>
&gt; &gt;&gt; &gt;&gt; 2011 if no year is explicitly passed to acs.fetch, and I didn&rsquo;t want<br>
&gt; &gt;&gt; &gt;&gt; to change this for fear of breaking existing user scripts. In the<br>
&gt; &gt;&gt; &gt;&gt; future, we might to rethink this, so that it selects the most recent<br>
&gt; &gt;&gt; &gt;&gt; endyear by default. Thoughts?)<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; (Note: It might take a day or two for the updates to percolate through<br>
&gt; &gt;&gt; &gt;&gt; the CRAN system. &nbsp;If you update and you&rsquo;re not sure which version you<br>
&gt; &gt;&gt; &gt;&gt; are using, you can always type packageVersion(&ldquo;acs&rdquo;) to find out.)<br>
&gt; &gt;&gt; &gt;&gt; --<br>
&gt; &gt;&gt; &gt;&gt; Ezra Haber Glenn, AICP<br>
&gt; &gt;&gt; &gt;&gt; Department of Urban Studies and Planning<br>
&gt; &gt;&gt; &gt;&gt; Massachusetts Institute of Technology<br>
&gt; &gt;&gt; &gt;&gt; 77 Massachusetts Ave., Room 7-337<br>
&gt; &gt;&gt; &gt;&gt; Cambridge, MA 02139<br>
&gt; &gt;&gt; &gt;&gt; <a href="mailto:eglenn@mit.edu">eglenn@mit.edu</a><br>
&gt; &gt;&gt; &gt;&gt; <a href="http://dusp.mit.edu/faculty/ezra-glenn" target="_blank">http://dusp.mit.edu/faculty/ezra-glenn</a> |<br>
&gt; &gt;&gt; &gt;&gt; <a href="http://eglenn.scripts.mit.edu/citystate/" target="_blank">http://eglenn.scripts.mit.edu/citystate/</a><br>
&gt; &gt;&gt; &gt;&gt; <a href="tel:617.253.2024" value="+16172532024">617.253.2024</a> (w)<br>
&gt; &gt;&gt; &gt;&gt; <a href="tel:617.721.7131" value="+16177217131">617.721.7131</a> (c)<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; &gt;&gt; acs-r mailing list<br>
&gt; &gt;&gt; &gt;&gt; <a href="mailto:acs-r@mit.edu">acs-r@mit.edu</a><br>
&gt; &gt;&gt; &gt;&gt; <a href="http://mailman.mit.edu/mailman/listinfo/acs-r" target="_blank">http://mailman.mit.edu/mailman/listinfo/acs-r</a><br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; acs-r mailing list<br>
&gt; &gt;&gt; &gt; <a href="mailto:acs-r@mit.edu">acs-r@mit.edu</a><br>
&gt; &gt;&gt; &gt; <a href="http://mailman.mit.edu/mailman/listinfo/acs-r" target="_blank">http://mailman.mit.edu/mailman/listinfo/acs-r</a><br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; Twitter: <a href="http://twitter.com/znmeb" target="_blank">http://twitter.com/znmeb</a>; Computational Journalism on a Stick<br>
&gt; &gt;&gt; <a href="http://j.mp/CompJournoStickOverview" target="_blank">http://j.mp/CompJournoStickOverview</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; My poltergeist can beat up your zeitgeist.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Twitter: <a href="http://twitter.com/znmeb" target="_blank">http://twitter.com/znmeb</a>; Computational Journalism on a Stick<br>
&gt; <a href="http://j.mp/CompJournoStickOverview" target="_blank">http://j.mp/CompJournoStickOverview</a><br>
&gt;<br>
&gt; My poltergeist can beat up your zeitgeist.<br>
<br>
--<br>
Ezra Haber Glenn, AICP<br>
Department of Urban Studies and Planning<br>
Massachusetts Institute of Technology<br>
77 Massachusetts Ave., Room 7-337<br>
Cambridge, MA 02139<br>
<a href="mailto:eglenn@mit.edu">eglenn@mit.edu</a><br>
<a href="http://dusp.mit.edu/faculty/ezra-glenn" target="_blank">http://dusp.mit.edu/faculty/ezra-glenn</a> | <a href="http://eglenn.scripts.mit.edu/citystate/" target="_blank">http://eglenn.scripts.mit.edu/citystate/</a><br>

<a href="tel:617.253.2024" value="+16172532024">617.253.2024</a>&nbsp;(w)<br>
<a href="tel:617.721.7131" value="+16177217131">617.721.7131</a>&nbsp;(c)<br>
</div></div></blockquote></div><br></div>