BenjaminIsaac0111 / daedalus

Daedalus is a novel dynamic spatial microsimulation prototype being developed at the Leeds Institute for Institute Data Analytics. Currently, the main goal is to a create a proof of concept component as part of the SPENSER (Synthetic Population Estimation and Scenario Projection Model) project. In this we hope to demonstrate a potential for a highly integrated system that allows users to produce (custom) population projections for policy intervention analysis.
MIT License
4 stars 2 forks source link

Get the Vivarium Public Health module installed and explore its functionallity. #9

Closed BenjaminIsaac0111 closed 4 years ago

BenjaminIsaac0111 commented 4 years ago

Need to investigate this method in add_new_birth_cohorts.py

def load_age_specific_fertility_rate_data(self, builder):
        asfr_data = builder.data.load("covariate.age_specific_fertility_rate.estimate")
        columns = ['year_start', 'year_end', 'age_start', 'age_end', 'mean_value']
        asfr_data = asfr_data.loc[asfr_data.sex == 'Female'][columns]
        return asfr_data
BenjaminIsaac0111 commented 4 years ago

The asfr data in the tests are built and written in lines 154 and 155 of the test_add_new_birth_cohorts.py.