uniqueRoutesInHexTessalation: Return spatial polygon of hexagonal features with a count of...

Description Usage Arguments Value

View source: R/uniqueRoutesInHexAreaByCounty.R

Description

Return spatial polygon of hexagonal features with a count of the number of unique routes with a stop inside the hex area's contained in the specified counties

Usage

1
uniqueRoutesInHexTessalation(gtfsObj, tidyCensusAPIKey = NULL, hexSize = 0.01)

Arguments

gtfsObj

object from gtfsfunctions::formatGTFSObject()

tidyCensusAPIKey

String for tidy_census::get_acs() api key

hexSize

number specifying hex size (smaller value creates more smaller sized hexes but takes longer to load). Default = 0.01

Value

returns an sf data frame with 4 columns (hex_id, routes, uniqueRouteCount, geometry), where routes contains a character vector of routes in the hex and uniqueRouteCount counts the number of routes in each hex


b-tomhave/gtfsFunctions documentation built on Dec. 19, 2021, 6:37 a.m.