mortality

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupedMortalityEntry

type GroupedMortalityEntry struct {
	Name   string
	Values []int
}

GroupedMortalityEntry contains all the values for the (grouped) mortality figures

type Reporter

type Reporter struct {
	ReportCache *reportCache.Cache
	APIClient   fetcher.Fetcher
}

func (*Reporter) Get

func (r *Reporter) Get() (results *data.Table, err error)

Get returns all mortality figures

func (*Reporter) GetByAgeGroup

func (r *Reporter) GetByAgeGroup() (results *data.Table, err error)

GetByAgeGroup returns all Mortality, grouped by age group

func (*Reporter) GetByRegion

func (r *Reporter) GetByRegion() (results *data.Table, err error)

GetByRegion returns all mortality figures, grouped by region

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL