Dear Stata Forum,
hope you are all fine.
I have the following simple question.
Let's say I have the occupational codes as such:
Code
1234
5678
6666.01
6666.02
I would like to get rid of the digits after the dot to get the following standardized code:
1234
5678
6666
6666
I want to later merge this occupational code with another dataset that also has this occupational code.
Any ideas?
I would appreciate your help.
Best wishes,
Nico
hope you are all fine.
I have the following simple question.
Let's say I have the occupational codes as such:
Code
1234
5678
6666.01
6666.02
I would like to get rid of the digits after the dot to get the following standardized code:
1234
5678
6666
6666
I want to later merge this occupational code with another dataset that also has this occupational code.
Any ideas?
I would appreciate your help.
Best wishes,
Nico
Comment