Advantages of filtering signals using analog or digital methods?
You're forgetting the underlying, rock-bottom requirement for digital filters: The analog input must have a bandwidth less than half the sample rate. Without analog filters on the first ADC, digital filters are not guaranteed to meet this criterion, and aliasing is a large potential problem.

With that first hurdle met, digital filters have a large advantage in realizing complex, high-order filters. They do not suffer from component drift or sensitivity. For high-order analog filters this can be a major problem. Capacitors are simply not produced to extremely high precision, so any such filter will require a complex and expensive tuning process, and then may degrade with time as components age.

So it gets to be a judgement call. If low component cost and low complexity are on the table, analog filters are often the best.

If high performance (high order and precise filter characteristics) is needed, or very high stability, digital is usually indicated. And finally, if the filter characteristics are required to change, a digital filter can usually be reprogrammed, while an analog filter will usually need to be replaced.