biotaphy.data_wrangling.occurrence.accepted_name_data_wrangler

Accepted name data wrangler for occurrences using OTOL name resolution.

Module Contents

Classes

BiotaphyAcceptedNameOccurrenceWrangler

Constructor for BiotaphyAcceptedNameOccurrenceWrangler.

class biotaphy.data_wrangling.occurrence.accepted_name_data_wrangler.BiotaphyAcceptedNameOccurrenceWrangler(name_map=None, name_resolver=None, store_original_attribute=None, out_map_filename=None, map_write_interval=100, out_map_format='json', **params)[source]

Bases: lmpy.data_wrangling.occurrence.accepted_name_wrangler.AcceptedNameOccurrenceWrangler

Constructor for BiotaphyAcceptedNameOccurrenceWrangler.

Parameters
  • name_map (dict or str) – A map of original name to accepted name.

  • name_resolver (str or Method) – If provided, use this method for getting new accepted names. If set to ‘gbif’, use GBIF name resolution.

  • store_original_attribute (str or None) – A new attribute to store the original taxon name.

  • out_map_filename (str) – A file location to write the updated name map.

  • map_write_interval (int) – Update the name map output file after each set of this many iterations.

  • out_map_format (str) – The format to write the names map (csv or json).

  • **params (dict) – Keyword parameters to pass to _OccurrenceDataWrangler.

name = BiotaphyAcceptedNameOccurrenceWrangler[source]
version = 1.0[source]