Created
January 16, 2019 17:29
-
-
Save sjkiss/f17e340ff7f02e9229eb87e3c4284f6b to your computer and use it in GitHub Desktop.
Error in Statistics Canada's Web Data Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install.packages('rjson') | |
library(rjson) | |
#This is the sample URL from your web data help page. | |
census_url<-'https://www12.statcan.gc.ca/rest/census-recensement/CPR2016.json?lang=E&dguid=2016A000011124&topic=1¬es=0' | |
#This returns an unexpected character | |
fromJSON(file=census_url) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment