This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>D3 NYC Geo Test</title> | |
</head> | |
<style type="text/css"> | |
body { | |
margin: 0; | |
padding: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>${1:Project Name}</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>CartoDB.JS Demo</title> | |
<meta name="description" content=""> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
-title: "The voyage of the Beagle" | |
-author: "@clhenrick" | |
``` | |
#The Voyage of the HMS Beagle | |
``` | |
- center: [50.343, -4.143] | |
- zoom: 2 | |
``` |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### CartoDB Table Name | |
| Coverage | Geometry Type | Source | Original Source URL | Date Created | Date Modified | Modified By | Meta Data Wiki | | |
|--------------------|---------------|--------|---------------------|--------------|---------------|-------------|----------------| | |
| | | | | | | | | | |
| | | | | | | | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- split the name_alt column into new rows using `|` as a delimiter and insert into global_province_synonyms table as new rows | |
-- to do: do a `IS NOT null` check? | |
-- note: you have to escape the | character as it is reserved in Postgres | |
INSERT INTO global_province_synonyms (name, rank, woe_id, country_iso3) | |
SELECT | |
regexp_split_to_table(global_province_polygons.name_alt, E'\\|' ) AS name, | |
1, woe_id, iso3 | |
FROM | |
global_province_polygons |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- the root tag, everything must go in here --> | |
<html> | |
<!-- meta information about our page as well as external links and styles --> | |
<head> | |
<!-- specify the character encoding of our page --> | |
<meta charset="utf-8"> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype HTML> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Day 02: CSS</title> | |
<link rel="stylesheet" type="text/css" href="./styles.css"> <!-- I modified the path here so the css file will show up on the live code --> | |
</head> | |
<body> | |
<a href="http://cartodb.com/">CartoDB</a> is Awesome! |