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
Descriptive analysisHello, i am suppose to run a descriptive analysis on a varialbe called ' General health'. When i sum…
Building Error Correction modelsDear all, I have 2 variables x and y. y is the dependent variable. I found that they are cointegra…
How to make stata show the "Yes" answers in graphs insted of "No"Hi, I've been trying to graph some data but Stata keeps represent the group who answered no to the …
[Beginner question] Bayesian Hierarchical ModelDear everyone, I'm trying to replicate a Bayesian model similar to one found on page 47-51 of this …
Xtdpdgmm codeHi, I want to replicate the result of the following code by using Xtdpdgmm. But I don't know what wo…
Subscribe to:
Post Comments (Atom)
0 Response to censusapi package
Post a Comment