Skip to content

Commit d908026

Browse files
committed
Comment out notebooks with unsupported Loader options for now.
1 parent c317b47 commit d908026

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/notebooks/loading-data.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@
176176
"\n",
177177
"# All of these are equivalent:\n",
178178
"loader = Loader(polis_id=\"r7dr5tzke7pbpbajynkv8\", data_source=\"csv_export\")\n",
179-
"loader = Loader(directory_url=\"https://pol.is/api/v3/reportExport/r7dr5tzke7pbpbajynkv8/\")\n",
179+
"# Doesn't work for now. See: https://github.com/polis-community/red-dwarf/issues/56\n",
180+
"# loader = Loader(directory_url=\"https://pol.is/api/v3/reportExport/r7dr5tzke7pbpbajynkv8/\")\n",
180181
"\n",
181182
"# math_data and conversation_data only populate from the \"api\" data_source.\n",
182183
"assert_fully_populated(loader, ignore=[\"math_data\", \"conversation_data\"])\n",
@@ -314,7 +315,8 @@
314315
"# The loader will look for files with these names:\n",
315316
"# - comments.csv\n",
316317
"# - votes.csv\n",
317-
"loader = Loader(directory_url=\"https://raw.githubusercontent.com/compdemocracy/openData/refs/heads/master/scoop-hivemind.ubi/\")\n",
318+
"# Doesn't work for now. See: https://github.com/polis-community/red-dwarf/issues/56\n",
319+
"# loader = Loader(directory_url=\"https://raw.githubusercontent.com/compdemocracy/openData/refs/heads/master/scoop-hivemind.ubi/\")\n",
318320
"\n",
319321
"assert_fully_populated(loader, ignore=[\"math_data\", \"conversation_data\"])\n",
320322
"print_summary(loader)"
@@ -420,7 +422,7 @@
420422
"source": [
421423
"# By default, the Loader imports data from the https://pol.is API.\n",
422424
"# You can also choose to import data from an alternative instance.\n",
423-
"Loader(polis_instance_url=\"https://preprod.pol.is\", polis_id=\"r7kfpvrhdpyykbhnirtcd\")\n",
425+
"Loader(polis_instance_url=\"https://polis.tw\", polis_id=\"r7xrbjj7brcxmcfmeun2u\")\n",
424426
"\n",
425427
"assert_fully_populated(loader, ignore=[\"math_data\", \"conversation_data\"])\n",
426428
"print_summary(loader)"

0 commit comments

Comments
 (0)