How would I find civil servants (Federal public workers)? What is the correct variable to use?

I am using CPS IPUMS and I can’t find a variable that would distinguish federal workers.

I believe the CLASSWKR variable (code 25, ‘Federal government employee’) is what you are looking for.

I hope this helps!