This dataset contains survey data including the codebook for an online survey conducted in German and French in Switzerland in spring 2021. With this survey, we aimed to find out what students learn and what teachers teach in this course about digital technologies in agriculture.