Git Product home page Git Product logo

Comments (2)

JosephPB avatar JosephPB commented on June 18, 2024

For reference - if people work in the industry sector 'Education' their industry_specific attribute may not be None if they have also been assigned the role of a teacher.

https://github.com/JosephPB/covidmodelling/blob/b706ce34de0f4c4a5233f99ca52177abfd645f94/covid/groups/people/person.py#L154

The industry_specific assigning function can be found here:

https://github.com/JosephPB/covidmodelling/blob/b706ce34de0f4c4a5233f99ca52177abfd645f94/covid/groups/people/person_distributor.py#L145

and gives the 4-digit codes to people who might be assigned specific industries (currently only different teachers and healthcare workers).

To implement this - the person industry_specific attribute should be checked, and the, if they are a teacher of a certain age group, assigned to a school of the correct age group. Unlike assigning children to schools, in which proximity is used, teachers should be assigned according to their work MSOArea:

https://github.com/JosephPB/covidmodelling/blob/b706ce34de0f4c4a5233f99ca52177abfd645f94/covid/groups/people/person.py#L127

from june.

Christovis avatar Christovis commented on June 18, 2024

This can be done in tandem with this issue

from june.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.