#NEWLINE# @ classmethod #NEWLINE# def filename( cls , fmt , timestamp = None , **filter_kwargs ) : #NEWLINE# #INDENT# state = filter_kwargs . get ( 'state' ) #NEWLINE# assert ( state is not None ) #NEWLINE# start_date = filter_kwargs . get ( 'datefilter' ) #NEWLINE# assert ( start_date is not None ) #NEWLINE# start_date_s = start_date . replace ( '-' , '' ) #NEWLINE# suffix_bits = [ 'raw' ] #NEWLINE# race_type = filter_kwargs . get ( 'election_type' ) #NEWLINE# reporting_level = filter_kwargs . get ( 'reporting_level' ) #NEWLINE# return standardized_filename ( state = state , start_date = start_date_s , race_type = race_type , reporting_level = reporting_level , extension = ( '.' + fmt ) , suffix_bits = filter_kwargs )