docs: def getkeys(table):
      """
      customize by commenting out unwanted keys
      """
      keys = []
      if table == "ER_expedition":
          pass
      if table == "ER_citations":
          keys.append("er_citation_name")
          keys.append("long_authors")
          keys.append("year")
          keys.append("title")
          keys.append("citation_type")
          keys.append("doi")
          keys.append("journal")
          keys.append("volume")
          keys.append("pages")
          keys.append("book_title")
          keys.append("book_editors")
          keys.append("publisher")
          keys.append("city")
      if table == "ER_locations":
          keys.append("er_location_name")
          keys.append("er_scientist_mail_names")
  #        keys.append("er_location_alternatives" )
          keys.append("location_type")
          keys.append("location_begin_lat")
          keys.append("location_begin_lon")
  #        keys.append("location_begin_elevation" )
          keys.append("location_end_lat")
          keys.append("location_end_lon")
  #        keys.append("location_end_elevation" )
          keys.append("continent_ocean")
          keys.append("country")
          keys.append("region")
          keys.append("plate_block")
          keys.append("terrane")
          keys.append("tectonic_setting")
  #        keys.append("er_citation_names")
      if table == "ER_Formations":
          keys.append("er_formation_name")
          keys.append("formation_class")
          keys.append("formation_lithology")
          keys.append("formation_paleo_environment")
          keys.append("formation_thickness")
          keys.append("formation_description")
      if table == "ER_sections":
          keys.append("er_section_name")
          keys.append("er_section_alternatives")
          keys.append("er_expedition_name")
          keys.append("er_location_name")
          keys.append("er_formation_name")
          keys.append("er_member_name")
          keys.append("section_definition")
          keys.append("section_class")
          keys.append("section_lithology")
          keys.append("section_type")
          keys.append("section_n")
          keys.append("section_begin_lat")
          keys.append("section_begin_lon")
          keys.append("section_begin_elevation")
          keys.append("section_begin_height")
          keys.append("section_begin_drill_depth")
          keys.append("section_begin_composite_depth")
          keys.append("section_end_lat")
          keys.append("section_end_lon")
          keys.append("section_end_elevation")
          keys.append("section_end_height")
          keys.append("section_end_drill_depth")
          keys.append("section_end_composite_depth")
          keys.append("section_azimuth")
          keys.append("section_dip")
          keys.append("section_description")
          keys.append("er_scientist_mail_names")
          keys.append("er_citation_names")
      if table == "ER_sites":
          keys.append("er_location_name")
          keys.append("er_site_name")
  #        keys.append("er_site_alternatives")
  #        keys.append("er_formation_name")
  #        keys.append("er_member_name")
  #        keys.append("er_section_name")
          keys.append("er_scientist_mail_names")
          keys.append("site_class")
  #        keys.append("site_type")
  #        keys.append("site_lithology")
  #        keys.append("site_height")
  #        keys.append("site_drill_depth")
  #        keys.append("site_composite_depth")
  #        keys.append("site_lithology")
  #        keys.append("site_description")
          keys.append("site_lat")
          keys.append("site_lon")
  #        keys.append("site_location_precision")
  #        keys.append("site_elevation")
      if table == "ER_samples":
          keys.append("er_location_name")
          keys.append("er_site_name")
  #       keys.append("er_sample_alternatives")
          keys.append("sample_azimuth")
          keys.append("sample_dip")
          keys.append("sample_bed_dip")
          keys.append("sample_bed_dip_direction")
  #       keys.append("sample_cooling_rate")
  #       keys.append("sample_type")
  #       keys.append("sample_lat")
  #       keys.append("sample_lon")
          keys.append("magic_method_codes")
      if table == "ER_ages":
          #       keys.append("er_location_name")
          #       keys.append("er_site_name")
          #       keys.append("er_section_name")
          #       keys.append("er_formation_name")
          #       keys.append("er_member_name")
          #       keys.append("er_site_name")
          #       keys.append("er_sample_name")
          #       keys.append("er_specimen_name")
          #       keys.append("er_fossil_name")
          #       keys.append("er_mineral_name")
          #       keys.append("tiepoint_name")
          keys.append("age")
          keys.append("age_sigma")
          keys.append("age_unit")
          keys.append("age_range_low")
          keys.append("age_range_hi")
          keys.append("timescale_eon")
          keys.append("timescale_era")
          keys.append("timescale_period")
          keys.append("timescale_epoch")
          keys.append("timescale_stage")
          keys.append("biostrat_zone")
          keys.append("conodont_zone")
          keys.append("magnetic_reversal_chron")
          keys.append("astronomical_stage")
  #       keys.append("age_description")
  #       keys.append("magic_method_codes")
  #       keys.append("er_timescale_citation_names")
  #       keys.append("er_citation_names")
      if table == "MAGIC_measurements":
          keys.append("er_location_name")
          keys.append("er_site_name")
          keys.append("er_sample_name")
          keys.append("er_specimen_name")
          keys.append("measurement_positions")
          keys.append("treatment_temp")
          keys.append("treatment_ac_field")
          keys.append("treatment_dc_field")
          keys.append("treatment_dc_field_phi")
          keys.append("treatment_dc_field_theta")
          keys.append("magic_experiment_name")
          keys.append("magic_instrument_codes")
          keys.append("measurement_temp")
          keys.append("magic_method_codes")
          keys.append("measurement_inc")
          keys.append("measurement_dec")
          keys.append("measurement_magn_moment")
          keys.append("measurement_csd")
      return keys