To add to this, I do not have a phd in econ, but did what you recommended and work as a data scientist with PhD economists. If you do this, you will make just as much as they do.