Count number of filled out columns in R dataframe to create new column
I have a dataframe df_team which has multiple Team-Columns, of which of course not all have values. The df looks like this, just with over 100 of these Team_ columns: dput(df_team) structure(list(Project = c("etwbv", "werg", "sdfg", "qwreg", "cae", "refdc"), Team_1 = c("ewrg", "werg", "asd", "qwe", NA, "vsfd"), Team_URL_1 = c("abc", "bfh", "fse", "rege", NA, "vsefr"… Read More Count number of filled out columns in R dataframe to create new column