[英]Getting decennial census data using acs in r
I'm trying to get data from 2000 and 2010: 我正在尝试获取2000年和2010年的数据:
acs.fetch(endyear="2000",span="0", LA_tract, variable="H002_001", dataset="sf1")
Also tried: 还尝试了:
acs.fetch(endyear="2000",span="0", LA_tract, table.name="H002", dataset="sf1")
(LA_tract is the geography) (LA_tract是地理)
I get an error: 我收到一个错误:
Error in file(file, "rt") : cannot open the connection
The variable/table number is correct... The function and key work fine with ACS data - just not decade data. 变量/表号正确...功能和键可以与ACS数据一起正常工作-而不是十年数据。
I would appreciate any help with this issue. 希望对这个问题有任何帮助。
span is the number of years in the survey. span是调查的年数。 I've seen 5 and 3 and 1, but not 0.
我看过5、3和1,但看不到0。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.