ONSdigital / dp-find-insights-poc-api

Find Insights Proof of Concept
MIT License
1 stars 0 forks source link

change Table to hold geotype for each area, add census endpoint #102

Closed wavemechanics closed 2 years ago

wavemechanics commented 2 years ago

What

Augment Table implementation to hold the geotype for each area and to selectively include geography_code and geotype as output columns. geography_code is hardcoded on for now.

Add 'census' endpoint (as in /dev/hello/census) that takes any/all of rows=, bbox=, location=/radius=, and polygon= arguments. And csv output for the 'census' endpoint has to name geography_code and geotype if they should be included in the csv.