Blob Blame History Raw
From 49d8edc7d944136db91409e5fc9e45da3a1e87b4 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sat, 8 Feb 2020 21:47:13 -0500
Subject: [PATCH 1/4] Hard-code list of example datasets.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 libpysal/examples/datasets.html |  1 +
 libpysal/examples/remotes.py    | 14 ++++++++------
 2 files changed, 9 insertions(+), 6 deletions(-)
 create mode 100644 libpysal/examples/datasets.html

diff --git a/libpysal/examples/datasets.html b/libpysal/examples/datasets.html
new file mode 100644
index 00000000..dbed3fe6
--- /dev/null
+++ b/libpysal/examples/datasets.html
@@ -0,0 +1 @@
+<!DOCTYPE html><html lang="en" itemscope itemtype="http://schema.org/WebPage" ><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><title>GeoDa Data and Lab</title><meta name="description" content="GeoDa site for Data and Labs"><link rel="author" href="https://plus.google.com/+geodacenter?rel=author"> <meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@geodacenter"><meta name="twitter:title" content="GeoDa Data and Lab"><meta name="twitter:description" content="GeoDa site for Data and Labs"><meta property="twitter:image:src" content="https://geodacenter.github.io/data-and-lab//data-and-lab/assets/img/blog-image.png"> <meta property="og:url" content="https://geodacenter.github.io/data-and-lab//data-and-lab/"><meta property="og:title" content="GeoDa Data and Lab"><meta property="og:image" content="https://geodacenter.github.io/data-and-lab//data-and-lab/assets/img/blog-image.png"><meta property="og:description" content="GeoDa site for Data and Labs"><meta property="og:site_name" content="GeoDa Data and Lab"> <meta itemprop="name" content="GeoDa Data and Lab"/><meta itemprop="description" content="GeoDa site for Data and Labs"><meta itemprop="image" content="https://geodacenter.github.io/data-and-lab//data-and-lab/assets/img/blog-image.png"/><link rel="shortcut icon" href="/data-and-lab/assets/img/icons/favicon.ico" type="image/x-icon" /><link rel="apple-touch-icon" href="/assets/img/icons/apple-touch-icon.png" /><link rel="apple-touch-icon" sizes="57x57" href="/assets/img/icons/apple-touch-icon-57x57.png" /><link rel="apple-touch-icon" sizes="72x72" href="/assets/img/icons/apple-touch-icon-72x72.png" /><link rel="apple-touch-icon" sizes="114x114" href="/assets/img/icons/apple-touch-icon-114x114.png" /><link rel="apple-touch-icon" sizes="144x144" href="/assets/img/icons/apple-touch-icon-144x144.png" /><link rel="apple-touch-icon" sizes="60x60" href="/assets/img/icons/apple-touch-icon-60x60.png" /><link rel="apple-touch-icon" sizes="120x120" href="/assets/img/icons/apple-touch-icon-120x120.png" /><link rel="apple-touch-icon" sizes="76x76" href="/assets/img/icons/apple-touch-icon-76x76.png" /><link rel="apple-touch-icon" sizes="152x152" href="/assets/img/icons/apple-touch-icon-152x152.png" /> <meta name="application-name" content="GeoDa Blog"><meta name="msapplication-TileColor" content="#0562DC"><meta name="msapplication-square70x70logo" content="smalltile.png" /><meta name="msapplication-square150x150logo" content="mediumtile.png" /><meta name="msapplication-wide310x150logo" content="widetile.png" /><meta name="msapplication-square310x310logo" content="largetile.png" /> <meta name="theme-color" content=""><link rel="stylesheet" href="/data-and-lab/assets/css/main.css"><link rel="canonical" href="https://geodacenter.github.io/data-and-lab//data-and-lab/"><link rel="alternate" type="application/rss+xml" title="GeoDa Data and Lab" href="https://geodacenter.github.io/data-and-lab//data-and-lab/feed.xml" /><style> table { border-collapse: collapse; border-spacing: 0; width: 90%; border: 1px solid #ddd; margin-left: 5%; margin-right: 5%; } th, td { border: none; text-align: left; padding: 8px; } tr:nth-child(even){background-color: #f2f2f2} table a:link, table a:visited { color: #005f97; text-decoration: none; } table a:hover { color: #CCC; }</style></head><body> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="none" version="1.1"><defs><symbol id="icon-menu" viewBox="0 0 1024 1024"><path class="path1" d="M128 213.333h768q17.667 0 30.167 12.5t12.5 30.167-12.5 30.167-30.167 12.5h-768q-17.667 0-30.167-12.5t-12.5-30.167 12.5-30.167 30.167-12.5zM128 725.333h768q17.667 0 30.167 12.5t12.5 30.167-12.5 30.167-30.167 12.5h-768q-17.667 0-30.167-12.5t-12.5-30.167 12.5-30.167 30.167-12.5zM128 469.333h768q17.667 0 30.167 12.5t12.5 30.167-12.5 30.167-30.167 12.5h-768q-17.667 0-30.167-12.5t-12.5-30.167 12.5-30.167 30.167-12.5z"/></symbol><symbol id="icon-search" viewBox="0 0 951 1024"><path class="path1" d="M658.286 475.429q0-105.714-75.143-180.857t-180.857-75.143-180.857 75.143-75.143 180.857 75.143 180.857 180.857 75.143 180.857-75.143 75.143-180.857zM950.857 950.857q0 29.714-21.714 51.429t-51.429 21.714q-30.857 0-51.429-21.714l-196-195.429q-102.286 70.857-228 70.857-81.714 0-156.286-31.714t-128.571-85.714-85.714-128.571-31.714-156.286 31.714-156.286 85.714-128.571 128.571-85.714 156.286-31.714 156.286 31.714 128.571 85.714 85.714 128.571 31.714 156.286q0 125.714-70.857 228l196 196q21.143 21.143 21.143 51.429z"/></symbol><symbol id="icon-close" viewBox="0 0 805 1024"><path class="path1" d="M741.714 755.429q0 22.857-16 38.857l-77.714 77.714q-16 16-38.857 16t-38.857-16l-168-168-168 168q-16 16-38.857 16t-38.857-16l-77.714-77.714q-16-16-16-38.857t16-38.857l168-168-168-168q-16-16-16-38.857t16-38.857l77.714-77.714q16-16 38.857-16t38.857 16l168 168 168-168q16-16 38.857-16t38.857 16l77.714 77.714q16 16 16 38.857t-16 38.857l-168 168 168 168q16 16 16 38.857z"/></symbol><symbol id="icon-twitter" viewBox="0 0 951 1024"><path class="path1" d="M925.714 233.143q-38.286 56-92.571 95.429 0.571 8 0.571 24 0 74.286-21.714 148.286t-66 142-105.429 120.286-147.429 83.429-184.571 31.143q-154.857 0-283.429-82.857 20 2.286 44.571 2.286 128.571 0 229.143-78.857-60-1.143-107.429-36.857t-65.143-91.143q18.857 2.857 34.857 2.857 24.571 0 48.571-6.286-64-13.143-106-63.714t-42-117.429v-2.286q38.857 21.714 83.429 23.429-37.714-25.143-60-65.714t-22.286-88q0-50.286 25.143-93.143 69.143 85.143 168.286 136.286t212.286 56.857q-4.571-21.714-4.571-42.286 0-76.571 54-130.571t130.571-54q80 0 134.857 58.286 62.286-12 117.143-44.571-21.143 65.714-81.143 101.714 53.143-5.714 106.286-28.571z"/></symbol><symbol id="icon-facebook" viewBox="0 0 585 1024"><path class="path1" d="M548 6.857v150.857h-89.714q-49.143 0-66.286 20.571t-17.143 61.714v108h167.429l-22.286 169.143h-145.143v433.714h-174.857v-433.714h-145.714v-169.143h145.714v-124.571q0-106.286 59.429-164.857t158.286-58.571q84 0 130.286 6.857z"/></symbol><symbol id="icon-google-plus" viewBox="0 0 951 1024"><path class="path1" d="M420 454.857q0 20.571 18.286 40.286t44.286 38.857 51.714 42 44 59.429 18.286 81.143q0 51.429-27.429 98.857-41.143 69.714-120.571 102.571t-170.286 32.857q-75.429 0-140.857-23.714t-98-78.571q-21.143-34.286-21.143-74.857 0-46.286 25.429-85.714t67.714-65.714q74.857-46.857 230.857-57.143-18.286-24-27.143-42.286t-8.857-41.714q0-20.571 12-48.571-26.286 2.286-38.857 2.286-84.571 0-142.571-55.143t-58-139.714q0-46.857 20.571-90.857t56.571-74.857q44-37.714 104.286-56t124.286-18.286h238.857l-78.857 50.286h-74.857q42.286 36 64 76t21.714 91.429q0 41.143-14 74t-33.714 53.143-39.714 37.143-34 35.143-14 37.714zM336.571 400q21.714 0 44.571-9.429t37.714-24.857q30.286-32.571 30.286-90.857 0-33.143-9.714-71.429t-27.714-74-48.286-59.143-66.857-23.429q-24 0-47.143 11.143t-37.429 30q-26.857 33.714-26.857 91.429 0 26.286 5.714 55.714t18 58.857 29.714 52.857 42.857 38.286 55.143 14.857zM337.714 898.857q33.143 0 63.714-7.429t56.571-22.286 41.714-41.714 15.714-62.286q0-14.286-4-28t-8.286-24-15.429-23.714-16.857-20-22-19.714-20.857-16.571-23.714-17.143-20.857-14.857q-9.143-1.143-27.429-1.143-30.286 0-60 4t-61.429 14.286-55.429 26.286-39.143 42.571-15.429 60.286q0 40 20 70.571t52.286 47.429 68 25.143 72.857 8.286zM800.571 398.286h121.714v61.714h-121.714v125.143h-60v-125.143h-121.143v-61.714h121.143v-124h60v124z"/></symbol></defs></svg><header class="bar-header"><h1 class="logo"> <a href="/data-and-lab"></a></h1></header><div class="search-wrapper"><div class="search-form"> <input type="text" class="search-field" placeholder="Search..."> <svg class="icon-remove-sign"><use xlink:href="#icon-close"></use></svg><ul class="search-results search-list"></ul></div></div><div id="fade" class="overlay"></div><a id="slide" class="slideButton fade"> <svg id="open" class="icon-menu"><use xlink:href="#icon-menu"></use></svg> <svg id="close" class="icon-menu"><use xlink:href="#icon-close"></use></svg> </a><aside id="sidebar"><nav id="navigation"><h2>MENU</h2><ul><li><a href="https://geodacenter.github.io/data-and-lab//">Home</a></li><li><a href="https://geodacenter.github.io/data-and-lab//tags">Tags</a></li><li><a class="feed" href="https://geodacenter.github.io/data-and-lab//data-and-lab/feed.xml" title="Atom/RSS feed">Feed</a></li></ul></nav></aside><a id="search" class="dosearch"> <svg class="icon-menu icon-search"><use xlink:href="#icon-search"></use></svg> </a><section class="content"><main class="home" id="post" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog"><article class="post-content"><div class="tags"><h2 align="center"><b>Filter Sample Data by Category:</b></h2><a href="/data-and-lab/tags/#economics">economics</a> <a href="/data-and-lab/tags/#health">health </a> <a href="/data-and-lab/tags/#crime">crime </a> <a href="/data-and-lab/tags/#housing">housing </a> <a href="/data-and-lab/tags/#politics">politics </a> <a href="/data-and-lab/tags/#demographics">demographics </a> <a href="/data-and-lab/tags/#environment">environment </a> <a href="/data-and-lab/tags/#development">development </a> <a href="/data-and-lab/tags/#simulation">simulation </a> <a href="/data-and-lab/tags/#polygons">polygons </a> <a href="/data-and-lab/tags/#points">points </a> <a href="/data-and-lab/tags/#csv-txt">csv/txt </a> <a href="/data-and-lab/tags/#500"><500 </a> <a href="/data-and-lab/tags/#500-5-000">500-5,000 </a> <a href="/data-and-lab/tags/#5-000">5,000+ </a> <a href="/data-and-lab/tags/#larger-areas">larger areas </a> <a href="/data-and-lab/tags/#smaller-areas">smaller areas </a> <a href="/data-and-lab/tags/#rates">rates </a> <a href="/data-and-lab/tags/#space-time">space-time </a> <a href="/data-and-lab/tags/#esda">ESDA </a> <a href="/data-and-lab/tags/#regression">regression </a> <a href="/data-and-lab/tags/#census">Census </a> <a href="/data-and-lab/tags/#open-data">open data </a> <a href="/data-and-lab/tags/#research">research </a> <a href="/data-and-lab/tags/#textbook">textbook </a> <a href="/data-and-lab/tags/#anselin-lab">Anselin lab</a></div></article><style> .samples a:link, .samples a:visited { color: #005f97; text-decoration: none; } .samples a:hover { color: #CCC; }</style><script> window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create', 'UA-72724100-1', 'auto'); ga('send', 'pageview'); </script> <script async src='https://www.google-analytics.com/analytics.js'></script><article class="samples"><div><h2 align="center"> <b>View List of Sample Data (<a href="https://spatial.uchicago.edu/content/about-sample-data" target="_blank">More Info</a>):</b></h2></div><div style="text-align:center;"><table><caption align="center" style="margin:10px;"> These sample data are referenced in the <a href="https://spatial.uchicago.edu/content/spatial-analysis-tutorials" target="_blank">tutorials</a> for&nbsp;<a href="http://geodacenter.github.io/documentation.html" target="_blank">GeoDa</a>, <a href="https://geodacenter.github.io/GeoDaSpace/resources.html" target="_blank">GeoDaSpace</a>, and <a href="/docs/CAST_HowToGuide.pdf" target="_blank">CAST</a>.</caption><caption align="center" style="margin:10px;"> Alternative download links for users in China(中国):<a href="https://gitee.com/geoda/data-and-lab/tree/gh-pages/data">https://gitee.com/geoda/data-and-lab/tree/gh-pages/data</a></caption><thead><tr><th>Name</th><th style="min-width:500px">Description</th><th>#Obs</th><th>#Vars</th><th>Download</th></tr></thead><tbody><tr><td><a href="airbnb/" target="_blank">AirBnB</a></td><td>Airbnb rentals, socioeconomics, and crime in Chicago</td><td>77</td><td>20</td><td><a href="data/airbnb.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-Airbnb', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Airbnb');">airbnb.zip</a></td></tr><tr><td><a href="atlanta_old/" target="_blank">Atlanta</a></td><td>Atlanta, GA region homicide counts and rates</td><td>90</td><td>23</td><td><a href="data/atlanta_hom.zip" target="_self" title="atlanta_hom.zip" onclick="ga('send', 'event', 'GeoDa-Atlanta', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Atlanta');">atlanta_hom.zip</a></td></tr><tr><td><a href="baltim/" target="_blank">Baltimore</a></td><td>Baltimore house sales prices and hedonics</td><td>211</td><td>17</td><td><a href="data/baltimore.zip" target="_self" title="baltimore.zip" onclick="ga('send', 'event', 'GeoDa-Balt', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Balt');">baltimore.zip</a></td></tr><tr><td><a href="boston-housing/" target="_blank">Bostonhsg</a></td><td>Boston housing and neighborhood data</td><td>506</td><td>23</td><td><a href="data/boston.zip" target="_self" title="boston.zip" onclick="ga('send', 'event', 'GeoDa-Boston', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Boston');">boston.zip</a></td></tr><tr><td><a href="buenos-aires_old/" target="_blank">Buenosaires</a></td><td> Electoral Data for 1999 Argentinean Elections</td><td> 209</td><td> 21</td><td> <a href="data/buenosaires.zip" target="_self" title="buenosaires.zip" onclick="ga('send', 'event', 'GeoDa-BuenosAires', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for BuenosAires');">buenosaires.zip</a></td></tr><tr><td><a href="1-source-and-description/" target="_blank">Cars</a></td><td>2011 abandoned vehicles in Chicago (311 complaints).</td><td>137,867</td><td>21</td><td><a href="data/Abandoned_Vehicles_Map.csv" target="_self" onclick="ga('send', 'event', 'GeoDa-Cars', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Cars');">cars.zip</a></td></tr><tr><td> <a href="charleston-1_old/" target="_blank">Charleston1</a></td><td> 2000 Census Tract Data for Charleston, SC MSA and counties</td><td> 117</td><td> 30</td><td> <a href="data/CharlestonMSA.zip" target="_self" title="CharlestonMSA.zip" onclick="ga('send', 'event', 'GeoDa-Charleston', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Charleston');">CharlestonMSA.zip</a></td></tr><tr><td> <a href="charleston2/" target="_blank">Charleston2</a></td><td> 1998 and 2001 Zip Code Business Patterns (Census Bureau) for Charleston, SC MSA</td><td> 44</td><td> 97</td><td> <a href="data/CharlestonMSA2.zip" target="_self" title="CharlestonMSA2.zip" onclick="ga('send', 'event', 'GeoDa-Charleston2', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Charleston2');">CharlestonMSA2.zip</a></td></tr><tr><td> <a href="comarea_vars/" target="_blank">Chicago Health</a></td><td> Chicago Health + Socio-Economics</td><td> 77</td><td> 86</td><td> <a href="data/comarea.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-ChiHealth', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for ChiHealth');">comarea.zip</a></td></tr><tr><td> <a href="commpop/" target="_blank">Chicago commpop</a></td><td> Chicago Community Area Population Percent Change for 2000 and 2010</td><td> 77</td><td> 8</td><td> <a href="data/chicago_commpop.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-chicago_commpop', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for chicago_commpop');">chicago_commpop.zip</a></td></tr><tr><td> <a href="parcels/" target="_blank">Chicago parcels</a></td><td> Tax parcel polygons of Cook county</td><td> 592,521</td><td> 5</td><td> <a href="https://uchicago.box.com/s/j2d2ch5uvckse24y8l7vh9198wnq216i" target="_self" onclick="ga('send', 'event', 'GeoDa-chicago_parcels', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for chicago_parcels');">chicago_parcels.zip</a></td></tr><tr><tr><td><a href="FLMA/" target="_blank">Chile Labor</a></td><td>Labor Markets in Chile (1982-2002)</td><td>141</td><td>62</td><td><a href="data/flma.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-FLMA', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for FLMA');">FLMA_updated.zip</a></td></tr><tr><td> <a href="CHIM/" target="_blank">Chile Migration</a></td><td> Internal Migration in Chile (1977-2002)</td><td> 304</td><td> 10</td><td> <a href="https://uchicago.box.com/s/yqc97nq23hoeeqo5lkc2grlg98skokgk" target="_self" onclick="ga('send', 'event', 'GeoDa-CHIM', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for CHIM');">CHIM.zip</a></td></tr><tr><td> <a href="walnut_hills/" target="_blank">Cincinnati</a></td><td> 2008 Cincinnati Crime + Socio-Demographics</td><td> 457</td><td> 89</td><td> <a href="data/walnuthills_updated.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-Cincinnati', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Cincinnati');">walnuthills_updated.zip</a></td></tr><tr><td> <a href="clev_sls_154_core/" target="_blank">Cleveland</a></td><td> 2015 sales prices of homes in Cleveland, OH.</td><td> 205</td><td> 9</td><td> <a href="data/cleveland.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-Cleveland', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Cleveland');">cleveland.zip</a></td></tr><tr><td> <a href="columbus/" target="_blank">Columbus</a></td><td> Columbus neighborhood crime</td><td> 49</td><td> 20</td><td> <a href="data/columbus.zip" target="_self" title="columbus.zip" onclick="ga('send', 'event', 'GeoDa-columbus', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for columbus');">columbus.zip</a></td></tr><td> <a href="denver/" target="_blank">Denver</a></td><td> Demographics and housing in Denver neighborhoods.</td><td> 75</td><td> 55</td><td> <a href="data/denver.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-Denver', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Denver');">denver.zip</a></td></tr><tr><td> <a href="county_election_2012_2016-variables/" target="_blank">Elections</a></td><td> 2012 and 2016 Presidential Elections</td><td> 3,108</td><td> 74</td><td> <a href="data/election.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-Elections', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Elections');">election.zip</a></td></tr><tr><td> <a href="grid100/" target="_blank">Grid100</a></td><td> Grid with simulated variables</td><td> 100</td><td> 34</td><td> <a href="data/grid100.zip" target="_self" title="grid100.zip" onclick="ga('send', 'event', 'GeoDa-Grid100', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Grid100');">grid100.zip</a></td></tr><tr><td> <a href="chicago_sup_vars/" target="_blank">Groceries</a></td><td> 2015 Chicago supermarkets</td><td> 148</td><td> 7</td><td> <a href="data/grocery.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-Grocery', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Grocery');">grocery.zip</a></td></tr><tr><td> <a href="Guerry/" target="_blank">Guerry</a></td><td> Moral statistics of France (Guerry, 1833)</td><td> 85</td><td> 23</td><td> <a href="data/guerry.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-Guerry', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Guerry');">guerry.zip</a></td></tr><tr><td> <a href="co_income_diversity_variables/" target="_blank">Health+</a></td><td> 2000 Health, Income + Diversity</td><td> 3,984</td><td> 64</td><td> <a href="data/income_diversity.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-IncDiv', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for IncDiv');">income_diversity.zip</a></td></tr><tr><td> <a href="healthindicators-variables/" target="_blank">Health Indicators</a></td><td> Chicago Health Indicators (2005-11)</td><td> 77</td><td> 31</td><td> <a href="data/healthIndicators.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-HealthInd', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for HealthInd');">healthIndicators.zip</a></td></tr><tr><td> <a href="hickory1/" target="_blank">Hickory1</a></td><td> 2000 Census Tract Data for Hickory, NC MSA and counties</td><td> 68</td><td> 30</td><td> <a href="data/HickoryMSA.zip" target="_self" title="HickoryMSA.zip" onclick="ga('send', 'event', 'GeoDa-Hickory', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Hickory');">HickoryMSA.zip</a></td></tr><tr><td> <a href="hickory2/" target="_blank">Hickory2</td><td> 1998 and 2001 Zip Code Business Patterns (Census Bureau) for Hickory, NC MSA</td><td> 29</td><td> 55</td><td> <a href="data/HickoryMSA2.zip" target="_self" title="HickoryMSA2.zip" onclick="ga('send', 'event', 'GeoDa-Hickory2', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Hickory2');">HickoryMSA2.zip</a></td></tr><tr><td> <a href="KingCounty-HouseSales2015/" target="_blank">Home Sales</a></td><td> 2014-15 Home Sales in King County, WA</td><td> 21,613</td><td> 21</td><td> <a href="data/kingcounty.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-KingCty', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Kingcty');">kingcounty.zip</a></td></tr><tr><td> <a href="houston/" target="_blank">Houston</a></td><td> Houston, TX region homicide counts and rates</td><td> 52</td><td> 23</td><td> <a href="data/houston_hom.zip" target="_self" title="houston_hom.zip" onclick="ga('send', 'event', 'GeoDa-Houston', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Houston');">houston_hom.zip</a></td></tr><tr><td> <a href="juvenile/" target="_blank">Juvenile</a></td><td> Cardiff juvenile delinquent residences</td><td> 168</td><td> 3</td><td> <a href="data/juvenile.zip" target="_self" title="juvenile.zip" onclick="ga('send', 'event', 'GeoDa-Juvenile', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Juvenile');">juvenile.zip</a></td></tr><tr><td> <a href="lansing1/" target="_blank">Lansing1</a></td><td> 2000 Census Tract Data for Lansing, MI MSA and counties</td><td> 117</td><td> 30</td><td> <a href="data/LansingMSA.zip" target="_self" title="LansingMSA.zip" onclick="ga('send', 'event', 'GeoDa-Lansing', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Lansing');">LansingMSA.zip</a></td></tr><tr><td> <a href="lansing2/" target="_blank">Lansing2</a></td><td> 1998 and 2001 Zip Code Business Patterns (Census Bureau) for Lansing, MI MSA</td><td> 46</td><td> 55</td><td> <a href="data/LansingMSA2.zip" target="_self" title="LansingMSA2.zip" onclick="ga('send', 'event', 'GeoDa-Lansing2', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Lansing2');">LansingMSA2.zip</a></td></tr><tr><td> <a href="ozone/" target="_blank">Laozone</a></td><td> Ozone measures at monitoring stations in Los Angeles basin</td><td> 32</td><td> 8</td><td> <a href="data/laozone.zip" target="_self" title="laozone.zip" onclick="ga('send', 'event', 'GeoDa-Laozone', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Laozone');">laozone.zip</a></td></tr><tr><td> <a href="lasrosas/" target="_blank">LasRosas</a></td><td> Corn yield, fertilizer and field data for precision agriculture, Argentina, 1999</td><td> 1,738</td><td> 34</td><td> <a href="data/lasrosas.zip" target="_self" title="lasrosas.zip" onclick="ga('send', 'event', 'GeoDa-Lasrosas', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Lasrosas');">lasrosas.zip</a></td></tr><tr><td> <a href="liq_chicago/" target="_blank">Liquor Stores</a></td><td> 2015 Chicago Liquor Stores</td><td> 571</td><td> 2</td><td> <a href="data/liquor.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-Liquor', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Liquor');">liquor.zip</a></td></tr><tr><td> <a href="colomb_malaria/" target="_blank">Malaria</a></td><td> Malaria incidence and population (1973, 95, 93 censuses and projections until 2005) &nbsp &nbsp &nbsp</td><td> 1,068</td><td> 50</td><td> <a href="data/malariacolomb.zip" target="_self" title="Malaria Columbia" onclick="ga('send', 'event', 'GeoDa-Malaria', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for BMalaria');">Malaria-Colombia.zip</a></td></tr><tr><td> <a href="milwaukee1/" target="_blank">Milwaukee1</a></td><td> 2000 Census Tract Data for Milwaukee, WI MSA</td><td> 417</td><td> 31</td><td> <a href="data/MilwaukeeMSA.zip" target="_self" title="MilwaukeeMSA.zip" onclick="ga('send', 'event', 'GeoDa-Milwaukee', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Milwaukee');">MilwaukeeMSA.zip</a></td></tr><tr><td> <a href="milwaukee2/" target="_blank">Milwaukee2</a></td><td> 1998 and 2001 Zip Code Business Patterns (Census Bureau) for Milwaukee, WI MSA</td><td> 83</td><td> 55</td><td> <a href="data/MilwaukeeMSA2.zip" target="_self" title="MilwaukeeMSA2.zip" onclick="ga('send', 'event', 'GeoDa-Milwaukee2', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Milwaukee2');">MilwaukeeMSA2.zip</a></td></tr><tr><td> <a href="ncovr/" target="_blank">NCOVR</a></td><td> US county homicides 1960-1990</td><td>3,085</td><td> 69</td><td> <a href="data/ncovr.zip" target="_self" title="ncovr.zip" onclick="ga('send', 'event', 'GeoDa-NCOVR', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for NCOVR');">ncovr.zip</a></td></tr><tr><td> <a href="natregimes/" target="_blank">Natregimes</a></td><td> NCOVR with regimes (book/PySAL)</td><td> 3,085</td><td> 73</td><td> <a href="data/natregimes.zip" target="_self" onclick="ga('send', 'event', 'GeoDa-NatRegimes', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for NatRegimes');">natregimes.zip</a></td></tr><tr><td> <a href="ndvi/" target="_blank">NDVI</a></td><td> Normalized Difference Vegetation Index grid</td><td> 49</td><td> 5</td><td> <a href="data/ndvi.zip" target="_self" title="ndvi.zip" onclick="ga('send', 'event', 'GeoDa-NDVI', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for NDVI');">ndvi.zip</a></td></tr><tr><td> <a href="nepal/" target="_blank">Nepal</a></td><td> Health, poverty and education indicators for Nepal districts</td><td> 75</td><td> 61</td><td> <a href="data/nepal.zip" target="_self" title="nepal.zip" onclick="ga('send', 'event', 'GeoDa-Nepal', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Nepal');">nepal.zip</a></td></tr><tr><td> <a href="nyc/" target="_blank">NYC</a></td><td> Demographic and housing data for New York City subboroughs, 2002-09</td><td> 55</td><td> 34</td><td> <a href="/data/nyc.zip" target="_self" title="nyc.zip" onclick="ga('send', 'event', 'GeoDa-NYC', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for NYC');">nyc.zip</a></td></tr><tr><td> <a href="LEHD_Data/" target="_blank">NYC Earnings</a></td><td> Block-level Earnings in NYC (2002-14)</td><td> 108,487</td><td> 70</td><td> <a href="data/lehd.zip" target="_self" title="lehd.zip" onclick="ga('send', 'event', 'GeoDa-LEHD', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for LEHD');">lehd.zip</a></td></tr><tr><td> <a href="NYC-Census-2000/" target="_blank">NYC Education</a></td><td> NYC Education (2000)</td><td> 2,216</td><td> 56</td><td> <a href="data/nyc_2000Census.zip" target="_self" title="nyc_2000Census.zip" onclick="ga('send', 'event', 'GeoDa-NYC2000Census', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for NYC2000Census');">nyc_2000Census.zip</a></td></tr><tr><td> <a href="NYC-Nhood-ACS-2008-12/" target="_blank">NYC Neighborhoods</a></td><td> Demographics for New York City neighborhoods</td><td> 195</td><td> 98</td><td> <a href="data/nycnhood_acs.zip" target="_self" title="nycnhood_acs.zip" onclick="ga('send', 'event', 'GeoDa-NycnhoodACS', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for NycnhoodACS');">nycnhood_acs.zip</a></td></tr><tr><td> <a href="NYC_Tract_ACS2008_12/" target="_blank">NYC Socio-Demographics</a></td><td> NYC Education + Socio-Demographics</td><td> 2,166</td><td> 113</td><td> <a href="data/nyctract_acs.zip" target="_self" title="nyctract_acs.zip" onclick="ga('send', 'event', 'GeoDa-Nyctract', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Nyctract');">nyctract_acs.zip</a></td></tr><tr><td> <a href="ohiolung/" target="_blank">Ohiolung</a></td><td> Ohio lung cancer data, 1968, 1978, 1988</td><td> 88</td><td> 42</td><td> <a href="data/ohiolung.zip" target="_self" title="ohiolung.zip" onclick="ga('send', 'event', 'GeoDa-ohiolung', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for ohiolung');">ohiolung.zip</a></td></tr><tr><td> <a href="orlando1/" target="_blank">Orlando1</a></td><td> 2000 Census Tract Data for Orlando, FL MSA and counties</td><td> 328</td><td> 30</td><td> <a href="data/OrlandoMSA.zip" target="_self" title="OrlandoMSA.zip" onclick="ga('send', 'event', 'GeoDa-Orlando', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Orlando');">OrlandoMSA.zip</a></td></tr><tr><td> <a href="orlando2/" target="_blank">Orlando2</a></td><td> 1998 and 2001 Zip Code Business Patterns (Census Bureau) for Orlando, FL MSA</td><td> 94</td><td> 59</td><td> <a href="data/OrlandoMSA2.zip" target="_self" title="OrlandoMSA2.zip" onclick="ga('send', 'event', 'GeoDa-Orlando2', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Orlando2');">OrlandoMSA2.zip</a></td></tr><tr><td> <a href="oz96/" target="_blank">Oz9799</a></td><td> Monthly ozone data, 1997-99</td><td> 30</td><td> 78</td><td> <a href="data/oz9799.zip" target="_self" title="oz9799.zip" onclick="ga('send', 'event', 'GeoDa-oz9799', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for oz9799');">oz9799.zip</a></td></tr><tr><td> <a href="phx/" target="_blank">Phoenix ACS</a></td><td> Phoenix American Community Survey Data (2010, 5-year averages)</td><td> 685</td><td> 17</td><td> <a href="data/phx2.zip" target="_self" title="phx.zip" onclick="ga('send', 'event', 'GeoDa-Phx', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Phx');">phx.zip</a></td></tr><tr><td> <a href="pitt93/" target="_blank">Pittsburgh</a></td><td> Pittsburgh homicide locations</td><td> 143</td><td> 8</td><td> <a href="data/pittsburgh.zip" target="_self" title="pittsburgh.zip" onclick="ga('send', 'event', 'GeoDa-Pitts', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Pitts');">pittsburgh.zip</a></td></tr><tr><td> <a href="police/" target="_blank">Police</a></td><td> Police expenditures Mississippi counties</td><td> 82</td><td> 21</td><td> <a href="data/police.zip" target="_self" title="police.zip" onclick="ga('send', 'event', 'GeoDa-police', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for police');">police.zip</a></td></tr><tr><td> <a href="sacramento1/" target="_blank">Sacramento1</a></td><td> 2000 Census Tract Data for Sacramento MSA</td><td> 403</td><td> 30</td><td> <a href="data/sacramento.zip" target="_self" title="sacramento.zip" onclick="ga('send', 'event', 'GeoDa-Sacramento', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Sacramento');">sacramento.zip</a></td></tr><tr><td> <a href="sacramento2/" target="_blank">Sacramento2</a></td><td> 1998 and 2001 Zip Code Business Patterns (Census Bureau) for Sacramento MSA</td><td> 125</td><td> 53</td><td> <a href="data/SacramentoMSA2.zip" target="_self" title="SacramentoMSA2.zip" onclick="ga('send', 'event', 'GeoDa-Sacramento2', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Sacramento2');">SacramentoMSA2.zip</a></td></tr><tr><td> <a href="SFcrimes_vars/" target="_blank">SanFran Crime &nbsp &nbsp &nbsp</a></td><td> July-Dec 2012 crime incidents in San Francisco (points + area) - for CAST</td><td> 3,384</td><td> 13</td><td> <a href="data/SFCrime_July_Dec2012.zip" target="_self" title="SFCrime_July_Dec2012.zip" onclick="ga('send', 'event', 'GeoDa-SFCrime', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for SFCrime');">SFCrime_July_Dec2012.zip</a></td></tr><tr><td> <a href="savannah1/" target="_blank">Savannah1</a></td><td> 2000 Census Tract Data for Savannah, GA MSA and counties</td><td> 77</td><td> 30</td><td> <a href="data/SavannahMSA.zip" target="_self" title="SavannahMSA.zip" onclick="ga('send', 'event', 'GeoDa-Savannah', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Savannah');">SavannahMSA.zip</a></td></tr><tr><td> <a href="savannah2/" target="_blank">Savannah2</a></td><td> 1998 and 2001 Zip Code Business Patterns (Census Bureau) for Savannah, GA MSA</td><td> 24</td><td> 55</td><td> <a href="data/SavannahMSA2.zip" target="_self" title="SavannahMSA2.zip" onclick="ga('send', 'event', 'GeoDa-Savannah2', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Savannah2');">SavannahMSA2.zip</a></td></tr><tr><td> <a href="scotlip/" target="_blank">Scotlip</a></td><td> Male lip cancer in Scotland, 1975-80</td><td> 56</td><td> 11</td><td> <a href="data/scotlip.zip" target="_self" title="scotlip.zip" onclick="ga('send', 'event', 'GeoDa-Scotlip', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Scotlip');">scotlip.zip</a></td></tr><tr><td> <a href="seattle1/" target="_blank">Seattle1</a></td><td> 2000 Census Tract Data for Seattle, WA MSA and counties</td><td> 664</td><td> 30</td><td> <a href="data/SeattleMSA.zip" target="_self" title="SeattleMSA.zip" onclick="ga('send', 'event', 'GeoDa-Seattle', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Seattle');">SeattleMSA.zip</a></td></tr><tr><td> <a href="seattle2/" target="_blank">Seattle2</a></td><td> 1998 and 2001 Zip Code Business Patterns (Census Bureau) for Seattle, WA MSA</td><td> 145</td><td> 59</td><td> <a href="data/SeattleMSA2.zip" target="_self" title="SeattleMSA2.zip" onclick="ga('send', 'event', 'GeoDa-Seattle2', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Seattle2');">SeattleMSA2.zip</a></td></tr><tr><td> <a href="sids/" target="_blank">SIDS</a></td><td> North Carolina county SIDS death counts</td><td> 100</td><td> 13</td><td> <a href="data/sids.zip" target="_self" title="sids.zip" onclick="ga('send', 'event', 'GeoDa-SIDS', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for SIDS');">sids.zip</a></td></tr><tr><td> <a href="sids2/" target="_blank">SIDS2</a></td><td> North Carolina county SIDS death counts and rates</td><td> 100</td><td> 17</td><td> <a href="data/sids2.zip" target="_self" title="sids2.zip" onclick="ga('send', 'event', 'GeoDa-SIDS2', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for SIDS2');">sids2.zip</a></td></tr><tr><td> <a href="snow/" target="_blank">Snow</a></td><td> John Snow & the 19th Century Cholera Epidemic</td><td> NA</td><td> NA</td><td> <a href="data/snow.zip" target="_self" title="snow.zip" onclick="ga('send', 'event', 'GeoDa-Snow', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Snow');">snow.zip</a></td></tr><tr><td> <a href="south/" target="_blank">South</a></td><td> US Southern county homicides 1960-1990</td><td> 1,412</td><td> 69</td><td> <a href="data/south.zip" target="_self" title="south.zip" onclick="ga('send', 'event', 'GeoDa-South', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for South');">south.zip</a></td></tr><tr><td> <a href="spirals/" target="_blank">Spirals</a></td><td> Synthetic spiral points</td><td> 301</td><td> 2</td><td> <a href="data/spirals.csv" target="_self" onclick="ga('send', 'event', 'GeoDa-Spirals', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Spirals');">spirals.csv</a></td></tr><tr><td> <a href="stlouis/" target="_blank">StLouis</a></td><td> St Louis region county homicide counts and rates</td><td> 78</td><td> 23</td><td> <a href="data/stlouis.zip" target="_self" title="stlouis.zip" onclick="ga('send', 'event', 'GeoDa-Stlouis', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Stlouis');">stlouis.zip</a></td></tr><tr><td> <a href="tampa1/" target="_blank">Tampa1</a></td><td> 2000 Census Tract Data for Tampa, FL MSA and counties</td><td> 547</td><td> 30</td><td> <a href="data/TampaMSA.zip" target="_self" title="TampaMSA.zip" onclick="ga('send', 'event', 'GeoDa-Tampa', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for Tampa');">TampaMSA.zip</a></td></tr><tr><td> <a href="us-sdoh/" target="_blank">US SDOH</a></td><td> 2014 US Social Determinants of Health Data</td><td> 71,901</td><td> 25</td><td> <a href="data/us-sdoh-2014.zip" target="_self" title="us-sdoh-2014.zip" onclick="ga('send', 'event', 'GeoDa-USSDOH', 'GeoDaSampleDownload', 'GeoDa Sample Data downloads Count for US SDOH');">us-sdoh-2014.zip</a></td></tr></tbody></table></div></article><div id="grid" class="row flex-grid"></div></main></section><footer><p>Maintained by lixun910 Template by <a href="http://willianjusten.com.br">Willian Justen</a></p></footer><script src="/data-and-lab/assets/js/main.js"></script></body></html>
\ No newline at end of file
diff --git a/libpysal/examples/remotes.py b/libpysal/examples/remotes.py
index f4aaf2a4..b63bc6b2 100644
--- a/libpysal/examples/remotes.py
+++ b/libpysal/examples/remotes.py
@@ -1,8 +1,9 @@
 """Handle remote datasets."""
 
+import os
+
 from bs4 import BeautifulSoup
 import requests
-import warnings
 from .base import Example
 
 
@@ -19,11 +20,12 @@ def poll_remotes():
 
     url = "https://geodacenter.github.io/data-and-lab//"
     try:
-        page = requests.get(url)
-    except:
-        warnings.warn("Remote data sets not available. Check connection.")
-        return {}
-    soup = BeautifulSoup(page.text, "html.parser")
+        page = requests.get(url).text
+    except Exception:
+        with open(os.path.join(os.path.dirname(__file__),
+                               'datasets.html')) as f:
+            page = f.read()
+    soup = BeautifulSoup(page, "html.parser")
     samples = soup.find(class_="samples")
     rows = samples.find_all("tr")
     datasets = {}
-- 
2.36.1