*! version 1.4 11Sep2023
help lxhget

Title

lxhget -- Download datasets of lianxh.cn blogs or network ,
see help lianxh.

Syntax

lxhget
[
filename
,
desc
install
replace
url(string)
]

Options

desc
describe a package.

install
install ado-files and help files from a package.

replace
overwrite the datasets with same filename as the dataset loaded.

url()
specifies that the dataset will be download from url you provied.

Notes:

(1) lxhget with no argument is used to list the datasets available.

(2) filename must contain a suffix, such as .dta, .xlsx, .do, .rar, .txt, .csv, .pkg, etc files.

(3) url() provide an easy way to download dataset from various sources.
For example, the following commands are equivalent:

. lxhget jtrain.dta, url(http://fmwww.bc.edu/ec-p/data/wooldridge)

Description

lxhget provides a easy way to download datasets of
lianxh.cn blogs or network.

These datasets can have various suffixes, such as .dta, xlsx, .do, .rar, .txt, .csv, .pkg, etc files.

To get the aoe_test.zip, give the command lxhget aoe_test.zip.

If you receive an error message, check the web page listing these datasets.

The .dta or .zip of .dta can be directely used through lxhuse command.

Examples

. lxhget // list datasets

. lxhget auto_test.dta

. lxhget auto_test.zip

. lxhget auto_test.xlsx, replace

. lxhget aoeplacebo.pkg //install ancillary files from a package

. lxhget aoeplacebo.pkg, des // describe installed packages

. lxhget aoeplacebo.pkg, install //install ado-files and help files from a package

Acknowledgements

Codes from bcuse by Prof. C.F. Baum have been incorporated.

Author

Yujun, Lian Lingnan College, Sun Yat-Sen University, China.

E-mail: arlionn@163.com.

Blog: lianxh.cn

Other Commands

lianxh (if installed) ssc install lianxh (to install)

bdiff (if installed) ssc install bdiff (to install)

lxhuse (if installed) ssc install lxhuse (to install)

songbl (if installed) ssc install songbl (to install)

xtbalance (if installed) ssc install xtbalance (to install)

ihelp (if installed) ssc install ihelp (to install)

Also see

Online:
use,
webuse,
net get,
bcuse (if installed).