Comments (3)
Thanks for raising the issue.
I can't recreate this error. 400 error suggests that the server was down at that time. Have you tried it again?
Are you using the latest dev version (available on GitHub)?
Similar issue (#15) has been reported in the past but it should be fixed now.
from postcodesior.
Hi @erzk ,
Thanks for trying to recreate this. To the best of my knowledge, the issue is here:
PostcodesioR/R/bulk_postcode_lookup.R
Lines 25 to 32 in cdc196e
If I replace lapply(postcodes, URLencode)
with lapply(postcodes, paste0)
I get the response as expected. I don't think the body needs URLencoding. I was going to make you a PR later today, if I get time.
from postcodesior.
Thanks for finding a solution. I'm not sure if removing URLencode
is the best approach as the lack of it was causing issues in the past - see #14
from postcodesior.
Related Issues (14)
- package is empty HOT 3
- codecov.io push suggestion/issue HOT 1
- postcode_lookup failing unexpectedly HOT 3
- Error with CB1 postcodes HOT 2
- Radius parameter not working in nearest_postcode HOT 1
- postcode_validation returns Bad Request error rather than FALSE HOT 10
- Help vignette for bulk_postcode_lookup is inaccurate HOT 2
- bulk_postcode_lookup does not ignore spaces
- Feature request: bulk_postcode_lookup should accept a character vector and/or `...` HOT 2
- Submit to CRAN? HOT 4
- Missing postcode HOT 4
- Only centroids available as opendata? HOT 1
- Is there a 100 bulk limit? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postcodesior.