Risk of pneumonia in the vicinity of goat farms: a comparative assessment of temporal variation based on longitudinal health data