The RC series is a snubber, which is added from the input supply to ground, consisting of resistor RSN in series with capacitor CSN. Used to limit voltage transients that occur when there is a sudden interruption of current flow. These transients can cause EMI and potentially damage electronic components. It is best practice to follow the datasheet and should be included.