Performance Documents¶
-
capmetrics_etl.performance_documents.update_route_sparklines(session)¶ Updates the JSON document with spark line data.
The spark line JSON document is an array of route compendium dictionaries.
Key Value routeNumber String with route’s number roteName String with route’s name selector String with a CSS selector data List of spark point dictionaries Each spark point dictionary maps a
ridershipcount anddateperiod timestamp.Parameters: session – An SQLAlchemy session.