CenterOnBudget / cbpp-stata-utils

Stata utility programs created by and for researchers at CBPP.
https://centeronbudget.github.io/cbpp-stata-utils/
Other
2 stars 1 forks source link

load_data error could suggest updating package #20

Closed shingtgen closed 3 months ago

shingtgen commented 1 year ago

Describe the bug Tried to use load_data to pull in March 2022 CPS data and got an error message saying "years() must be between 1980 and 2021 inclusive when dataset() is cps"

To Reproduce load_data cps, year(2022)

Stata version Stata 17

shingtgen commented 1 year ago

Oops just saw it looks like you updated the code to account for the new data so I probably just need to update the program; will do that now.

shingtgen commented 1 year ago

Yep, that worked. I wonder if it would make sense to add to that error message a reminder to update cbppstatautils if it's been a while or if it's around the time new data are out? Just thinking out loud. (You probably notified us in Teams and I missed/forgot.)