leaderboard: Leaderboard for image uploads

Description Usage Arguments Value Source References Examples

Description

Show the leaderboard for a certain region and/or time of image capture.

Usage

1
2
leaderboard(bbox, country, start_time, end_time, user_name, user_key, page,
  per_page, fields, json = FALSE, print = TRUE)

Arguments

bbox

Bounding box, given as vector of minx, miny, maxx, maxy.

country

Countries, given as vector of ISO 3166 country codes.

start_time

Start time images are captured (following ISO 8601 rules).

end_time

End time images are captured before (following ISO 8601 rules).

user_name

String (or vector of strings) to filter for usernames.

user_key

String (or vector of strings) to filter for user keys.

page

Page number in pagination.

per_page

Results per page in pagination.

fields

Partially selected output fields, given as string or vector of strings. Fields are sorted in given order. Available fields: user_name, user_key, images. If fields is missing (default), all available fields are returned.

json

If FALSE (default) the results are returned as simplified data.frame. TRUE (invisibly) returns the original JSON object (fields is ignored.

print

if TRUE (default) the search results are printed.

Value

A data.frame of users.

Source

https://a.mapillary.com/#leaderboard

References

https://en.wikipedia.org/wiki/ISO_3166

Examples

1
2
3
4
## Not run: 
leaderboard(countries=c("de", "at", "ch"), page=1, per_page=10))

## End(Not run)

chgrl/mapillRy documentation built on May 13, 2019, 4:05 p.m.