Open ajdamico opened 6 years ago
hi, i'm hitting this error on a bunch of 5-year acs tables for 2016. here's an example. thanks!
install.packages("acs",clean=TRUE) library(acs) api.key.install(key="592bc14cnotarealkey686552b17fda3c89dd389") acs.lookup( endyear = 2015 , table.number = "B17020" ) # works acs.lookup( endyear = 2016 , table.number = "B17020" ) # fails > acs.lookup( endyear = 2016 , table.number = "B17020" ) Error in data.frame(variable.code = names, table.number = table.numbers, : arguments imply differing number of rows: 5, 9 > > sessionInfo() R version 3.4.3 (2017-11-30) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows Server 2012 R2 x64 (build 9600) Matrix products: default locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] acs_2.1.2 XML_3.98-1.9 stringr_1.2.0 loaded via a namespace (and not attached): [1] httr_1.3.1 compiler_3.4.3 R6_2.2.2 plyr_1.8.4 magrittr_1.5 tools_3.4.3 curl_3.1 Rcpp_0.12.15 stringi_1.1.6
hi, i'm hitting this error on a bunch of 5-year acs tables for 2016. here's an example. thanks!