Hello,
I am trying to use the censusapi codes and having issues. At the moment, I am limited to code within a server and I am unable to use the internet during my tasks. Per help censusapi page, it looks like it may be possible to call an excel spreadsheet that is physically located within the server:
Example 2: the alternative method, illustrating also the variable parsing and saving capacities
. censusapi, dataset(https://api.census.gov/data/2019/acs/acs5) variables(B17001_001E B17001_002E) predicate("for=county:*") destination("2019_acs_data.txt")
Adapting this example, I tried:
censusapi, dataset("a census data excel file name") variables(P0010003 P0010008) predicate("for=county:*")
However, this gives me an error message "varlist not allowed". How can I overcome this error?
Thank you,
J
Related Posts with censusapi package
make loop for different deciles with eclass programDear all, I use user written command oaxaca_rif by Rios-Avila (Rios-Avila, F. 2020. Recentered infl…
VAR or VECM- which one to use?If I have 4 variables in a model and I want to check for causality between the two variables say X a…
Right way to extract Confidence Intervals of coefficients of interaction termDear all, I was wondering about what would the right way to form a list or matrix or a variable (ei…
Parallel Trends Assumption in Difference-in-Differences (DiD)Hello guys, recently I´m doing some research on the risk behavior of banks during the low interest …
Lags of RTAsHi, I have the RTA dummy that indicates if a pair of countries have a Regional Trade Agreement. My …
Subscribe to:
Post Comments (Atom)
0 Response to censusapi package
Post a Comment