Learn R Programming

spotifyr (version 2.2.4)

validate_time_range: validate time_range parameter

Description

validate time_range parameter

Usage

validate_time_range(time_range)

Value

A boolean if the parameter matches the Spotify Web API parameter 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.