<div dir="ltr">Thanks! The censusapi package worked.<br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 2, 2018 at 12:33 PM <<a href="mailto:arilamstein@gmail.com">arilamstein@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Leo,<div><br></div><div>You might be interested in the censusapi package: <a href="https://github.com/hrecht/censusapi" target="_blank">https://github.com/hrecht/censusapi</a></div><div><br></div><div>It is designed to fetch all data from the Census API into R.</div><div><br></div><div>Ari</div><div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 2, 2018 at 11:32 AM Ezra Haber Glenn <<a href="mailto:eglenn@mit.edu" target="_blank">eglenn@mit.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Thanks for your email. Although those datasets are available through<br>
the Census API, they are not in the same format (and can't really be<br>
treated in the same ways) as the ACS data, and so the acs package<br>
can't fetch them.<br>
<br>
Sorry!<br>
<br>
On Fri, 02 Nov 2018 12:38:41 -0400, Leo Barlach wrote:<br>
> <br>
> Hi,<br>
> <br>
> My team has been using acs for a while to download Census data, but now we need to<br>
> download business pattern data, ideally the zip code business patters: <br>
> <a href="https://www.census.gov/data/developers/data-sets/cbp-nonemp-zbp/zbp-api.html" rel="noreferrer" target="_blank">https://www.census.gov/data/developers/data-sets/cbp-nonemp-zbp/zbp-api.html</a><br>
> <br>
> The package doesn't seem to find it. Is this data not available through the package?<br>
> <br>
> """<br>
> acs::api.key.install(key = census_key)<br>
> acs::acs.tables.install()<br>
> geo_set <- acs::geo.make(zip.code = '*')<br>
> lookup <- acs::acs.lookup(endyear = 2016, keyword = 'ZBP', case.sensitive = F)<br>
> """<br>
> <br>
> Thanks!<br>
> Leo Barlach<br>
> <br>
> <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-346 <br>
Cambridge, MA 02139 <br>
<a href="mailto:eglenn@mit.edu" target="_blank">eglenn@mit.edu</a> <br>
<a href="http://dusp.mit.edu/faculty/ezra-glenn" rel="noreferrer" target="_blank">http://dusp.mit.edu/faculty/ezra-glenn</a> <br>
617.253.2024 (w) <br>
617.721.7131 (c) <br>
_______________________________________________<br>
acs-r mailing list<br>
<a href="mailto:acs-r@mit.edu" target="_blank">acs-r@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/acs-r" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/acs-r</a><br>
</blockquote></div></div></div></div>
</blockquote></div>