I have some data of the diet of an omnivorous fish diet collected over 20 years. This data is divided in two seasons, the dry period (drought) and the wet period (flood), and I want to analyze the differences between these periods over the years. Unfortunately, some of these years have an unbalanced sampling design between the drought and flood years, and some periods within the years that we have no samples. If I use a random variable (like the sampling month or the year) in a generalized linear mixed model to control this sampling problem, can I compare the two periods?