次作品: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。国勢調査やZCTA準拠の見積もりをsf1から取得するために地理情報を別に指定する必要がありますか。
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:*