enrich_name: Enrich traffic data with segment name

View source: R/data_enrich.R

enrich_nameR Documentation

Enrich traffic data with segment name

Description

segment_fullname is also added : it's the combination of segment's id and name. segment_id should be in the configuration file.

Usage

enrich_name(data)

Arguments

data

Data frame containing a segment_id column

Value

Same dataframe with two additionnal columns : segment_name and segment_fullname

Examples

df <- data.frame('segment_id' = c(9000002156, 9000001906))
enrich_name(df)


telraamStats documentation built on May 29, 2024, 10:08 a.m.