<div dir="ltr">I thought that people might want to see the analysis that I wound up doing. Thank you all for your help!<div><br></div><div><a href="http://blog.revolutionanalytics.com/2015/04/exploring-san-francisco-with-choropleth.html">http://blog.revolutionanalytics.com/2015/04/exploring-san-francisco-with-choropleth.html</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 2, 2015 at 2:13 PM, Ezra Haber Glenn <span dir="ltr"><<a href="mailto:eglenn@mit.edu" target="_blank">eglenn@mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Yes -- the warning is simply there because as of the most recent date<br>
of the package, the 2013 data wasn't available. If you run your code,<br>
you'll see that despite the warning, the data gets fetched. (This is<br>
why it is a warning and not an error, but I know it's confusing and<br>
will change in the next version.)<br>
<br>
--Ezra<br>
<div><div class="h5"><br>
At Thu, 2 Apr 2015 13:26:17 -0700, arilamstein wrote:<br>
><br>
> Thanks Mark.<br>
><br>
> I need to use zctas because I am creating a demo of my package which visualizes zctas in R<br>
> (<a href="https://github.com/arilamstein/choroplethrZip" target="_blank">https://github.com/arilamstein/choroplethrZip</a>).<br>
><br>
> When I try to access 2013 data I get this warning:<br>
><br>
> library(acs)<br>
> zip_geo = geo.make(zip.code = "*")<br>
> data = acs.fetch(geography=zip_geo, table.number = "B03002", col.names = "pretty", endyear<br>
> = 2013, span = 5)<br>
><br>
> Warning messages:<br>
> 1: In acs.fetch(geography = zip_geo, table.number = "B03002", col.names = "pretty", :<br>
> As of the date of this version of the acs package<br>
> Census API did not provides data for selected endyear<br>
><br>
> Is this warning spurious?<br>
><br>
> Thanks.<br>
><br>
> Ari<br>
><br>
> On Thu, Apr 2, 2015 at 9:17 AM, Corrales, Mark <<a href="mailto:Corrales.Mark@epa.gov">Corrales.Mark@epa.gov</a>> wrote:<br>
><br>
> I would suggest using newer data (2009-2013 is available), and consider using tracts<br>
> (or even block groups) instead of zip codes/ZCTAs because they are more stable over<br>
> time and can be rolled up into county totals, etc.<br>
><br>
> As to which table, you might consider table B03002, which in one table gives you all<br>
> the counts you need, from which you can calculate percentages, for these eight race/<br>
> ethnicity groups (which add up to the total population):<br>
><br>
> Hispanic or Latino<br>
> Not Hispanic or Latino: White alone<br>
> Not Hispanic or Latino: Black or African American alone<br>
> Not Hispanic or Latino: American Indian and Alaska Native alone<br>
> Not Hispanic or Latino: Asian alone<br>
> Not Hispanic or Latino: Native Hawaiian and Other Pacific Islander alone<br>
> Not Hispanic or Latino: Some other race alone<br>
> Not Hispanic or Latino: Two or more races<br>
><br>
> Just divide the count by the Total shown in that same table.<br>
><br>
> <a href="http://factfinder.census.gov/faces/affhelp/jsf/pages/metadata.xhtml?lang=en&type=table" target="_blank">http://factfinder.census.gov/faces/affhelp/jsf/pages/metadata.xhtml?lang=en&type=table</a><br>
> &id=table.en.ACS_13_5YR_B03002#<br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:acs-r-bounces@mit.edu">acs-r-bounces@mit.edu</a> [mailto:<a href="mailto:acs-r-bounces@mit.edu">acs-r-bounces@mit.edu</a>] On Behalf Of<br>
> <a href="mailto:acs-r-request@mit.edu">acs-r-request@mit.edu</a><br>
> Sent: Thursday, April 02, 2015 12:02 PM<br>
> To: <a href="mailto:acs-r@mit.edu">acs-r@mit.edu</a><br>
> Subject: acs-r Digest, Vol 15, Issue 1<br>
><br>
> Send acs-r mailing list submissions to<br>
> <a href="mailto:acs-r@mit.edu">acs-r@mit.edu</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="http://mailman.mit.edu/mailman/listinfo/acs-r" target="_blank">http://mailman.mit.edu/mailman/listinfo/acs-r</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:acs-r-request@mit.edu">acs-r-request@mit.edu</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:acs-r-owner@mit.edu">acs-r-owner@mit.edu</a><br>
><br>
> When replying, please edit your Subject line so it is more specific than "Re: Contents<br>
> of acs-r digest..."<br>
><br>
> Today's Topics:<br>
><br>
> 1. ACS tables that deal with race (<a href="mailto:arilamstein@gmail.com">arilamstein@gmail.com</a>)<br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Wed, 1 Apr 2015 16:35:53 -0700<br>
> From: <<a href="mailto:arilamstein@gmail.com">arilamstein@gmail.com</a>><br>
> Subject: [acs-r] ACS tables that deal with race<br>
> To: acs-r <<a href="mailto:acs-r@mit.edu">acs-r@mit.edu</a>><br>
> Message-ID:<br>
> <CAEO2ku+owU0nFvgthQzm0SG_Rwun0xN8jhiMC=<a href="mailto:3miZkjbFMAhw@mail.gmail.com">3miZkjbFMAhw@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> Hello,<br>
><br>
> I am a bit confused by the ACS tables that deal with race. For reference, I am<br>
> currently working with the 2011 5 year ACS tables which are listed here <http://<br>
> <a href="http://factfinder.census.gov/faces/affhelp/jsf/pages/metadata.xhtml?lang=en&type=dataset&id=" target="_blank">factfinder.census.gov/faces/affhelp/jsf/pages/metadata.xhtml?lang=en&type=dataset&id=</a><br>
> dataset.en.ACS_11_5YR>,<br>
> and I am trying to get data on ZCTAs. My goal is to create choropleth maps of San<br>
> Francisco that show key demographic information.<br>
><br>
> Table B02008 is listed as WHITE ALONE OR IN COMBINATION WITH ONE OR MORE OTHER RACES<br>
> but it returns a count of people, not a percentage of the total population. There seem<br>
> to be various "G" tables that give the percentage of people who are white alone (e.g.<br>
> GCT0201), but a) none of those geographic units are ZCTAs and b) IIRC acs.r cannot<br>
> retrieve tables that start with a G.<br>
><br>
> Presumably I could just divide those numbers by the result of table B00001 (UNWEIGHTED<br>
> SAMPLE COUNT OF THE POPULATION ) or B01003 (TOTAL POPULATION ), but I'm not sure what<br>
> the difference is between those two tables are. Can someone give me some pointers?<br>
><br>
> Thanks.<br>
><br>
> Ari<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <a href="http://mailman.mit.edu/pipermail/acs-r/attachments/20150401/81f00252/" target="_blank">http://mailman.mit.edu/pipermail/acs-r/attachments/20150401/81f00252/</a><br>
> attachment-0001.htm<br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> acs-r mailing list<br>
> <a href="mailto:acs-r@mit.edu">acs-r@mit.edu</a><br>
> <a href="http://mailman.mit.edu/mailman/listinfo/acs-r" target="_blank">http://mailman.mit.edu/mailman/listinfo/acs-r</a><br>
><br>
> End of acs-r Digest, Vol 15, Issue 1<br>
> ************************************<br>
><br>
> _______________________________________________<br>
> acs-r mailing list<br>
> <a href="mailto:acs-r@mit.edu">acs-r@mit.edu</a><br>
> <a href="http://mailman.mit.edu/mailman/listinfo/acs-r" target="_blank">http://mailman.mit.edu/mailman/listinfo/acs-r</a><br>
><br>
><br>
<br>
</div></div>--<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> (w)<br>
<a href="tel:617.721.7131" value="+16177217131">617.721.7131</a> (c)<br>
<br>
//----------------------------------------------------------------------\\<br>
|| Sick and tired of surveillance? Use GnuPG with me. ||<br>
|| ||<br>
|| My public key is available here: ||<br>
|| <<a href="https://pgp.mit.edu/pks/lookup?op=vindex&search=0x322B632172CDB8DF" target="_blank">https://pgp.mit.edu/pks/lookup?op=vindex&search=0x322B632172CDB8DF</a>> ||<br>
\\----------------------------------------------------------------------//<br>
</blockquote></div><br></div>