News
v 0.2.11
New (old) installation URL
cbppstatautils is again hosted at “https://centeronbudget.github.io/cbpp-stata-utils/src”. Some users’ firewalls blocked installation from the raw.githubusercontent.com domain.
To install cbppstatautils, or to update to version 0.2.11, run:
net install cbppstatautils, from("https://centeronbudget.github.io/cbpp-stata-utils/src") replaceAfter installing version 0.2.11, future updates can be installed with:
cbppstatautils, updatev 0.2.10
make_cbpp_profileno longer relies on `c(username)'to construct the folder-shortcut global macros (#26).
v 0.2.9
New installation URL
cbppstatautils is now hosted at “https://raw.githubusercontent.com/CenterOnBudget/cbpp-stata-utils/main/src”.
To install cbppstatautils, or to update to version 0.2.9, run:
net install cbppstatautils, from("https://raw.githubusercontent.com/CenterOnBudget/cbpp-stata-utils/main/src") replaceAfter installing version 0.2.9, future updates can be installed with:
cbppstatautils, updateNew documentation website
New commands
generate_ind_sector_vargenerates an industry sector variable in ACS or CPS microdata (#22).generate_occ_group_vargenerates an occupation group variable in ACS or CPS microdata (#22).copy_curldownloads files from a URL using curl, optionally providing a user-specified user-agent in the HTTP header.labelerreplaceslabeller.labelleris still available as an alias forlabeler. The command gains alblname()option for users to specify the name of the value label to use; default is “varname_lbl”.
Changes
get_cpiufalls back tocopy_curlif the BLS denies the file download and gains optionuser_agent()to pass tocopy_curl(#23).load_datanow supports loading ACS SPM datasets (#21) and 2021-2022 SNAP QC datasets.load_datanow suggests updating cbppstatautils if an unsupported data year is specified (#20).svyset_acsoptionmultiyear()has been renamedn_years().multiyear()is still available as an alias forn_years().categorizegains two new options for controlling value labels.lblname()specifies the name of the value label to create andnformat()specifies the numeric display format to use in value labels.generate_race_varproduces more readable value labels. Acronyms and abbreviations have been replaced with full words (for example, “Native Hawaiian or Pacific Islander” replacing “NHOPI”) and capitalization has been changed to sentence case.Some small under-the-hood changes and formatting fixes have been made.
v 0.2.2
v 0.2.1
- Bug fixes: #16
 
v 0.2.0
v 0.1.9
This release includes breaking changes.
Enhancements
get_acs_pumsnow useslabel_acs_pumsto label data by default. It also displays an error message to the user if unzipping the retrieved files fails.load_datanow supportsifanddatasets(pulse). Whendataset(acs), serialno is de-stringed only when loading data for a range of years that spans the variable type change. Previously, serialno was de-stringed if any of the years inyears()were 2018 and later. De-stringing is now faster; it is implemented withreal()instead ofdestring.get_cpiulabels variables (ifmergeorreplaceis specified).svyset_acs_pumsnow supports multi-year average weights for use in a dataset of multiple 1-year ACS samples appended together.
Breaking changes
generate_acs_major_grouphas been removed from the package.
v 0.1.8
Support for 2020 March CPS in load_data.
v 0.1.7
Bug fixes to get_acs_pums and make_cbpp_profile.
v 0.1.6
Enhancement to load_data: Support SNAP QC datasets.
v 0.1.5
Bug fixes to load_data and generate_aian_var.
v 0.1.4
This release includes breaking changes (*).
- Help files: Formatting fixes and minor edits.
 - Error messages: More consistent with Stata’s base error messages and less verbose.
 - *Syntax change to 
svyset_acs: User must specify not to use replicate weights instead of the reverse (nosdrweightsoption replacesrep_weights). - *Syntax change to 
get_acs_pums: Optionkeep_allreplaceskeep_csv; is equivalent tokeep_zippluskeep_csv. - Enhancement to 
get_acs_pums: Results messages now include hyperlinks to the file paths so users can click to open the directory in File Explorer/Finder. - Bug fix to 
load_data: Does not attempt to destring serialno for 2018 file if user specifiesvars()that do not include serialno. - Change to 
cbppstatautils, update: Runsado updateinstead ofnet installto avoid potential double-installation. - *Enhancement and bug fix to 
inspect_2: For users specifying multiple variables, allows specifying the names of results matrix for each inmatrix(), which replaces thesaveoption. If a category (negative, zero, positive, missing) does not appear in the data, it will be shown as a row containing 0 in frequency and percent, and missing in mean, min, and max. - Enhancement to 
get_cpiu: For users specifying themergeoption, allow user to specify name of variable in memory that contains the year inyearvarname()option. - Enhancement to 
etotal: Allow user to specify confidence level inlevel()option. - *Replace 
make_acs_pums_lblswithlabel_acs_pums: New command generates label.dofile, places it in the package cache files, and runs it on data in memory. Previous command required user to choose where to place the label.dofile and then proactively run it. - New command 
make_cbpp_profile: Sets up standard data teamprofile.do.