# NOT RUN {
# get the best story on Hacker News
best_story <- get_best_stories(max_items = 1)
best_story
# }
# NOT RUN {
# get top 20 best stories on Hacker News
best_20_stories <- get_best_stories(max_items = 20)
best_20_stories
# get all best stories on Hacker News
best_stories <- get_best_stories()
best_stories
# }
Run the code above in your browser using DataLab