rusps
rusps copied to clipboard
Error: 1: Unknown IO error2: failed to load external entity
Hello,
I have a large dataset (60k obs.) without zipcodes that I am trying to match using this program. I have gotten it to work on a test sample (500 observations).
However, in the full sample I run into the following error at observation 666:
Error: 1: Unknown IO error2: failed to load external entity "http://production.shippingapis.com/ShippingAPITest.dll?API=ZipCodeLookup&XML=<ZipCodeLookupRequest USERID="076CHICA0013"><Address ID="0"><Address1></Address1><Address2>1000 S STATE</Address2><City>CHICAGO</City><State>IL</State></Address><Address ID="1"><Address1></Address1><Address2>1000 S STATE # 245</Address2><City>CHICAGO</City><State>IL</State></Address><Address ID="2"><Address1></Address1><Address2>1000 S STATE # 342</Address2><City>CHICAGO</City><State>IL</State></Address><Address ID="3"><Address1></Address1><Address2>1000 S STATE R 244</Address2><City>CHICAGO</City><State>IL</State></Address><Address ID="4"><Address1></Address1><Address2>1000 S STATE ST</Address2><City>CHICAGO</City><State>IL</State></Address></ZipCodeLookupRequest>".
I have tried lapply over multiple 660 observation subsets but still run into the same issue. I know the idea has something to do with XML parsing but not sure how to fix it here. Any help is appreciated! Great code by the way!
Thanks, Jack
Hello,
I have the same error, I had used this package to retrieve the Zip codes until last week. I also noted that the USPS Web Tools API was updated. Do you know if that has something to do with the error?