Thanks two Kit Baum two new packages are available on SSC.
comtrade
comtrade downloads trade data from UN Comtrade. UN Comtrade trade data is available in the JSON (JavaScript Object Notation) format. comtrade uses the user written command jsonio to download the data in the JSON format, it then parses the retrieved data bringing it in into an user friendly format.
UN Comtrade offers data in three different ways, via a bulk download, an API call or a web address. comtrade can retrieve data from all of those, but validates the request first. In addition it can download data from the Monthly Bulletin of Statistics (MBS) of Analytical Trade Tables and World Tables of International Trade Statistics Yearbook (ITSY) including footnotes.
For more information and examples, please see my github page for comtrade.
htmltab2stata
htmltab2stata parses html code from websites. It detects tables enclosed with the html <table> environment and transforms the table into a Stata dataset. To do so, htmltab2stata parses the html code and uses <tr> as row identifiers and code enclosed in <td> as columns. It only transfers content which is not enclosed in < > to Stata, unless option href is used for links. Empty cells remain empty in the Stata dataset.
For more information and examples, please see my github page for htmltab2stata.
Related Posts with New packages available on SSC: comtrade and htmltab2stata
Calculating top and bottom 2.5%Hi everyone, I am trying to add 95% confidence intervals to a kdenstiy plot. I think I need to cacu…
Adding independent variables to xtlogitDear all, For my thesis I have to research the causes of layoffs for (big) Belgian firms. Period 20…
Problem with the data form a multi-line Excel cellDear community, I loaded an Excel file where two columns contain more than one line (The cell inclu…
xtqreg warning message: fitted values of the scale function are not positiveHi, I am running a quantile regression for panel data. I have 50 individuals and at least 500 obser…
Panel methods accounting for both cross-sectional dependence and endogeneity at the same time?* Are there any methods accounting for both cross-sectional dependence and endogeneity at the same ti…
Subscribe to:
Post Comments (Atom)
0 Response to New packages available on SSC: comtrade and htmltab2stata
Post a Comment