
HALLTOOL - A Stata Toolbox
Introduction
halltool
is a Stata package that provides a set of tools for data analysis and visualization developed by Xinya HAO (Hall).
Installation
You can view the source codes from GitHub.
You can install halltool
using github
command in Stata.
1 | * Install github |
Command List
whichdep
- Install and update all specified
ssc
andnet
packages at once. - Add this command at the beginning of the do file to avoid errors due to uninstalled dependencies after sharing the do file.
- Install and update all specified
xpctile
- Calculate the percentile of a given value in a variable.
rm2
- Enhanced version of
rm
/erase
command. - Delete multiple files and delete files by file types in one command.
- Avoid errors due to file not found.
- Enhanced version of
gradd_ab
- Add asterisk brackets to a graph.
Origional bar plot (left) —> After gradd_ab
csv2dta
- Transform all the .csv in a folder to .dta in one command.
frmstr
- Format long string variables in one command.
appdtas
- Append all the .dta in a folder to one .dta file.
Other resources
colorpalette_hallshue.ado
- A collection of color palettes for Stata.
scheme-hall.scheme
- A customized scheme file for Stata.
- A
_gen_scheme_egs.do
file is provided for generating some example graphs using the scheme file.
Comments