Giter Site home page Giter Site logo

Comments (3)

timriffe avatar timriffe commented on September 28, 2024

a teeny tiny bug. rescale_sexes() wasn't being triggered properly by do_we_rescale_sexes(). Now fixed, re-running processes. You're right, this is a consistency check to run after a processing run.

This constraint happens before PCLM, but I guess it could be lost if age groups are split. Presently, after PCLM there is no re-constraining of this kind. Should we add it?

from covid_age.

mpascariu avatar mpascariu commented on September 28, 2024

Excellent! It looks much better.
In the example from above there still are some minor differences especially in the 90 and 100 age classes.

   Country Region Code         Date         Age AgeInt       b      f      m   `m+f`
   <fct>   <fct>  <fct>        <fct>      <int>  <int>   <dbl>  <dbl>  <dbl>   <dbl>
10 Spain   All    ES02.05.2020 02.05.2020    90     10  4266.  2486.  1807.   4293. 
11 Spain   All    ES02.05.2020 02.05.2020   100      5   852.   594.   231.    825. 

So far we have written tests for the input data. I think it will not hurt if we can run them over the final output as well.

I can take care of this in a separate script.

from covid_age.

timriffe avatar timriffe commented on September 28, 2024

Great, I'll close this issue. FYI, f and m are forced to sum to b now after splitting. Previously they were not. So, moving forward I don't expect this flag to be thrown.

from covid_age.

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.