[acs-r] data by school district

Ezra Haber Glenn eglenn at MIT.EDU
Mon Feb 17 22:12:36 EST 2014


Tim:

Yes, absolutely, although you'll need to specify which type of school
district you want: the package supports school.district.elementary
(summary level 950), school.district.secondary (summary level 960),
and school.district.unified (summary level 970).  See help(geo.make)
to see all the geographic options and more.

Assuming you've created some valid geo.set containing school districts
(and possibly other things), and you know which table you want, it's a
snap:

> my.schools=geo.make(state="CA", school.district.unified=c("Alameda","Escalon","Orange"))

> acs.fetch(geography=my.schools, table.number="B01003")
ACS DATA: 
 2007 -- 2011 ;
  Estimates w/90% confidence intervals;
  for different intervals, see confint()
                                                 B01003_001     
Alameda City Unified School District, California 73239 +/- 46   
Escalon Unified School District, California      14088 +/- 778  
Orange Unified School District, California       216201 +/- 1969

The various "school.district.XXX" options can attempt to match on
names, or you can use FIPS codes, or the "*" wildcard for all.  From
help(geo.make):


school.district.elementary: a numeric code (or wildcard "*" for all)
     corresponding to the desired FIPS state school district
     (elementary), or a character string to search for in the names of
     these districts; setting state and school.district.elementary
     without other options corresponds to using census summary level
     950.

school.district.secondary: a numeric code (or wildcard "*" for all)
     corresponding to the desired FIPS state school district
     (secondary), or a character string to search for in the names of
     these districts; setting state and school.district.secondary
     without other options corresponds to using census summary level
     960.

school.district.unified: a numeric code (or wildcard "*" for all)
     corresponding to the desired FIPS state school district
     (unified), or a character string to search for in the names of
     these districts; setting state and school.district.unified
     without other options corresponds to using census summary level
     970.

Do note, however, that the current Census API does not provide data
from the 2006-2010 (five-year) ACS for these summary levels.  (By
default, you'll get data from the 2007-2011 ACS.)  

You can get data from 2008-2012, but depending on the version of the
acs package you may see a warning, which can be ignored:

> acs.fetch(geography=my.schools, table.number="B01003", endyear=2012)
ACS DATA: 
 2008 -- 2012 ;
  Estimates w/90% confidence intervals;
  for different intervals, see confint()
                                                 B01003_001     
Alameda City Unified School District, California 74023 +/- 47   
Escalon Unified School District, California      14429 +/- 929  
Orange Unified School District, California       218410 +/- 2416

See help(geo.make) for more about the current valid combinations
between year and summary levels via the API.

Thanks for using the package, and hope this helps.  Let me know if you
have additional questions.

--Ezra


At Mon, 17 Feb 2014 22:26:03 +0000, Jacobs, Tim W wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; us-ascii (quoted-printable)>]
> 
> [1.2  <text/html; us-ascii (quoted-printable)>]
> Is it possible to get summary information by school district (i.e., summary level 970)
> through the acs package? If so, how?
> 
> Thanks,
> 
> Tim
> 
> 
> [2  <text/plain; us-ascii (7bit)>]
> _______________________________________________
> acs-r mailing list
> acs-r at mit.edu
> http://mailman.mit.edu/mailman/listinfo/acs-r

--
Ezra Haber Glenn, AICP
Department of Urban Studies and Planning
Massachusetts Institute of Technology
77 Massachusetts Ave., Room 7-337
Cambridge, MA 02139
eglenn at mit.edu 
http://dusp.mit.edu/faculty/ezra-glenn | http://eglenn.scripts.mit.edu/citystate/
617.253.2024 (w)
617.721.7131 (c)


More information about the acs-r mailing list