I got it:
library(rjson)
library(plyr)
test<-fromJSON(file=url("http://api.census.gov/data/2010/sf1?key=mykey&get=P0030001,NAME&for=county:*&in=state:48";))
test2<-ldply(test)[-1,]
names(test2)<-ldply(test)[1,]
head(test2)
P0030001 NAME state county
258458 Anderson County48
Dear list,
I've gotten access to the US Census Bureau's developer API for accessing
various datasets they maintain. Here is the link:
http://www.census.gov/developers/
They say that:
"Data are accessible to software developers through a stateless HTTP GET
request. Up to 50 variables can be reques
2 matches
Mail list logo