Learn R Programming

rStrava (version 1.3.1)

Access the 'Strava' API

Description

Functions to access data from the 'Strava v3 API' .

Copy Link

Version

Install

install.packages('rStrava')

Monthly Downloads

557

Version

1.3.1

License

CC0

Maintainer

Marcus W Beck

Last Published

March 26th, 2024

Functions in rStrava (1.3.1)

get_elev_prof

Create elevation profiles from activity data
get_athlete

Get basic data for an athlete
get_explore

Explore segments within a bounded area
get_gear

Get gear details from its identifier
get_heat_map

Makes a heat map from your activity data
get_dists

Get distance from longitude and latitude points
plot_spdsplits

Plot speed by splits
get_efforts_list

Get all the efforts in a segment if no queries are specified
mutate.actframe

Mutate
url_gear

Set the url of the equipment item to get data
seltime_fun

Format before and after arguments for API query
ratelimit

Generate the ratelimit indicator
url_segment

Set the url for the different segment requests
monthly_fun

Get distance and time for current month
get_laps

Retrieve the laps of an activity
recent_fun

Get last three recent activities
get_segment

Retrieve details about a specific segment
get_latlon

get latitude and longitude from Google polyline
location_fun

Get athlete location
url_athlete

Set the url of the athlete to get data
strava_oauth

Generata Strava API authentication token
get_leaderboard

Retrieve the leaderboard of a segment
get_streams

Retrieve a Strava data stream for a single activity
get_pages

Get several pages of one type of request
url_streams

Set the url for stream requests
get_starred

Retrieve a summary of the segments starred by an athlete
get_spdsplits

Get speed splits in a dataframe
url_clubs

Set the url of the clubs for the different requests
trophy_fun

Get athlete trophies
url_activities

Set the url of activities for different activity lists
compile_seg_effort

Compile the efforts of a segment
compile_seg_efforts

Compile the efforts of multiple segments
get_activity

Get detailed data of an activity
compile_activity_streams

Convert a set of streams of a single activity into a dataframe
get_activity_list

Get an activities list
athlind_fun

Get data for a single athlete
chk_nopolyline

Remove activities with no geographic data
compile_activities

converts a list of activities into a dataframe
achievement_fun

Get recent achievements
compile_segment

Compile information on a segment
get_activity_streams

Retrieve streams for activities, and convert to a dataframe
compile_club_activities

converts a list of club activities into a dataframe
filter.actframe

Filter
compile_activity

convert a single activity list into a dataframe
athl_fun

Get data for an athlete
follow_fun

Get athlete follow data
get_KOMs

Get KOMs/QOMs/CRs of an athlete
get_basic

Get basic Strava data
get_club

Get club data