diff --git a/www/data/attended_per_year.json b/www/data/attended_per_year.json index 219af29..b157197 100644 --- a/www/data/attended_per_year.json +++ b/www/data/attended_per_year.json @@ -50,8 +50,8 @@ "year": 2022 }, { - "students": 973, - "coaches": 659, + "students": 1525, + "coaches": 1000, "year": 2023 } ] \ No newline at end of file diff --git a/www/data/average_rating_per_month.json b/www/data/average_rating_per_month.json index eabc6c7..fcf2fd9 100644 --- a/www/data/average_rating_per_month.json +++ b/www/data/average_rating_per_month.json @@ -537,6 +537,21 @@ { "month": 6, "year": 2023, + "avg": 4.947368421052632 + }, + { + "month": 7, + "year": 2023, + "avg": 4.666666666666667 + }, + { + "month": 8, + "year": 2023, + "avg": 5 + }, + { + "month": 9, + "year": 2023, "avg": 5 } ] \ No newline at end of file diff --git a/www/data/counted_stats.json b/www/data/counted_stats.json index f93c714..4f7dc30 100644 --- a/www/data/counted_stats.json +++ b/www/data/counted_stats.json @@ -1,11 +1,11 @@ { - "coach_count": 6181, - "student_count": 17464, - "chapter_count": 32, - "workshop_count": 1907, + "coach_count": 6363, + "student_count": 17941, + "chapter_count": 33, + "workshop_count": 1964, "monthlies_count": 51, - "events_count": 179, + "events_count": 186, "busiest_month": 5, "slowest_month": 12, - "average_rating": 4.7605748373101955 + "average_rating": 4.762815405046481 } \ No newline at end of file diff --git a/www/data/last_updated_at.json b/www/data/last_updated_at.json index 07db3ec..86ea40f 100644 --- a/www/data/last_updated_at.json +++ b/www/data/last_updated_at.json @@ -1,3 +1,3 @@ { - "last_updated_at": "2023-06-05T14:45:32.430Z" + "last_updated_at": "2023-09-14T10:11:38.532Z" } \ No newline at end of file diff --git a/www/data/new_signups.json b/www/data/new_signups.json index 8d4cc78..2c97c46 100644 --- a/www/data/new_signups.json +++ b/www/data/new_signups.json @@ -1,52 +1,52 @@ [ { - "coachcount": 161, - "studentcount": 407, + "coachcount": 158, + "studentcount": 403, "year": 2014 }, { - "coachcount": 175, - "studentcount": 630, + "coachcount": 172, + "studentcount": 625, "year": 2015 }, { - "coachcount": 341, - "studentcount": 701, + "coachcount": 338, + "studentcount": 693, "year": 2016 }, { - "coachcount": 479, - "studentcount": 1269, + "coachcount": 473, + "studentcount": 1248, "year": 2017 }, { - "coachcount": 800, - "studentcount": 2008, + "coachcount": 791, + "studentcount": 1983, "year": 2018 }, { - "coachcount": 936, - "studentcount": 2427, + "coachcount": 920, + "studentcount": 2389, "year": 2019 }, { - "coachcount": 528, - "studentcount": 1250, + "coachcount": 518, + "studentcount": 1238, "year": 2020 }, { - "coachcount": 329, - "studentcount": 930, + "coachcount": 320, + "studentcount": 916, "year": 2021 }, { - "coachcount": 494, - "studentcount": 1371, + "coachcount": 477, + "studentcount": 1335, "year": 2022 }, { - "coachcount": 316, - "studentcount": 832, + "coachcount": 483, + "studentcount": 1251, "year": 2023 } ] \ No newline at end of file diff --git a/www/data/ratings_per_year.json b/www/data/ratings_per_year.json index cda07b2..b20cea1 100644 --- a/www/data/ratings_per_year.json +++ b/www/data/ratings_per_year.json @@ -214,6 +214,11 @@ "rating": 5, "count": 172 }, + { + "year": 2023, + "rating": 1, + "count": 1 + }, { "year": 2023, "rating": 2, @@ -227,11 +232,11 @@ { "year": 2023, "rating": 4, - "count": 7 + "count": 13 }, { "year": 2023, "rating": 5, - "count": 135 + "count": 205 } ] \ No newline at end of file diff --git a/www/data/returning_members.json b/www/data/returning_members.json index bbd2c27..b41e7bb 100644 --- a/www/data/returning_members.json +++ b/www/data/returning_members.json @@ -1,5 +1,5 @@ { - "returning_members_count": 5444, - "attending_members_count": 9876, - "percentage_returning": 55.123531794248684 + "returning_members_count": 5561, + "attending_members_count": 10124, + "percentage_returning": 54.92888186487554 } \ No newline at end of file diff --git a/www/data/student_to_coach_conversion.json b/www/data/student_to_coach_conversion.json index 51d9982..5b29b36 100644 --- a/www/data/student_to_coach_conversion.json +++ b/www/data/student_to_coach_conversion.json @@ -1,5 +1,5 @@ { - "student_only_members_count": 6607, - "coach_and_student_members_count": 400, - "student_to_coach_conversion": 6.054184955350386 + "student_only_members_count": 6769, + "coach_and_student_members_count": 411, + "student_to_coach_conversion": 6.071797902201212 } \ No newline at end of file diff --git a/www/data/workshops_per_year.json b/www/data/workshops_per_year.json index 825f9cd..868ab30 100644 --- a/www/data/workshops_per_year.json +++ b/www/data/workshops_per_year.json @@ -40,7 +40,7 @@ "year": 2022 }, { - "count": 105, + "count": 162, "year": 2023 } ] \ No newline at end of file diff --git a/www/src/pages/index.tsx b/www/src/pages/index.tsx index 714cb31..d0bf7fc 100644 --- a/www/src/pages/index.tsx +++ b/www/src/pages/index.tsx @@ -3,7 +3,6 @@ import { BarChart, ColumnChart, LineChart } from "react-chartkick"; import "chart.js"; import { colors } from "tailwindcss/defaultTheme"; -import { Table } from "../components/table"; import Layout from "../components/layout"; import SEO from "../components/seo"; import lastUpdateAt from "../../data/last_updated_at.json"; @@ -102,21 +101,21 @@ const workshopsPerYearChart = [ }, ]; -const attendedPerYearTable: string[][] = attendedPerYear - .slice(0) - .map((item, i) => { - const previousYear = attendedPerYear[i - 1] || {}; +// const attendedPerYearTable: string[][] = attendedPerYear +// .slice(0) +// .map((item, i) => { +// const previousYear = attendedPerYear[i - 1] || {}; - const currentYearAttending = item.coaches + item.students; - const previousYearAttending = previousYear.coaches + previousYear.students; - const percentageChange = - (currentYearAttending / previousYearAttending) * 100 - 100; - return [ - item.year, - item.coaches + item.students, - (percentageChange || 0).toFixed(2), - ].map((item) => item.toString()); - }); +// const currentYearAttending = item.coaches + item.students; +// const previousYearAttending = previousYear.coaches + previousYear.students; +// const percentageChange = +// (currentYearAttending / previousYearAttending) * 100 - 100; +// return [ +// item.year, +// item.coaches + item.students, +// (percentageChange || 0).toFixed(2), +// ].map((item) => item.toString()); +// }); const dataDisplay = [ { property: "coach_count", title: "Coaches" }, @@ -222,11 +221,11 @@ function IndexPage() { stacked colors={[colors.blue["500"], colors.pink["600"]]} /> -

Workshop growth

+ {/*

Workshop growth

+ /> */}

Members

New members per year