Hi there
I try to automate my programming as much as possible and one challenge I've come up against recently is in trying to name new variables according to the value labels of existing variables.
For example:
My goal is to name the new variables:
type_measured
type_estimated
type_interpolated
Any advice greatly appreciated.
I try to automate my programming as much as possible and one challenge I've come up against recently is in trying to name new variables according to the value labels of existing variables.
For example:
Code:
sysuse sandstone tab type, gen(type_name)
type_measured
type_estimated
type_interpolated
Any advice greatly appreciated.
Comment