I'm trying to use the IMPORTDATA function in Google Sheets to download stats from baseball-reference.com.
For example, if I want the Team Standard Batting table from:
https://www.baseball-reference.com/leagues/MLB/2020.shtml
I click on the "Share & more" > "Copy Link to Table to Clipboard" to get:
https://www.baseball-reference.com/leagues/MLB/2020.shtml#teams_standard_batting
Then, in A1 of my otherwise empty Google Sheet, I'm inputting:
=IMPORTDATA("https://www.baseball-reference.com/leagues/MLB/2020.shtml#teams_standard_batting")
however, I'm getting #REF with the following error message:
"Result was not automatically expanded, please insert more columns (86)."
