selectors package

Selectors define logics to select columns from both customer and public data to join together.

Examples: join by finding the nearest X locations, or by rounding to the same time granularity.

Modules

country_region_selector

Time nearest selector class.

enricher_selector

EnricherSelector is the root class of LocationClosestSelector and TimeNearestSelector.

Two subclass: EnricherLocationSelector: provides some basic calculations of spherical distance EnricherTimeSelector: provides round_to wrapper functions

location_closest_selector

Location closest selector class.

time_nearest_selector

Time nearest selector class.