Rename variables

Renaming variables is very easy – just make sure that you:

  • Choose a logical name.
  • Avoid using any spaces or special symbols.
  • Avoid using a name that is already taken by another variable.
rename oldvarname newvarname

For example:

rename var01 id
More information
help rename