explore_segments: explore_segments

Description Usage Arguments Value Examples

View source: R/R6_explore_segments.R

Description

Returns the given activity that is owned by the authenticated athlete. https://developers.strava.com/playground/#/Activities/getActivityById

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
explore_segments(
  mbr_object = NULL,
  southwest_lat = NULL,
  southwest_long = NULL,
  northeast_lat = NULL,
  northeast_long = NULL,
  activity_type = NULL,
  min_climbing_cat = NULL,
  max_climbing_cat = NULL
)

Arguments

mbr_object

a mountainbiker object

southwest_lat

southwest corner latitutde

southwest_long

southwest corner longitude

northeast_lat

northeast corner latitude

northeast_long

northeast corner longitude

activity_type

Desired activity type. May take one of the following values: running, riding

min_climbing_cat

int the minimum climbing category

max_climbing_cat

int the maximum climbing category

Value

my_segments as list with activity details

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# my_mbr is a mountainbikeR object

my_mbr$explore_segments(
     activity_id = 12345,
     include_all_efforts = TRUE
)

## End(Not run)

longwei66/mountainbikeR documentation built on April 16, 2020, 6:23 p.m.