validate_time_range: validate time_range parameter

View source: R/assertions.R

validate_time_rangeR Documentation

validate time_range parameter

Description

validate time_range parameter

Usage

validate_time_range(time_range)

Arguments

time_range

Optional. Over what time frame the affinities are computed. Valid values: long_term (calculated from several years of data and including all new data as it becomes available), medium_term (approximately last 6 months), short_term (approximately last 4 weeks). Default: medium_term.

Value

A boolean if the parameter matches the Spotify Web API parameter range.


spotifyr documentation built on Oct. 30, 2024, 9:13 a.m.