我正在努力获得2015年的人口统计数据。当我尝试下面的代码时,会返回一条错误消息。
library(devtools)
install_github('arilamstein/choroplethrZip@v1.4.0')
library(choroplethrZip)
df_zip_2015 = get_zip_demographics(2015,5)当数据试图读取时,我首先得到一些由强制警告引入的NAs,然后返回一个错误消息。
Error in choroplethr:::convert_acs_obj_to_df("zip", age, 1) :
argument "include_moe" is missing, with no default我有办法解决这个问题吗?
发布于 2018-10-31 01:06:15
看起来您正在安装choroplethrZip 1.4.0版本。但是,如果您转到choroplethrZip github页面,您将看到最新版本实际上是1.5.0。
当我运行这段代码时:
library(devtools)
install_github('arilamstein/choroplethrZip@v1.5.0')
library(choroplethrZip)
df_zip_2015 = get_zip_demographics(2015,5)我不明白你描述的错误。
https://stackoverflow.com/questions/53074522
复制相似问题