[Solved] How to remove rows with NULL / Zero (0) in R


We can try

library(dplyr)
df1%>%
   filter(LocationName != "NULL" & LocationID!=0)

solved How to remove rows with NULL / Zero (0) in R