Skip to contents

Find the closest stations

Usage

find_closest_stations(field_df, stations_df, radius)

Arguments

field_df

is the fields dataset.

stations_df

is the dataset that includes all the active stations that was derived from the pull_active_stations() function.

radius

is set to the maximum distance a station could be away from a field.

Examples