Skip to contents

Get Metric result content for an Analysis by Analysis Name

Usage

get_analysis_data(
  analysis_name = NULL,
  key = NULL,
  metric,
  analysis_name_ = NULL
)

Arguments

analysis_name

character, analysis name

key

character, StreetLight API key. Default is NULL.

metric

character, which metric to fetch. Metric availability is dependent on the analysis type and configuration. See create_streetlight_analysis() for more details.

analysis_name_

Deprecated, use analysis_name parameter.

Value

a tibble with the requested metric