Diego Valle-Jones's Bloghttps://blog.diegovalle.net/2022-11-14T00:00:00+01:00Shapefiles from the 2020 INEGI Census2022-11-14T00:00:00+01:00Diego Valle-Jonestag:blog.diegovalle.net,2022-11-14:2022/11/inegi-mexico-2020-census-shapefiles.html<p><a href="/images/posts/inegi-census-shapefiles/mexico.jpg">
<img alt="Streets of Mexico City" class="image-process-article-image" src="/images/posts/inegi-census-shapefiles/derivatives/article-image/mexico.jpg"/>
</a></p>
<p>You can now download shapefiles of selected geographic areas from the
latest <span class="caps">INEGI</span> <a href="https://gaia.inegi.org.mx/scince2020/"><span class="caps">SCINCE</span></a>
database. In addition to geospatial information on state and
municipios, the files include <a href="https://www.inegi.org.mx/app/scitel/Default?ev=10"><span class="caps">AGEB</span> and
manzana</a>
boundaries. The files are available in shapefile format and include
demographic data</p>
<p>If you don’t know how to run the script or prefer to simply download
the data, you can subscribe to my newsletter (one email per post) and
you’ll get the shapefile download links directly in your inbox as a bonus.</p>
<p><br/>
</p><div id="envelope" style="border-color:#023F50;width:87%;margin:0;background-color:rgba(61, 121, 138, 1);padding:1em;font-family: 'PT Sans', sans-serif;">
<div class="mc_embed_signup" style="overflow: hidden;
text-align: left;">
<div class="form-top-left" style="float: left;
width: 75%;
padding-top: 25px;">
<h3 style="color:white;margin:0;font-family: 'PT Sans', sans-serif;">Subscribe to my <span class="free" style="color: #C7B720;">free</span> newsletter</h3>
<br/>
<p style="opacity:1;color:white;font-family: 'PT Sans', sans-serif;font-size:80%"><b>My email list is pretty simple: one email for each new post or project. If you join over 5,000 subscribers to my newsletter from Harvard, Stanford, Google, McKinsey, and many more, you’ll receive as a welcome gift the 100+ shapefiles described in this post (It’s more than <span class="caps"><span class="caps">7GB</span></span> of data and totally free)</b></p>
<p></p><ul style="opacity:1;color:white;font-family: 'PT Sans', sans-serif;font-size:80%">
<li>Shapefiles of Manzanas, AGEBs, Municipios, Estados, and more
</li>
<li>
The latest shapefiles from the 2020 Census
</li>
<li>Includes historical shapefiles from 2010 census</li>
<li><a href="https://www.diegovalle.net/privacy/">Privacy policy</a></li>
<li>Unsubscribe at any time</li>
<p></p></ul><p></p>
<!-- <p>Enter your email below to get instant access:</p> -->
</div>
<div class="form-top-right" style=" float: left;
width: 25%;
padding-top: 5px;
font-size: 66px;
color: #fff;
line-height: 100px;
text-align: right;
opacity: 0.3;">
<i class="fa fa-pencil"></i>
</div>
</div>
<div class="form-bottom">
<form action="https://www.diegovalle.net/api/newsletter" class="registration-form" id="Newsletter" method="post" novalidate="novalidate" role="form">
<!-- <div class="form-group">
<label class="sr-only" for="form-first-name">First name</label>
<input type="text" name="form-first-name" placeholder="First name..." class="form-first-name form-control" id="form-first-name">
</div>
<div class="form-group">
<label class="sr-only" for="form-last-name">Last name</label>
<input type="text" name="form-last-name" placeholder="Last name..." class="form-last-name form-control" id="form-last-name">
</div> -->
<div class="form-group">
<label for="email"><strong style="color:white;font-family: 'PT Sans', sans-serif;font-weight: 100;
font-size: 90%;">Where should I send the newsletter and shapefiles?</strong></label>
</div>
<div class="form-group">
<label class="sr-only" for="form-email" style=" position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;">Email</label>
<input aria-required="true" class="form-email form-control" id="email" name="email" placeholder="Email..." required="" type="email"/>
</div>
<div style="position: absolute; left: -5000px;"><input name="website" style="height: 50px;margin: 0;padding: 0 20px;vertical-align: middle;background: #fff;border: 3px solid #fff;font-size: 16px;font-weight: 300;line-height: 50px;color: #888;-moz-border-radius: 4px;-webkit-border-radius: 4px;border-radius: 4px;-moz-box-shadow: none;-webkit-box-shadow: none;box-shadow: none;-o-transition: all .3s;-moz-transition: all .3s;-webkit-transition: all .3s;-ms-transition: all .3s;transition: all .3s;" tabindex="-1" type="text" value="fatcatseat2much"/>
<input name="referrer" tabindex="-1" type="text" value="2015shapefiles"/>
</div>
<input class="hiddenRecaptcha_post required" id="hiddenRecaptcha_post" name="hiddenRecaptcha_post" type="hidden"/>
<div class="g-recaptcha" data-sitekey="6LdhprAZAAAAAONu3rfxTPNGCIjjHbH06dqVerDd" id="recaptcha_post"></div><br/>
<button class="btn" style="height: 50px;margin: 0;padding: 0 20px;vertical-align: middle;border: 0;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size: 16px;font-weight: 900;line-height: 50px;color: #fff;-moz-border-radius: 4px;-webkit-border-radius: 4px;border-radius: 4px;text-shadow: none;-moz-box-shadow: none;-webkit-box-shadow: none;box-shadow: none;-o-transition: all .3s;-moz-transition: all .3s;-webkit-transition: all .3s;-ms-transition: all .3s;transition: all .3s;" type="submit">Get your free newsletter</button>
</form>
</div>
</div>
<br/>
<p>If you use linux you can use the following script or if you’re unable to run the script you can always use the <a href="https://github.com/diegovalle/docker_scince_2020">docker</a> <a href="https://hub.docker.com/r/diegovalle/scince_2020">image</a></p>
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1</pre></div></td><td class="code"><div class="highlight"><pre>docker run -v <span class="s2">"</span><span class="k">$(</span><span class="nb">pwd</span><span class="k">)</span><span class="s2">/scince_2020"</span>:/scince_2020 diegovalle/scince_2020
</pre></div>
</td></tr></table>
<p><br/>
<style>
/<em> https://github.com/lonekorean/gist-syntax-themes </em>/
@import url('https://cdn.rawgit.com/lonekorean/gist-syntax-themes/d49b91b3/stylesheets/idle-fingers.css');</p>
<p>@import url('https://fonts.googleapis.com/css?family=Open+Sans');
body {
font: 16px 'Open Sans', sans-serif;
}
body .gist .gist-file {
border-color: #555 #555 #444
}
body .gist .gist-data {
border-color: #555
}
body .gist .gist-meta {
color: #ffffff;
background: #373737;
}
body .gist .gist-meta a {
color: #ffffff
}
body .gist .gist-data .pl-s .pl-s1 {
color: #a5c261
}
</style></p>
<script src="https://gist.github.com/diegovalle/af936552e0998174313154a2ea9e92a9.js"></script>
<p><a href="/images/posts/inegi-census-shapefiles/cdmx.jpg">
<img alt="Streets of Mexico City" class="image-process-article-image" src="/images/posts/inegi-census-shapefiles/derivatives/article-image/cdmx.jpg"/>
</a></p>