Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AgeRangeToString = map[int]string{
1: "0-15",
2: "16-44",
3: "45-54",
4: "55-64",
5: "65-74",
6: "75-84",
7: "> 85",
}
AgeRangeToString ...
View Source
var GenderToString = map[int]string{
1: "Kvinne",
2: "Mann",
}
GenderToString ...
View Source
var MunicipalityByCode = make(map[string]Municipality)
MunicipalityByCode maps from Norwegian municipality codes to Municipality struct
View Source
var StringToAgeRange = map[string]int{
"0-15 år": 1,
"16-44 år": 2,
"45-54 år": 3,
"55-64 år": 4,
"65-74 år": 5,
"75-84 år": 6,
"85 og over": 7,
}
StringToAgeRange ...
View Source
var StringToDose = map[string]int{
"Dose 1": 1,
"Dose 2": 2,
}
StringToDose ...
View Source
var StringToGender = map[string]int{
"Kvinne": 1,
"Mann": 2,
}
StringToGender ...
Functions ¶
This section is empty.
Types ¶
type Municipality ¶
Municipality ...
func SearchMunicipality ¶
func SearchMunicipality(s string) []Municipality
SearchMunicipality returns []Municipality for which s matches subscrint of Name
type MunicipalityCode ¶
type MunicipalityCode string
MunicipalityCode is the 4 digit municipality code for Norwegian municipalities
type Query ¶
type Query struct { From time.Time To time.Time Doses []string Municipalities []string Genders []string Ages []string }
Query ...
Click to show internal directories.
Click to hide internal directories.