selectors 包

包含用于从客户数据集选择和联接数据以及来自公共数据集的数据的功能。

选择器定义逻辑,使你能够基于时间和距离度量值使用公共数据集扩充数据。 例如,使用选择器,你可以根据最近的位置或舍入到同一时间粒度来查找要与数据联接的公共数据。

使用包中的 enrichers 某个类时指定选择器。

模块

country_region_selector

包含国家/地区选择器类。

enricher_selector

包含位置和时间选择器的基类。

EnricherSelector 有两个子类:

EnricherSelectorLocationClosestSelector. 的TimeNearestSelector根类。

location_closest_selector

包含最接近选择器类的位置。

time_nearest_selector

包含最近的选择器类的时间。