Core
- vivarium_inputs.core.get_data(entity, measure, location, years, data_type)[source]
Pull raw GBD data for measure and entity.
This also sets all non-value columns to be the dataframe index.
- Return type:
- Parameters:
entity (ModelableEntity) – Entity for which to pull measure.
measure (str) – Measure for which to pull data, should be a measure available for the kind of entity which entity is.
location (str | int | list[str | int]) – Location for which to pull data. This can be a location id as an int, the location name as a string, or a list of these two data types.
years (int | str | list[int] | None) – Years for which to extract data. If None, get most recent year. If ‘all’, get all available data.
data_type (DataType) – The DataType object for which to extract data.
- Returns:
Raw and slightly reshaped data for the given entity, measure, location, and years.
- vivarium_inputs.core.get_cause_specific_mortality_rate(entity, location_id, years, data_type)[source]
- vivarium_inputs.core.get_exposure_standard_deviation(entity, location_id, years, data_type)[source]
- vivarium_inputs.core.get_exposure_distribution_weights(entity, location_id, years, data_type)[source]
- vivarium_inputs.core.get_population_attributable_fraction(entity, location_id, years, data_type)[source]
- vivarium_inputs.core.get_theoretical_minimum_risk_life_expectancy(entity, location_id, years, data_type)[source]