Man pages for ppintosilva/anprflows
Explore and Model ANPR Traffic Flows

all_pathsSearch for all simple paths from source to sink. This is a...
assert_colsAssert that cols are present in input tibble
assert_tibbleAssert that input is a tibble
assert_tidygraphAssert that input is a tidygraph
blank_plotGet an empty ggplot
count_sequencesGet and count trip sequences
crop_spatialCrop spatial features based on od pairs.
cross_super_sequencesCompute the cross product of one set of trip sequences and...
cut_flowsGet the subset of flows whose OD pairs account for the top p...
dayperiodCategorise time into its corresponding period of the day
expand_sequencesExpand any trip sequence of length 3 or greater, with their...
fill_time_gapsMake missing time steps explicit (zero vehicle count).
first_element_greaterGet first element greater than number in vector.
flow_edgesGet edges tibble from flow network
flow_networkCreate a tidygraph from flows and remove spurious edges in...
flow_nodesGet nodes tibble from flow network
get_corridorsGet corridors from observed sequences (wrapper)
get_corridor_setCompute corridor set from ordinary sequences
get_datetime_labelsGet pretty time labels from breaks. Full format is applied to...
get_flows_lCalculate flows at all unique locations of the road network
get_flows_odCalculate flow rates for all OD pairs in the road network
get_neighborsGet the subset of the flow network which contains all nodes...
get_sinkFind and return the sink node of a graph
get_sourceFind and return the source node of a graph
get_subgraphsLabel nodes according to the subgraph, if any, which they...
get_super_sequencesFind the subset of ordinary sequences that are not a...
get_total_flowGet the total od flow in the network.
is_simple_pathDoes the simple path exist in G
is_valid_corridorDetermine if the input corridor is valid
join_sequencesObtain the set of observed sequences from a trip dataset, the...
ordinary_sequencesCalculate the subset of trip sequences which are ordinary.
pipePipe operator
read_flows_csvRead one or more flows csv files into R
reduce_sequencesSum the number of occurrences across each sequence.
route_utilityCalculate the utility loss of each sequence, given the...
seq_firstGet first element of a string sequence
seq_lastGet last element of a string sequence
seq_splitSplit string sequence by sep
stop_if_multiple_time_stepsCheck whether time column exists and throw error
subgraph_labelsLabel nodes according to the subgraph, if any, which they...
top_flowsGet the subset of flows whose OD pairs account for the top p...
try_st_cropCheck whether time column exists and throw error
vec_all_pathsFor each Search for all simple paths from source to sink....
ppintosilva/anprflows documentation built on May 20, 2021, 3:25 p.m.