outlet_to_tibble: Convert a single outlet to a tibble

View source: R/outlets.R

outlet_to_tibbleR Documentation

Convert a single outlet to a tibble

Description

This function is designed to parse the content returned by the interior steps of the outlets and outlets_nearby functions.

Usage

outlet_to_tibble(outlet)

Arguments

outlet

An outlet, as a list, returned by the outlets API call.

Value

A tibble with the following columns:

  • outlet_slid_spid

  • outlet_name

  • outlet_business

  • outlet_latitude

  • outlet_longitude

  • outlet_suburb

  • outlet_postcode

  • outlet_business_hour_mon

  • outlet_business_hour_tue

  • outlet_business_hour_wed

  • outlet_business_hour_thu

  • outlet_business_hour_fri

  • outlet_business_hour_sat

  • outlet_business_hour_sun

  • outlet_notes


ptvapi documentation built on May 29, 2024, 4:48 a.m.