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
Partially transpose/ reshape variable in datasetHello there, I have a data set like this- uid question c1 c2 c3 1 q1 2 3 6 1 q2 3 5 2 1 q3 4 5 3 …
Help using the browse (br) command using ifHi StataList. How can I use the browse command to display certain observations from four specific w…
Bootstrap of eigenvalues of MCA.Hi, I am a new user of this forum. My question is about how to perform a bootstrap of eigenvalues of…
*ppml trade: "Warning: *variance matrix is nonsymmetric or highly singular"Hi, I am trying to estimate this gravity equation: ppml trade PAIR_FE1-PAIR_FE$NTij_1 EXPORTER_TIM…
Citing local macros in SQL select statementHi everyone, I am trying to extract some data from an external database using the command -odbc load…
Subscribe to:
Post Comments (Atom)
0 Response to censusapi package
Post a Comment