refactor filter_open_data