You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thank you very much for this package. I've worked with it before, but after an R update I had to re-install it and now I can't get it to run properly.
First issue was related with self signed certificates and I circumvented it with:
Still, I can't get the basic functions to run. For example,
rstatscn::statscnQueryZb(zbid = "zb", dbcode = "hgnd")
Error: lexical error: invalid char in json text.
<!doctype html>
(right here) ------^
rstatscn::statscnQueryData('A010101',dbcode='hgyd')
Error in dataJson2df(ret, curQuery$rowcode, curQuery$colcode) :
Bad response from the statscn server
The first error indicates that the issue is that the actual webpage the package is scrapping from. It should be a JSON file and it's HTML. Still, I don't now how to ammend this.
In the version I had before, I used to even have language options. Is there a newer version that I am not aware of? Is there a way to fix this issue?
The text was updated successfully, but these errors were encountered:
First, thank you very much for this package. I've worked with it before, but after an R update I had to re-install it and now I can't get it to run properly.
First issue was related with self signed certificates and I circumvented it with:
httr::set_config(httr::config(ssl_verifypeer = 0L))
Still, I can't get the basic functions to run. For example,
rstatscn::statscnQueryZb(zbid = "zb", dbcode = "hgnd")
Error: lexical error: invalid char in json text.
<!doctype html>
(right here) ------^
rstatscn::statscnQueryData('A010101',dbcode='hgyd')
Error in dataJson2df(ret, curQuery$rowcode, curQuery$colcode) :
Bad response from the statscn server
The first error indicates that the issue is that the actual webpage the package is scrapping from. It should be a JSON file and it's HTML. Still, I don't now how to ammend this.
In the version I had before, I used to even have language options. Is there a newer version that I am not aware of? Is there a way to fix this issue?
The text was updated successfully, but these errors were encountered: