在r中使用acs获取十年一次的人口普查数据



我正在尝试获取2000年和2010年的数据:

acs.fetch(endyear="2000",span="0", LA_tract, variable="H002_001", dataset="sf1")

也尝试过:

acs.fetch(endyear="2000",span="0", LA_tract, table.name="H002", dataset="sf1")

(LA_tract是地理位置)

我得到一个错误:

Error in file(file, "rt") : cannot open the connection

变量/表编号正确。。。功能和键可以很好地处理ACS数据,只是不能处理十年数据。

如果能在这个问题上得到任何帮助,我将不胜感激。

span是调查的年数。我看过5、3和1,但没有看过0。

最新更新