def fetch_presences(data_dir, deputies, date_start, date_end):
presences = PresencesDataset()<EOL>df = presences.fetch(deputies, date_start, date_end)<EOL>save_to_csv(df, data_dir, "<STR_LIT>")<EOL>log.info("<STR_LIT>", len(df))<EOL>log.info("<STR_LIT>", len(df[df.presence == '<STR_LIT>']))<EOL>log.info("<STR_LIT>", len(df[df.presence == '<STR_LIT>']))<EOL>return df<EOL>
:param data_dir: (str) directory in which the output file will be saved
:param deputies: (pandas.DataFrame) a dataframe with deputies data
:param date_start: (str) a date in the format dd/mm/yyyy
:param date_end: (str) a date in the format dd/mm/yyyy