Closed duncan-clark closed 5 years ago
Yea I can do that, or better yet, return an informative error message. Can you please provide a user ID I can use as an example?
Try 11055606, it should be private so not scrape-able.
Alright, how about this (16ed3a250be7f243e9ea2c7f51c03191d68995e1):
athl_fun('11055606')
# 11055606 1 of 1
# $`11055606`
# [1] "No data for athlete 11055606, sharing permissions likely set to private."
Thanks, looks good
Would it be useful to have the function return NAs when it can't scrape the data?