欢迎加入 TidyFriday !
现在加入即可享受 8 折优惠! See: https://czxa.top/posts/34814/
Stata 提供了一种安装外部命令的基础命令:net install
,你可以在 Stata 的命令输出窗口输入下面的命令安装 cuse
命令:
1 | net install cuse, from("http://czxa.github.io/cuse/cuse") |
推荐使用 E. F. Haghish 开发的 github 命令安装:
首先你需要安装github命令:
1 | net install github, from("https://haghish.github.io/github/") |
然后就可以安装这个命令了:
1 | github install czxa/cuse, replace |
cuse [“]filename[“] [, clear web savetosystem]
从本地文件夹读取 ctbc2.dta
数据集(只有我自己能使用):
1 | cuse ctbc2, clear |
从 GitHub 上读取 ctbc2.dta
数据集:
1 | cuse ctbc2, clear web |
查看当前数据集仓库中的所有可用数据:
1 | cuselist |
HAGHISH E F. github: a module for building, searching, installing, managing, and mining stata packages from github[EB/OL].
https://github.com/haghish/github.
MITCHELL M N, 2012. A visual guide to stata graphics[M/OL]. 3rd edition ed. Stata Press. https://www.stata-press.com/data/vgsg3.html.
如果你需要引用此命令,请参考 cuse-cite.bib。
1 | @Misc{cuse, |
Update your browser to view this website correctly. Update my browser now