artist_aggregated_rankings_order_direction_mapping = dict( asc='asc', ASC='asc', desc='desc', DESC='desc', ) artist_aggregated_rankings_order_by_mapping = dict( CHANGE='change', CHART_COUNTRYCODE='dc.country', CHART_NAME='dc.name', CHART_PLATFORM='dc.platform', DAYS_ON_CHART='days_on_chart', EXIT_TIMESTAMP='exit_timestamp', FIRST_POSITION='first_position', FIRST_TIMESTAMP='first_timestamp', MOST_RECENT_POSITION='most_recent_position', MOST_RECENT_TIMESTAMP='most_recent_timestamp', PEAK_POSITION='peak_position', PEAK_TIMESTAMP='peak_timestamp', POSITION='position', PREVIOUS_POSITION='previous_position', PREVIOUS_TIMESTAMP='previous_timestamp', SOUND_RECORDING_NAME='sound_recording_name', )