The problem I am trying to solve is that i have a list of about 500 zip codes, looks like this;
Problem is I need to fill in the other blanks of this gigunda list.
I went out to the web and after three virus alerts, went to USPS , but could only find a onesie twosies interface for a code at a time. So i put it a zip code and opened the page source, not that i know what to do with it, but i did happen to find three tags that seemed to reuse an input i just made on the form. They look like this..the Red Text is the argument, 01810, i fed the USPS tool
<a href="https://tools.usps.com/go/ZipLookupAction!input?state=Select&address2=&zip=&address1=&isEdit=true&city=&mode=2&refresh=false&urbanCode=&tZip=01810&companyName=" class="multi-link">English</a>
</div>
<div class="multi-option odd">
<a href="https://es-tools.usps.com/go/ZipLookupAction!input?state=Select&address2=&zip=&address1=&isEdit=true&city=&mode=2&refresh=false&urbanCode=&tZip=01810&companyName=" class="multi-link">Español</a>
</div>
<div class="multi-option last">
<a href="https://zh-tools.usps.com/go/ZipLookupAction!input?state=Select&address2=&zip=&address1=&isEdit=true&city=&mode=2&refresh=false&urbanCode=&tZip=01810&companyName=" class="multi-link chinese"></a>
</div>
So my question is how can i use power query to feed the list of zip codes for which i do not have city and state, into the USPS finder tool?
I have a sense this should work somehow. I don't need a lot of precision in the result.
Thanks very much
Code | City | State |
01003 | Amherst | MA |
01810 | Andover | MA |
02205 | ||
02241 | ||
02284 | ||
02860 |
Problem is I need to fill in the other blanks of this gigunda list.
I went out to the web and after three virus alerts, went to USPS , but could only find a onesie twosies interface for a code at a time. So i put it a zip code and opened the page source, not that i know what to do with it, but i did happen to find three tags that seemed to reuse an input i just made on the form. They look like this..the Red Text is the argument, 01810, i fed the USPS tool
<a href="https://tools.usps.com/go/ZipLookupAction!input?state=Select&address2=&zip=&address1=&isEdit=true&city=&mode=2&refresh=false&urbanCode=&tZip=01810&companyName=" class="multi-link">English</a>
</div>
<div class="multi-option odd">
<a href="https://es-tools.usps.com/go/ZipLookupAction!input?state=Select&address2=&zip=&address1=&isEdit=true&city=&mode=2&refresh=false&urbanCode=&tZip=01810&companyName=" class="multi-link">Español</a>
</div>
<div class="multi-option last">
<a href="https://zh-tools.usps.com/go/ZipLookupAction!input?state=Select&address2=&zip=&address1=&isEdit=true&city=&mode=2&refresh=false&urbanCode=&tZip=01810&companyName=" class="multi-link chinese"></a>
</div>
So my question is how can i use power query to feed the list of zip codes for which i do not have city and state, into the USPS finder tool?
I have a sense this should work somehow. I don't need a lot of precision in the result.
Thanks very much