rcpch / rcpch-census-platform Goto Github PK
View Code? Open in Web Editor NEWA Django-rest-framework project to return deprivation scores across the UK against a postcode or lsoa code
License: MIT License
A Django-rest-framework project to return deprivation scores across the UK against a postcode or lsoa code
License: MIT License
The database for this app needs to migrate from azure db into a different deployment
The RCPCH Census Platform should have a curated list of:
This means in addition to a database back end it would need some kind of scheduling element, such as celery beat.
This service would be a further dependency for other RCPCH projects, such as NPDA and Epilepsy12
<!-- TODO: remove all references to auth, logins, or tokens in the census engine readme-->
rcpch-census-platform/README.md
Line 104 in 4162f1b
There are currently no tests.
This API currently is a key dependency of the Epilepsy12 project but in time will be a dependency of other projects.
In Azure it appears this possibly could be [email protected]. Since he has left the RCPCH we need to check this.
<!-- TODO: remove all references to auth, logins, or tokens in the census engine readme-->
rcpch-census-platform/README.md
Line 104 in 4162f1b
Error [PostcodeView]: unable to guess serializer. This is graceful fallback handling for APIViews. Consider using GenericAPIView as view base class, if view is under your control. Either way you may want to add a serializer_class (or method). Ignoring view for now.
Error [UKIndexMultipleDeprivationQuantileView]: unable to guess serializer. This is graceful fallback handling for APIViews. Consider using GenericAPIView as view base class, if view is under your control. Either way you may want to add a serializer_class (or method). Ignoring view for now.
2023-03-30T15:23:34.624880334Z: [ERROR] /tmp/8db3131c8624dce/deprivation_scores/views.py: Error [UKIndexMultipleDeprivationView]: unable to guess serializer. This is graceful fallback handling for APIViews. Consider using GenericAPIView as view base class, if view is under your control. Either way you may want to add a serializer_class (or method). Ignoring view for now.
These errors seem to be coming from the non-class-based endpoints. We should look into a way to fix this.
Currently authentication to the API endpoints is by Django token access.
Should this instead with an azure API key?
Encountered 2 components with identical names "Nested" and different classes <class 'rest_framework.serializers.ModelSerializer.build_nested_field..NestedSerializer'> and <class 'rest_framework.serializers.ModelSerializer.build_nested_field..NestedSerializer'>. This will very likely result in an incorrect schema. Try renaming one.
https://rcpch-census-engine.azurewebsites.net/api/v1/boundaries?postcode=yo83tl
https://api.rcpch.ac.uk/deprivation/v1/api/v1/boundaries?postcode=yo83tl
return 500 errors even when called with correct credential in Postman
Using this toolchain it is possible to automatically generate client libraries which make integration of this API easier in other languages.
We can of course produce them in various languages, Python would probably be a good start, but we could also consider Dart since this would make the creation of the future WHAM/Inequalities app much easier and less of a manual process.
#lesslabourmorework!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.