Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some possible LR data api tweaks. #1

Closed
skwlilac opened this issue Jul 23, 2020 · 2 comments
Closed

Some possible LR data api tweaks. #1

skwlilac opened this issue Jul 23, 2020 · 2 comments
Assignees

Comments

@skwlilac
Copy link

A couple of things FYI:

  1. the API framework used on the landregistry linked data site, elda, provides an _pageSize parameter which in this case can be increased upto 200 (a configured maximum). There is some info about the configuration of all the api endpoints here.
  2. You can also use the views (_view=) and properties (_properties= ) parameters to tune the data in the response up or down from the defaults e.g.
    ?_pageSize=200&_view=basic&_properties=transactionId,transactionDate,pricePaid,propertyAddress.postcode
    will return just the data that the application appears to be using - will reduce the payload size and avoid having to prune away the data its not interested in.

Great to see someone making good use of this API.

@steve-kingston steve-kingston self-assigned this Jul 23, 2020
@steve-kingston
Copy link
Collaborator

Hi @skwlilac, thanks very much for the pointers. Those changes will definitely help improve the workflow in the tutorial.

I'll look to implement these.

Thanks,
Steve

steve-kingston added a commit that referenced this issue Jul 27, 2020
…rial

- Update ONS local authority district boundary dataset from 2019 to 2020
- New Folium GeoJSON popup
- Address issue #1 incorporating suggested changes to the HM Land Registry API requests
- Update OS Features API base and end point paths
- Use OS GeoDataViz colour palettes within Matplotlib Colormap
@steve-kingston
Copy link
Collaborator

steve-kingston commented Jul 27, 2020

Incorporated suggested changes via 3087ecc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants