Skip to content

Instantly share code, notes, and snippets.

View andy-esch's full-sized avatar
🌳

Andy Eschbacher andy-esch

🌳
View GitHub Profile
@andy-esch
andy-esch / sva-oct-19-2017.md
Created October 19, 2017 20:59
CARTO at SVA - Oct 19, 2017
@andy-esch
andy-esch / config.json
Last active March 24, 2017 12:56
Toggling sublayers in named maps
{
"auth": {
"method": "open"
},
"layergroup": {
"layers": [
{
"options": {
"cartocss": "#namedmap_ex_sql_multilayer{ marker-width: 10; marker-fill: #FF0000; marker-allow-overlap: true;}",
"cartocss_version": "2.0.1",
@andy-esch
andy-esch / index.html
Last active March 15, 2017 15:55
cartoframes html asset
<!DOCTYPE html>
<html>
<head>
<title>cartoframes</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<!-- Map takes up full browser window -->
<style>
@andy-esch
andy-esch / NYC Data Sci -- Feb 7, 2017.md
Last active February 7, 2017 20:26
NYC Data Science Academy -- Feb 7, 2017
@andy-esch
andy-esch / index.html
Last active January 18, 2017 20:19
Using a slider to control opacity of CartoDB layer
<!doctype html>
<html lang="en">
<!-- pulled some code from http://jqueryui.com/slider/#rangemin -->
<head>
<meta charset="utf-8">
<title>CartoDB.js Opacity Slider</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
@andy-esch
andy-esch / index.md
Last active January 4, 2017 09:01
Intermediate SQL at CartoDB -- January 12, 2016

CartoCamp Intermediate SQL

January 11th, 2016

Instructors

Andy Eschbacher, Map Scientist, @MrEPhysics

Stuart Lynn, Map Scientist, @Stuart_Lynn

@andy-esch
andy-esch / README.md
Last active December 16, 2016 17:44
TechChange Talk Notes -- Dec 8, 2016

TechChange: Technology for Data Visualization

Basics

  • Use the CARTO Builder for easy visualization of data
    • Put your data on the map
    • Build dashboards to interact with data
    • Dynamically updating maps (sync'd from realtime data)
  • We have free accounts: https://carto.com/signup
@andy-esch
andy-esch / make_query.py
Last active December 14, 2016 20:10
mortality data parsing
spans = ['1', '100+', '10-14', '1-4', '15-19', '20-24', '25-29', '30-34',
'35-39', '40-44', '45-49', '50-54', '55-59', '5-9', '60-64',
'65-69', '70-74', '75-79', '80-84', '85-89', '90-94', '95-99']
genders = ['Male', 'Female']
# max(deaths) FILTER (WHERE gender = 'Female' AND five_year_age_groups_code = '35-39') As women_35_39_deaths
@andy-esch
andy-esch / README.md
Last active November 2, 2016 19:33
MIT Workshop -- Nov 2 2016
@andy-esch
andy-esch / README.md
Last active October 15, 2016 00:10
Data Science Academy -- Oct 14, 2016