JSON.parsefile() returning load error Unexpected Character

For github there is usually a “raw” button that you can download the file directly. Otherwise github wraps it in a pretty display…So the URL you probably want is:

https://raw.githubusercontent.com/JuliaAcademy/DataScience/master/data/california-counties.json

2 Likes