title: Passing Multiple Variables Into an Argument in R Studio
body: <p>I am pretty new to R Studio and I am trying to pass multiple inputs into a single function. I am attempting to create an MLB player game by game log so I can find their avg standard deviation fantasy points. I'm using a package that allows me to call single players at once. It is: <code>batter_game_logs_fg(playerid, year = 2020)</code> this returns data for every game the player has played this season. Given there are over 500 active players I'd like to find a way to automate the playerid input into the function from a dataset I have of every playerid. Is there any way to do this? Thanks for the help!</p>