govidat

package module
v0.0.0-...-8785aea Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: MIT Imports: 5 Imported by: 0

README

govid-at

Go package for accessing the Austrian government's covid-related data

Documentation

Index

Constants

View Source
const (
	COUNTY_CASE_URL               = "https://covid19-dashboard.ages.at/data/CovidFaelle_GKZ.csv"
	MUNICIPALITY_VACCINATIONS_URL = "https://info.gesundheitsministerium.gv.at/data/COVID19_vaccination_municipalities.csv"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type County

type County struct {
	Id             string
	Name           string
	Population     int64
	Cases          int64
	Deaths         int64
	Cases7d        int64
	Municipalities []Municipality
}

func LoadData

func LoadData() ([]County, error)

func (County) Cases7dPer100k

func (c County) Cases7dPer100k() int64

func (County) Certs

func (c County) Certs() int64

func (County) Dose1

func (c County) Dose1() int64

func (County) Dose2

func (c County) Dose2() int64

func (County) Dose3

func (c County) Dose3() int64

func (County) PercentVaccinated

func (c County) PercentVaccinated() float64

type Municipality

type Municipality struct {
	Id                string
	Updated           time.Time
	Name              string
	Population        int64
	Dose1             int64
	Dose2             int64
	Dose3             int64
	Certs             int64
	PercentVaccinated float64
}

Jump to

Keyboard shortcuts

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