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
Looking for online courseI must learn basic data analysis, time series analysis, multilevel regression and the emphasis on pa…
Lca with ordinal manifest variables -- equivalent of constraining constants?I am very new to doing LCA. I'm using Stata 15, in case that matters. I am trying to do a latent cl…
how to generate a new variable to describe "symbol"Hi, I have panel data (symbols, daily returns) with 97 symbols to describe ETFs, and all of them ha…
Meta-analysis commands; Metainf and metatrim vil not runHi! I'm a medical student and brand new to Stata. To start with I was told I need the following met…
Difference-in-difference modelDear friends, if there is some literature about two-period DID model. If a policy was implemented fo…
Subscribe to:
Post Comments (Atom)
0 Response to New packages available on SSC: comtrade and htmltab2stata
Post a Comment