Counting NAs by column in R

Counting NAs by column in R. Benchmarking several functions. How much not leaving the pipeflow costs?

Are you starting your data exploration? Do you want to have an easy overview of your variable NA percentage?

We create a function to benchmark different ways of achieving it:

See the performance dealing with small datasets:

Let’s see how well them scale with 100000 rows dataset:

Carlos Vecina
Carlos Vecina
Lead Data & Advanced Analytics at Aplazame

Lead Data & Advanced Analytics at Aplazame | AI & Data Science for Business