Skip to content

Commit

Permalink
Merge pull request #216 from knaaptime/metadata
Browse files Browse the repository at this point in the history
bls fallback
  • Loading branch information
knaaptime committed Apr 14, 2020
2 parents 1937ceb + f3ecd1c commit d9cb778
Show file tree
Hide file tree
Showing 122 changed files with 1,405 additions and 10,989 deletions.
2 changes: 1 addition & 1 deletion docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 0cd4dbc7e3217dc37772cc61443d67d1
config: f533a7b8df7a19dc54c560eaa7d5aef9
tags: 645f666f9bcd5a90fca523b33c5a78b7
12 changes: 9 additions & 3 deletions docs/_modules/geosnap/_community.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" src="../../_static/js/jquery-1.12.4.min.js "></script>
<script type="text/javascript" src="../../_static/js/jquery-1.11.0.min.js "></script>
<script type="text/javascript" src="../../_static/js/jquery-fix.js "></script>
<script type="text/javascript" src="../../_static/bootstrap-3.4.1/js/bootstrap.min.js "></script>
<script type="text/javascript" src="../../_static/bootstrap-3.3.7/js/bootstrap.min.js "></script>
<script type="text/javascript" src="../../_static/bootstrap-sphinx.js "></script>

</head><body>
Expand All @@ -45,6 +45,7 @@

<li><a href="../../installation.html">Installation</a></li>
<li><a href="../../api.html">API</a></li>
<li><a href="../../data.html">Data</a></li>
<li><a href="https://spatialucr.github.io/geosnap-guide/">User Guide</a></li>
<li><a href="../../references.html">References</a></li>

Expand Down Expand Up @@ -73,6 +74,11 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../references.html">References</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../data.html">Data</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../data.html#tabular-data">Tabular Data</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../data.html#geo-data">Geo Data</a></li>
</ul>
</li>
</ul>
</ul>
</li>
Expand Down Expand Up @@ -787,7 +793,7 @@ <h1>Source code for geosnap._community</h1><div class="highlight"><pre>
<span class="p">):</span>
<span class="sd">&quot;&quot;&quot;Create a new Community from Census LEHD/LODES data.</span>

<span class="sd"> Instiantiate a new Community from LODES data.</span>
<span class="sd"> Instantiate a new Community from LODES data.</span>
<span class="sd"> Pass lists of states, counties, or any</span>
<span class="sd"> arbitrary FIPS codes to create a community. All fips code arguments</span>
<span class="sd"> are additive, so geosnap will include the largest unique set.</span>
Expand Down
46 changes: 27 additions & 19 deletions docs/_modules/geosnap/_data.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" src="../../_static/js/jquery-1.12.4.min.js "></script>
<script type="text/javascript" src="../../_static/js/jquery-1.11.0.min.js "></script>
<script type="text/javascript" src="../../_static/js/jquery-fix.js "></script>
<script type="text/javascript" src="../../_static/bootstrap-3.4.1/js/bootstrap.min.js "></script>
<script type="text/javascript" src="../../_static/bootstrap-3.3.7/js/bootstrap.min.js "></script>
<script type="text/javascript" src="../../_static/bootstrap-sphinx.js "></script>

</head><body>
Expand All @@ -45,6 +45,7 @@

<li><a href="../../installation.html">Installation</a></li>
<li><a href="../../api.html">API</a></li>
<li><a href="../../data.html">Data</a></li>
<li><a href="https://spatialucr.github.io/geosnap-guide/">User Guide</a></li>
<li><a href="../../references.html">References</a></li>

Expand Down Expand Up @@ -73,6 +74,11 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../references.html">References</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../data.html">Data</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../data.html#tabular-data">Tabular Data</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../data.html#geo-data">Geo Data</a></li>
</ul>
</li>
</ul>
</ul>
</li>
Expand Down Expand Up @@ -136,8 +142,8 @@ <h1>Source code for geosnap._data</h1><div class="highlight"><pre>

<span class="c1"># look for local storage and create if missing</span>
<span class="k">try</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">quilt3.data.geosnap_data</span> <span class="kn">import</span> <span class="n">storage</span>
<span class="k">except</span> <span class="ne">ImportError</span><span class="p">:</span>
<span class="n">storage</span> <span class="o">=</span> <span class="n">quilt3</span><span class="o">.</span><span class="n">Package</span><span class="o">.</span><span class="n">browse</span><span class="p">(</span><span class="s2">&quot;geosnap_data/storage&quot;</span><span class="p">)</span>
<span class="k">except</span> <span class="ne">FileNotFoundError</span><span class="p">:</span>
<span class="n">storage</span> <span class="o">=</span> <span class="n">quilt3</span><span class="o">.</span><span class="n">Package</span><span class="p">()</span>


Expand Down Expand Up @@ -230,13 +236,15 @@ <h1>Source code for geosnap._data</h1><div class="highlight"><pre>

<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;Instantiate a new DataStore object.&quot;&quot;&quot;</span>
<span class="k">try</span><span class="p">:</span> <span class="c1"># if any of these aren&#39;t found, stream them insteead</span>
<span class="kn">from</span> <span class="nn">quilt3.data.census</span> <span class="kn">import</span> <span class="n">tracts_cartographic</span><span class="p">,</span> <span class="n">administrative</span>
<span class="k">except</span> <span class="ne">ImportError</span><span class="p">:</span>

<span class="k">try</span><span class="p">:</span> <span class="c1"># if any of these aren&#39;t found, stream them insteead</span>
<span class="n">administrative</span> <span class="o">=</span> <span class="n">quilt3</span><span class="o">.</span><span class="n">Package</span><span class="o">.</span><span class="n">browse</span><span class="p">(</span><span class="s2">&quot;census/administrative&quot;</span><span class="p">)</span>
<span class="n">tracts_cartographic</span> <span class="o">=</span> <span class="n">quilt3</span><span class="o">.</span><span class="n">Package</span><span class="o">.</span><span class="n">browse</span><span class="p">(</span><span class="s2">&quot;census/tracts_cartographic&quot;</span><span class="p">)</span>
<span class="k">except</span> <span class="ne">FileNotFoundError</span><span class="p">:</span>
<span class="n">warn</span><span class="p">(</span>
<span class="s2">&quot;Unable to locate local census data. Streaming instead.</span><span class="se">\n</span><span class="s2">&quot;</span>
<span class="s2">&quot;If you plan to use census data repeatedly you can store it locally &quot;</span>
<span class="s2">&quot;with the data.store_census function for better performance&quot;</span>
<span class="s2">&quot;with the io.store_census function for better performance&quot;</span>
<span class="p">)</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">tracts_cartographic</span> <span class="o">=</span> <span class="n">quilt3</span><span class="o">.</span><span class="n">Package</span><span class="o">.</span><span class="n">browse</span><span class="p">(</span>
Expand All @@ -251,7 +259,7 @@ <h1>Source code for geosnap._data</h1><div class="highlight"><pre>
<span class="s2">&quot;Unable to locate local census data and unable to reach s3 bucket.&quot;</span>
<span class="s2">&quot;You will be unable to use built-in data during this session. &quot;</span>
<span class="s2">&quot;If you need these data, please try downloading a local copy &quot;</span>
<span class="s2">&quot;with the data.store_census function, then restart your &quot;</span>
<span class="s2">&quot;with the io.store_census function, then restart your &quot;</span>
<span class="s2">&quot;python kernel and try again.&quot;</span>
<span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">tracts_cartographic</span> <span class="o">=</span> <span class="n">tracts_cartographic</span>
Expand Down Expand Up @@ -294,13 +302,13 @@ <h1>Source code for geosnap._data</h1><div class="highlight"><pre>
<span class="sd"> stored as well-known binary on the &#39;wkb&#39; column.</span>

<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">try</span><span class="p">:</span> <span class="c1"># if any of these aren&#39;t found, stream them insteead</span>
<span class="kn">from</span> <span class="nn">quilt3.data.census</span> <span class="kn">import</span> <span class="n">blocks_2000</span>
<span class="k">except</span> <span class="ne">ImportError</span><span class="p">:</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">blocks_2000</span> <span class="o">=</span> <span class="n">quilt3</span><span class="o">.</span><span class="n">Package</span><span class="o">.</span><span class="n">browse</span><span class="p">(</span><span class="s2">&quot;census/blocks_2000&quot;</span><span class="p">)</span> <span class="c1"># if any of these aren&#39;t found, stream them instead</span>
<span class="k">except</span> <span class="ne">FileNotFoundError</span><span class="p">:</span>
<span class="n">warn</span><span class="p">(</span>
<span class="s2">&quot;Unable to locate local census 2000 block data. Streaming instead.</span><span class="se">\n</span><span class="s2">&quot;</span>
<span class="s2">&quot;If you plan to use census data repeatedly you can store it locally &quot;</span>
<span class="s2">&quot;with the data.store_blocks_2000 function for better performance&quot;</span>
<span class="s2">&quot;with the io.store_blocks_2000 function for better performance&quot;</span>
<span class="p">)</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">blocks_2000</span> <span class="o">=</span> <span class="n">quilt3</span><span class="o">.</span><span class="n">Package</span><span class="o">.</span><span class="n">browse</span><span class="p">(</span>
Expand All @@ -311,7 +319,7 @@ <h1>Source code for geosnap._data</h1><div class="highlight"><pre>
<span class="n">warn</span><span class="p">(</span>
<span class="s2">&quot;Unable to locate local census data and unable to reach s3 bucket.&quot;</span>
<span class="s2">&quot;You will be unable to use built-in data during this session. &quot;</span>
<span class="s2">&quot;Try downloading a local copy with the data.store_blocks_2000 function,&quot;</span>
<span class="s2">&quot;Try downloading a local copy with the io.store_blocks_2000 function,&quot;</span>
<span class="s2">&quot;then restart your python kernel and try again.&quot;</span>
<span class="p">)</span>

Expand Down Expand Up @@ -349,13 +357,13 @@ <h1>Source code for geosnap._data</h1><div class="highlight"><pre>
<span class="sd"> stored as well-known binary on the &#39;wkb&#39; column.</span>

<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">try</span><span class="p">:</span> <span class="c1"># if any of these aren&#39;t found, stream them insteead</span>
<span class="kn">from</span> <span class="nn">quilt3.data.census</span> <span class="kn">import</span> <span class="n">blocks_2010</span>
<span class="k">except</span> <span class="ne">ImportError</span><span class="p">:</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">blocks_2010</span> <span class="o">=</span> <span class="n">quilt3</span><span class="o">.</span><span class="n">Package</span><span class="o">.</span><span class="n">browse</span><span class="p">(</span><span class="s2">&quot;census/blocks_2010&quot;</span><span class="p">)</span> <span class="c1"># if any of these aren&#39;t found, stream them instead</span>
<span class="k">except</span> <span class="ne">FileNotFoundError</span><span class="p">:</span>
<span class="n">warn</span><span class="p">(</span>
<span class="s2">&quot;Unable to locate local census 2010 block data. Streaming instead.</span><span class="se">\n</span><span class="s2">&quot;</span>
<span class="s2">&quot;If you plan to use census data repeatedly you can store it locally &quot;</span>
<span class="s2">&quot;with the data.store_blocks_2010 function for better performance&quot;</span>
<span class="s2">&quot;with the io.store_blocks_2010 function for better performance&quot;</span>
<span class="p">)</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">blocks_2010</span> <span class="o">=</span> <span class="n">quilt3</span><span class="o">.</span><span class="n">Package</span><span class="o">.</span><span class="n">browse</span><span class="p">(</span>
Expand All @@ -367,7 +375,7 @@ <h1>Source code for geosnap._data</h1><div class="highlight"><pre>
<span class="s2">&quot;Unable to locate local census data and unable to reach s3 bucket.&quot;</span>
<span class="s2">&quot;You will be unable to use built-in data during this session. &quot;</span>
<span class="s2">&quot;If you need these data, please try downloading a local copy &quot;</span>
<span class="s2">&quot;with the data.store_blocks_2010 function, then restart your &quot;</span>
<span class="s2">&quot;with the io.store_blocks_2010 function, then restart your &quot;</span>
<span class="s2">&quot;python kernel and try again.&quot;</span>
<span class="p">)</span>

Expand Down
10 changes: 8 additions & 2 deletions docs/_modules/geosnap/analyze/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" src="../../../_static/js/jquery-1.12.4.min.js "></script>
<script type="text/javascript" src="../../../_static/js/jquery-1.11.0.min.js "></script>
<script type="text/javascript" src="../../../_static/js/jquery-fix.js "></script>
<script type="text/javascript" src="../../../_static/bootstrap-3.4.1/js/bootstrap.min.js "></script>
<script type="text/javascript" src="../../../_static/bootstrap-3.3.7/js/bootstrap.min.js "></script>
<script type="text/javascript" src="../../../_static/bootstrap-sphinx.js "></script>

</head><body>
Expand All @@ -45,6 +45,7 @@

<li><a href="../../../installation.html">Installation</a></li>
<li><a href="../../../api.html">API</a></li>
<li><a href="../../../data.html">Data</a></li>
<li><a href="https://spatialucr.github.io/geosnap-guide/">User Guide</a></li>
<li><a href="../../../references.html">References</a></li>

Expand Down Expand Up @@ -73,6 +74,11 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../../references.html">References</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../data.html">Data</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../../data.html#tabular-data">Tabular Data</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../data.html#geo-data">Geo Data</a></li>
</ul>
</li>
</ul>
</ul>
</li>
Expand Down
10 changes: 8 additions & 2 deletions docs/_modules/geosnap/analyze/cluster.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" src="../../../_static/js/jquery-1.12.4.min.js "></script>
<script type="text/javascript" src="../../../_static/js/jquery-1.11.0.min.js "></script>
<script type="text/javascript" src="../../../_static/js/jquery-fix.js "></script>
<script type="text/javascript" src="../../../_static/bootstrap-3.4.1/js/bootstrap.min.js "></script>
<script type="text/javascript" src="../../../_static/bootstrap-3.3.7/js/bootstrap.min.js "></script>
<script type="text/javascript" src="../../../_static/bootstrap-sphinx.js "></script>

</head><body>
Expand All @@ -45,6 +45,7 @@

<li><a href="../../../installation.html">Installation</a></li>
<li><a href="../../../api.html">API</a></li>
<li><a href="../../../data.html">Data</a></li>
<li><a href="https://spatialucr.github.io/geosnap-guide/">User Guide</a></li>
<li><a href="../../../references.html">References</a></li>

Expand Down Expand Up @@ -73,6 +74,11 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../../references.html">References</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../data.html">Data</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../../data.html#tabular-data">Tabular Data</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../data.html#geo-data">Geo Data</a></li>
</ul>
</li>
</ul>
</ul>
</li>
Expand Down
Loading

0 comments on commit d9cb778

Please sign in to comment.