From c64324c9dfcfadbaf1bd007c8b74e645d5af07ee Mon Sep 17 00:00:00 2001 From: TN <16641980+traycn@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:59:19 -0500 Subject: [PATCH 1/2] Update dbprovider to read 2024 data from huggingface. --- components/db/DbProvider.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/db/DbProvider.jsx b/components/db/DbProvider.jsx index d9f131ffc..66ef4624b 100644 --- a/components/db/DbProvider.jsx +++ b/components/db/DbProvider.jsx @@ -9,7 +9,7 @@ const datasets = { parquet: { // huggingface hfYtd: - 'https://huggingface.co/datasets/edwinjue/311-data-2023/resolve/main/2023.parquet', // year-to-date + 'https://huggingface.co/datasets/311-data/2024/blob/main/2024.parquet', // year-to-date hfLastMonth: 'https://huggingface.co/datasets/edwinjue/311-data-last-month/resolve/refs%2Fconvert%2Fparquet/edwinjue--311-data-last-month/csv-train.parquet', // last month }, From 456d653a32e33113725f33a4965795a7bf5679fb Mon Sep 17 00:00:00 2001 From: TN <16641980+traycn@users.noreply.github.com> Date: Tue, 30 Jan 2024 20:30:14 -0500 Subject: [PATCH 2/2] Fix url for 2024 data. --- components/db/DbProvider.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/db/DbProvider.jsx b/components/db/DbProvider.jsx index 66ef4624b..993541021 100644 --- a/components/db/DbProvider.jsx +++ b/components/db/DbProvider.jsx @@ -9,7 +9,7 @@ const datasets = { parquet: { // huggingface hfYtd: - 'https://huggingface.co/datasets/311-data/2024/blob/main/2024.parquet', // year-to-date + 'https://huggingface.co/datasets/311-data/2024/resolve/main/2024.parquet', // year-to-date hfLastMonth: 'https://huggingface.co/datasets/edwinjue/311-data-last-month/resolve/refs%2Fconvert%2Fparquet/edwinjue--311-data-last-month/csv-train.parquet', // last month },