Skip to content

Commit

Permalink
Changed uri for mainFigureMap"unemp", changed interval for mainFigure…
Browse files Browse the repository at this point in the history
…"emp" and "unemp" to month
  • Loading branch information
JoshSinghONS committed Nov 16, 2023
1 parent fcb2036 commit a819771
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions homepage/homepage.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,16 @@ func init() {
trendURI: "/employmentandlabourmarket/peopleinwork/employmentandemployeetypes/timeseries/s2qm/lms",
datePeriod: mapper.PeriodMonth,
data: zebedee.TimeseriesMainFigure{},
differenceInterval: mapper.PeriodYear,
differenceInterval: mapper.PeriodMonth,
}

// Unemployment
mainFigureMap["unemp"] = MainFigure{
uris: []string{"/employmentandlabourmarket/peoplenotinwork/unemployment/timeseries/s2pu/lms"},
uris: []string{"/employmentandlabourmarket/peopleinwork/employmentandemployeetypes/timeseries/s2pu/lms"},
trendURI: "/employmentandlabourmarket/peopleinwork/employmentandemployeetypes/timeseries/s2qk/lms",
datePeriod: mapper.PeriodMonth,
data: zebedee.TimeseriesMainFigure{},
differenceInterval: mapper.PeriodYear,
differenceInterval: mapper.PeriodMonth,
}
} else {
// Employment
Expand Down

0 comments on commit a819771

Please sign in to comment.