Working on a Spark platform, using R and RStudio Server, I want to filter my tbl where a given column (string) meets the condition of being numeric. Hence, the column contains both numeric/integer values ('1234') and string values ('x1234') and I want to filter out the latter.
Is this possible using dyplr, for example with the filter operator/function?
I tried stuff like:
tbl2 <- tbl %>% filter(!is.numeric(col1))
By the way: the data is stored on other servers, I don't want to load the data locally. Hence I'm not able to use objects like dataframes. I'm bounded to libraries like dyplr.
Help is highly appreciated!