diff --git a/components/db/DbProvider.jsx b/components/db/DbProvider.jsx index fd7f5c134..6a270224c 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/blob/refs%2Fconvert%2Fparquet/default/train/0000.parquet', // year-to-date + 'https://huggingface.co/datasets/edwinjue/311-data-2023/resolve/refs%2Fconvert%2Fparquet/default/train/0000.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 }, @@ -55,7 +55,7 @@ const DbProvider = ({ children }) => { // register parquet await newDb.registerFileURL( 'requests.parquet', - datasets.csv.hfYtd, + datasets.parquet.hfYtd, 4, // HTTP = 4. For more options: https://tinyurl.com/DuckDBDataProtocol );