-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
1,655 additions
and
1,655 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"id": "b82709af", | ||
"id": "188df781", | ||
"metadata": {}, | ||
"source": [ | ||
"# HTML export\n", | ||
|
@@ -13,7 +13,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"id": "df639486", | ||
"id": "cb392166", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
|
@@ -28,7 +28,7 @@ | |
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "6fb77d15", | ||
"id": "9020e4d9", | ||
"metadata": {}, | ||
"source": [ | ||
"You can then save the `html` variable to a text file (note: if you're writing an HTML application, you could consider using [Shiny](shiny.md) or [Streamlit](streamlit.md) instead), or print it:" | ||
|
@@ -37,7 +37,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 2, | ||
"id": "ddb06738", | ||
"id": "8dd4023f", | ||
"metadata": { | ||
"tags": [ | ||
"scroll-output" | ||
|
@@ -48,7 +48,7 @@ | |
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"<table id=\"itables_0000828c_3fb6_4707_90dc_8ca2ce486b93\" class=\"display nowrap\" data-quarto-disable-processing=\"true\" style=\"table-layout:auto;width:auto;margin:auto;caption-side:bottom\">\n", | ||
"<table id=\"itables_76c7b121_112e_4906_b626_9a0162a35853\" class=\"display nowrap\" data-quarto-disable-processing=\"true\" style=\"table-layout:auto;width:auto;margin:auto;caption-side:bottom\">\n", | ||
"<thead>\n", | ||
" <tr style=\"text-align: right;\">\n", | ||
" <th></th>\n", | ||
|
@@ -79,7 +79,7 @@ | |
"<script type=\"module\">\n", | ||
" import {DataTable, jQuery as $} from 'https://www.unpkg.com/[email protected]/dt_bundle.js';\n", | ||
"\n", | ||
" document.querySelectorAll(\"#itables_0000828c_3fb6_4707_90dc_8ca2ce486b93:not(.dataTable)\").forEach(table => {\n", | ||
" document.querySelectorAll(\"#itables_76c7b121_112e_4906_b626_9a0162a35853:not(.dataTable)\").forEach(table => {\n", | ||
" // Define the table data\n", | ||
" const data = [[\"AW\", \"Latin America & Caribbean \", \"Aruba\", \"Oranjestad\", -70.0167, 12.5167], [\"AF\", \"South Asia\", \"Afghanistan\", \"Kabul\", 69.1761, 34.5228], [\"AO\", \"Sub-Saharan Africa \", \"Angola\", \"Luanda\", 13.242, -8.81155]];\n", | ||
"\n", | ||
|
@@ -101,7 +101,7 @@ | |
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "abdc4a71", | ||
"id": "fa1081c5", | ||
"metadata": {}, | ||
"source": [ | ||
"or display it, like `show` does:" | ||
|
@@ -110,13 +110,13 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": 3, | ||
"id": "d2cf0a89", | ||
"id": "54fe9400", | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
"text/html": [ | ||
"<table id=\"itables_0000828c_3fb6_4707_90dc_8ca2ce486b93\" class=\"display nowrap\" data-quarto-disable-processing=\"true\" style=\"table-layout:auto;width:auto;margin:auto;caption-side:bottom\">\n", | ||
"<table id=\"itables_76c7b121_112e_4906_b626_9a0162a35853\" class=\"display nowrap\" data-quarto-disable-processing=\"true\" style=\"table-layout:auto;width:auto;margin:auto;caption-side:bottom\">\n", | ||
"<thead>\n", | ||
" <tr style=\"text-align: right;\">\n", | ||
" <th></th>\n", | ||
|
@@ -147,7 +147,7 @@ | |
"<script type=\"module\">\n", | ||
" import {DataTable, jQuery as $} from 'https://www.unpkg.com/[email protected]/dt_bundle.js';\n", | ||
"\n", | ||
" document.querySelectorAll(\"#itables_0000828c_3fb6_4707_90dc_8ca2ce486b93:not(.dataTable)\").forEach(table => {\n", | ||
" document.querySelectorAll(\"#itables_76c7b121_112e_4906_b626_9a0162a35853:not(.dataTable)\").forEach(table => {\n", | ||
" // Define the table data\n", | ||
" const data = [[\"AW\", \"Latin America & Caribbean \", \"Aruba\", \"Oranjestad\", -70.0167, 12.5167], [\"AF\", \"South Asia\", \"Afghanistan\", \"Kabul\", 69.1761, 34.5228], [\"AO\", \"Sub-Saharan Africa \", \"Angola\", \"Luanda\", 13.242, -8.81155]];\n", | ||
"\n", | ||
|
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
Oops, something went wrong.