Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rkailechen committed Nov 7, 2023
1 parent b438bda commit 7f66967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ukhls_clean_econstat.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ ukhls_clean_econstat <- function(data = NULL) {
data[nssec_5cat == 3, ns_sec := "Small employers & own account"]
data[nssec_5cat == 4, ns_sec := "Lower supervisory & technical"]
data[nssec_5cat == 5, ns_sec := "Semi-routine & routine"]
data[econ_stat_2cat == "not_employed", ns_sec := "Not employed"]#
data[econ_stat_2cat == "not_employed", ns_sec := "Not employed"]##

data[, ns_sec := factor(ns_sec,
levels = c("Management & professional","Intermediate","Small employers & own account","Lower supervisory & technical","Semi-routine & routine","Not employed"),
Expand Down

0 comments on commit 7f66967

Please sign in to comment.