This is not a question but rather my experience with getting dbnomics to work. Maybe others will benefit, hence I am posting.
I got an email from Stata yesterday and from it I learnt about dbnomics:
https://www.stata.com/stata-news/new...orner_dbnomics
So I installed the package using
It got installed with no issues.
To load the list of providers of data through dbnomics (e.g. World Bank), I did
I got
The error message is actually much longer but I am posting the relevant part. I figured it is a dependency and so I installed libjson:
After rerunning,
I then got
I figured it is another dependency and so I installed moss:
But it still didn't work:
But nothing showed up in the Results window or the Variables window to indicate that the list of providers actually got downloaded. But in reality it did.
You have to execute the command a second time, and with the 'clear' option:
This time you should see the Variables window get populated. You can then use the Data Editor (Edit/Browse) window or the list command to see the 62 different providers of data through dbnomics.
Hope that helps.
I got an email from Stata yesterday and from it I learnt about dbnomics:
https://www.stata.com/stata-news/new...orner_dbnomics
So I installed the package using
Code:
ssc install dbnomics
To load the list of providers of data through dbnomics (e.g. World Bank), I did
Code:
dbnomics providers
Code:
class libjson undefined
Code:
ssc install libjson
Code:
dbnomics providers
Code:
urlencode() is built-in <istmt>: 3499 s not found <istmt>: 3499 a not found 'return' found where almost anything else expected expression invalid Error: the package moss is required by dbnomics. Try ssc install moss r(111);
Code:
ssc install moss
Code:
urlencode() is built-in <istmt>: 3499 s not found <istmt>: 3499 a not found 'return' found where almost anything else expected expression invalid Downloading list of providers...
You have to execute the command a second time, and with the 'clear' option:
Code:
dbnomics providers, clear
Hope that helps.
Comment