# the_zen_of_stata **Repository Path**: fangyebing/the_zen_of_stata ## Basic Information - **Project Name**: the_zen_of_stata - **Description**: the zen of Stata - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2024-03-20 - **Last Updated**: 2024-03-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Stata之禅 ![rate](https://img.shields.io/badge/stars-%E2%98%85%E2%98%85%E2%98%85%E2%98%85%E2%98%86-brightgreen.svg) ![license](https://img.shields.io/badge/license-Apache%202-blue.svg) # The Zen of Stata ## 主要内容 关于Stata编程、绘图、数据处理等。 ## 安装步骤 您可以在Stata中使用`copy`命令将仓库中的文件复制到本地。 如: ## 安装步骤(从github获取) ### 1.首先设定安装地址 ```c global github https://raw.githubusercontent.com/zhangdashenqi net from ${github}/the_zen_of_stata/master/ado ``` ### 2.然后使用Stata内置命令`net`安装Stata之禅命令:`zstata` ```c net install zstata ``` ### 3.安装成功之后,在Stata命令窗口输入`zstata`即可 ```c zstata ``` ![zstata](zstata.png) 此时,您可以自由下载、编辑相关do文档。 ## 安装步骤(从码云`gitee`获取) ### 1.首先设定安装地址 ```c cap mkdir "`c(sysdir_plus)'z" global gitee https://gitee.com/zhangdashenqi/the_zen_of_stata/raw/master/ado ``` ### 2.然后使用命令行工具`curl`安装Stata之禅命令:`zstata` ```c !curl "${gitee}/zstata.ado" -o `c(sysdir_plus)'z/zstata.ado ``` ### 3.安装成功之后,在Stata命令窗口输入`zstata`即可 ```c zstata, g // 从gitee中获取数据 ``` 此时,您可以自由下载、编辑相关do文档。 # 更新列表 ### 301 Python与Stata的数据交互 [Python与Stata的数据交互](./1_data_in_Python_and_Stata) ### 302 Python与Stata的数据交互之时间变量 [Python与Stata的数据交互之时间变量](./2_datetime_in_Python_and_Stata) ### 303 Stata16新功能DataFrame操作1 [Stata16新功能DataFrame操作1](./3_data_frame_1) ### 304 Stata16新功能DataFrame操作2 [Stata16新功能DataFrame操作2](./4_data_frame_2) ## 推荐关注
## 贡献者 * 张大神气 * 李大本事 * 王大聪明 * 四缺三 * 迷途指针 # Contribute Contributions are always welcome! # License [Apache 2](http://www.apache.org/licenses/LICENSE-2.0.txt)