nestauk / ahl_targets Goto Github PK
View Code? Open in Web Editor NEWExploring the feasibility and health effects of retailer health targets.
Home Page: https://www.nesta.org.uk/project/industry-targets-to-improve-health/
License: MIT License
Exploring the feasibility and health effects of retailer health targets.
Home Page: https://www.nesta.org.uk/project/industry-targets-to-improve-health/
License: MIT License
Chose examples based on the most purchased or most relatable products
Do 2 for each group
Write list of most granular category
Repeat charts in slides 22 and 23 https://docs.google.com/presentation/d/1jT4_JYFRExkuovWy0XA2UiC7iAkq7BXHqitVpcx_kc4/edit#slide=id.g244d531d777_1_0
In the script https://github.com/nestauk/ahl_targets/blob/dev/ahl_targets/analysis/histograms.py
the vertical lines remain on subsequent plots even when closing the previous one.
Using high ED definition as 400kcal/100g and above: what % of high ED products are HFSS? What is the average NPM for high ED products?
Repeat table in the business selection tab of https://docs.google.com/spreadsheets/d/1oEKQAyWFbfIhuATXI6IgZ8l4oY_v6rWelkWaqY16s0I/edit#gid=393481957 but for manufacturers
Looking at the results it looks like this is info per product and has categories, nutrition, HFSS/npm, some purchase info and store information. Would it make sense to bring in the manufacturer info in this function too? That way its then multi-use for store and manufacturer analysis tables rather than having a seperate function for each.
Need to upload data on aws
Line charts with NPM score on the x axis and value/100g of components on the y axis for all food products
Update https://github.com/nestauk/ahl_targets/blob/dev/ahl_targets/pipeline/energy_density.py based on https://github.com/nestauk/ahl_targets/blob/dev/ahl_targets/pipeline/hfss.py so that all ml products are converted to g and ED is calculated based on values per 100g
If the purchase records file has already removed missing volumes then the energy_density.py
script fails at:
level_pivot["tot"] = (
level_pivot["Kilos"] + level_pivot["Litres"] + level_pivot["missing"]
)
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.