Add filtertotals boolean query parameter that, if supplied as
true, will filter out the total category from the 'catgories'
array in the json response for each table, and include it as a
seperate 'total' object.
This change needed to allow easier consumption of metadata
by census atlas web app.
How to review
Read the code, start locally with make debug and check output, run tests in metadata_test.go
What
Add filtertotals boolean query parameter that, if supplied as true, will filter out the total category from the 'catgories' array in the json response for each table, and include it as a seperate 'total' object.
This change needed to allow easier consumption of metadata by census atlas web app.
How to review
Read the code, start locally with make debug and check output, run tests in metadata_test.go
Who can review
Anyone