다음 작품 :R 패키지 ACS를 사용하여 SF1에서 국가 및 ZCTA 수준의 추정치를 얻을 수없는 이유는 무엇입니까?
acs::acs.fetch(dataset = "acs",
endyear = 2015,
span = 5,
geography = acs::geo.make(zip = "*"),
variable = "B01001_001")
그래서이 수행합니다 추적이 작동하지 않는 이유가 아니기 때문에에서 사용할 우편 번호 수준 추정이 없기 때문에
acs::acs.fetch(dataset = "sf1",
endyear = 2010,
span = 0,
geography = acs::geo.make(state = "*"),
variable = "PCT0120001")
, 나에게 설명해주십시오 센서스 API. 센서스 API에서 sf1 및 acs5보다 국가 및 ZCTA 수준 추정치를 얻으려면 지리를 다르게 지정해야합니까?
acs::acs.fetch(dataset = "sf1",
endyear = 2010,
span = 0,
geography = acs::geo.make(zip = "*"),
variable = "PCT0120001")
# Error in file(file, "rt") : cannot open the connection
# In addition: Warning message:
# No data found at:
# http://api.census.gov/data/2010/sf1?key=2dd03c4048ca2edb8463d8c0bbdc09c5eb3b4013&get=PCT0120001,NAME&for=zip+code+tabulation+area:*
acs::acs.fetch(dataset = "sf1",
endyear = 2010,
span = 0,
geography = acs::geo.make(us = "*"),
variable = "PCT0120001")
# Error in file(file, "rt") : cannot open the connection
# In addition: Warning message:
# No data found at:
# http://api.census.gov/data/2010/sf1?key=2dd03c4048ca2edb8463d8c0bbdc09c5eb3b4013&get=PCT0120001,NAME&for=us:*