NEWS.md
add_distance()
calculates the distance between sensors based on a given corridor and direction. Interpolates missing values by default.generate_spatial_lines()
generates an sf
object with a LINESTRING
for each given corridor, corridor direction, and corridor category. Limitations are noted in documentation.aggregate_sensor_data()
is now aggregate_sensor()
_data()
is superfluous, so was removed.replace_impossible
, replace impossible volume and occupancy values in the 30-second (raw) data with NA
interpolate_missing
, interpolate missing volume and occupancy using a rolling mean of the two neighboring observations (before and after).occupancy_threshold
, set a threshold for occupancy when calculating speed. Very low occupancy percentages were causingNA
by hour for 10-minute and 1-hour aggregations.NEWS.md
file to track changes to the package.