def run_curr(self, p1, date='1901-1-1', apply_edits=True):
    try:
        new_flag = self.set_selected('curr')
        df = temporal_currency(self.selected, self.features, p1, date)
        if self.debug:
            df.to_featureclass(self.debug, 'curr', overwrite=True)
            return df
        if new_flag:
            print(df)
            return [df, self.create_layer(df, 'Temporal Currency {}'.format(round(time.time())))]
        elif apply_edits:
            return [df, self.update_layer(df, self.curr_url)]
        else:
            return df
    except Exception as e:
        print('Exception Running Temporal Currency: {}'.format(str(e)))
def run_curr(self, p1, date='1901-1-1', apply_edits=True):
    try:
        new_flag = self.set_selected('curr')
        df = temporal_currency(self.selected, self.features, p1, date)
        if self.debug:
            df.to_featureclass(self.debug, 'curr', overwrite=True)
            return df
        if new_flag:
            print(df)
            return [df, self.create_layer(df, 'Temporal Currency {}'.format(round(time.time())))]
        elif apply_edits:
            return [df, self.update_layer(df, self.curr_url)]
        else:
            return df
    except Exception as e:
        print('Exception Running Temporal Currency: {}'.format(str(e)))