├── .binder └── Dockerfile ├── .gitattributes ├── .gitignore ├── 00_install_packages.Rmd ├── 11_exercise_timeseries.Rmd ├── 11_exercise_timeseries_answers.Rmd ├── 11_exercise_timeseries_answers.html ├── 12_exercise_crosstalk_map.Rmd ├── 12_exercise_crosstalk_map_answers.Rmd ├── 12_exercise_crosstalk_map_answers.html ├── 13_exercise_all_together.Rmd ├── 13_exercise_all_together_answers.Rmd ├── 13_exercise_all_together_answers.html ├── DESCRIPTION ├── README.md ├── data ├── All_Starbucks_Locations_in_the_US_-_Map.csv ├── hurricanes.csv └── mockaroo_latlon.csv ├── desc_old.txt ├── desc_old2.txt ├── index.Rmd ├── index.html ├── license.txt ├── slides ├── index.Rmd ├── index.html ├── index_files │ └── figure-html │ │ ├── cars-1.svg │ │ ├── unnamed-chunk-2-1.png │ │ └── unnamed-chunk-3-1.png └── libs │ ├── Proj4Leaflet │ ├── proj4-compressed.js │ └── proj4leaflet.js │ ├── bootstrap │ ├── css │ │ ├── bootstrap-theme.css │ │ ├── bootstrap-theme.css.map │ │ ├── bootstrap-theme.min.css │ │ ├── bootstrap.css │ │ ├── bootstrap.css.map │ │ └── bootstrap.min.css │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── js │ │ ├── bootstrap.js │ │ ├── bootstrap.min.js │ │ └── npm.js │ └── shim │ │ ├── html5shiv.min.js │ │ └── respond.min.js │ ├── cc-fonts.css │ ├── cc-icons.ttf │ ├── crosstalk │ ├── css │ │ └── crosstalk.css │ └── js │ │ ├── crosstalk.js │ │ ├── crosstalk.js.map │ │ ├── crosstalk.min.js │ │ └── crosstalk.min.js.map │ ├── datatables-binding │ └── datatables.js │ ├── datatables-css │ └── datatables-crosstalk.css │ ├── dt-core │ ├── css │ │ ├── jquery.dataTables.extra.css │ │ └── jquery.dataTables.min.css │ └── js │ │ └── jquery.dataTables.min.js │ ├── figure-captions.css │ ├── htmlwidgets │ └── htmlwidgets.js │ ├── jquery │ ├── jquery-AUTHORS.txt │ ├── jquery.js │ ├── jquery.min.js │ └── jquery.min.map │ ├── kePrint │ └── kePrint.js │ ├── leaflet-binding │ └── leaflet.js │ ├── leaflet │ ├── images │ │ ├── layers-2x.png │ │ ├── layers.png │ │ ├── marker-icon-2x.png │ │ ├── marker-icon.png │ │ └── marker-shadow.png │ ├── leaflet.css │ └── leaflet.js │ ├── leafletfix │ └── leafletfix.css │ ├── plotly-binding │ └── plotly.js │ ├── plotly-htmlwidgets-css │ └── plotly-htmlwidgets.css │ ├── plotly-main │ └── plotly-latest.min.js │ ├── remark-css │ ├── default-fonts.css │ ├── default.css │ ├── duke-blue.css │ └── hygge-duke.css │ ├── rstudio_leaflet │ ├── images │ │ └── 1px.png │ └── rstudio_leaflet.css │ └── typedarray │ └── typedarray.min.js ├── trump_over_under.png └── workshop_flexdashboards.Rproj /.binder/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM rocker/binder:3.5.2 2 | LABEL maintainer='John Little' 3 | USER root 4 | COPY . ${HOME} 5 | RUN chown -R ${NB_USER} ${HOME} 6 | USER ${NB_USER} 7 | 8 | 9 | 10 | RUN wget https://github.com/libjohn/workshop_flexdashboards/raw/master/DESCRIPTION && R -e "options(repos = list(CRAN = 'http://mran.revolutionanalytics.com/snapshot/2021-02-11/')); devtools::install_deps()" 11 | 12 | RUN rm DESCRIPTION.1; exit 0 13 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * linguist-vendored 2 | *.qmd linguist-vendored=false 3 | *.qmd linguist-language=R 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # History files 2 | .Rhistory 3 | .Rapp.history 4 | 5 | # Session Data files 6 | .RData 7 | 8 | # Example code in package build process 9 | *-Ex.R 10 | 11 | # Output files from R CMD build 12 | /*.tar.gz 13 | 14 | # Output files from R CMD check 15 | /*.Rcheck/ 16 | 17 | # RStudio files 18 | .Rproj.user/ 19 | *.Rproj 20 | 21 | # produced vignettes 22 | vignettes/*.html 23 | vignettes/*.pdf 24 | 25 | # OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3 26 | .httr-oauth 27 | 28 | # knitr and R markdown default cache directories 29 | /*_cache/ 30 | /cache/ 31 | 32 | # Temporary files created by R markdown 33 | *.utf8.md 34 | *.knit.md 35 | 36 | # Census Key 37 | _census-key.Rmd 38 | 39 | # Geographies - Shapefiles 40 | *.zip 41 | .Rproj.user 42 | -------------------------------------------------------------------------------- /00_install_packages.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "library packages" 3 | --- 4 | 5 | ```{r} 6 | install.packages(c("tidyverse", "plotly", "leaflet", "DT", "crosstalk", "flexdashboard")) 7 | 8 | devtools::install_github("kent37/summarywidget") 9 | ``` 10 | 11 | 12 | -------------------------------------------------------------------------------- /11_exercise_timeseries.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Exercise: Simple Interactivity" 3 | subtitle: "ggplotly & Time Series" 4 | output: html_document 5 | --- 6 | 7 | In this exercise the starter code to generate a simple time series plot is provided. Your task is to make the basic static plot an interactive plot. Execute the following code. Fill in the code for the final code chunk below. 8 | 9 | ## Library Packages 10 | 11 | ```{r} 12 | library(tidyverse) 13 | library(plotly) 14 | ``` 15 | 16 | ## Data 17 | 18 | ```{r} 19 | duke_ncaa_forcast <- 20 | read_csv("https://raw.githubusercontent.com/fivethirtyeight/data/master/historical-ncaa-forecasts/historical-538-ncaa-tournament-model-results.csv", 21 | col_types = cols(year = col_date(format = "%Y"), favorite_win_flag = col_logical())) %>% 22 | filter(favorite == "Duke", round < 3) 23 | 24 | duke_ncaa_forcast 25 | ``` 26 | 27 | ## ggplot2 28 | 29 | ```{r} 30 | duke_2ndround_win_probability <- 31 | ggplot(duke_ncaa_forcast, aes(x = year, y = favorite_probability)) + 32 | geom_point(aes(color = favorite_win_flag, 33 | shape = favorite_win_flag), size = 4) + 34 | geom_line() 35 | 36 | duke_2ndround_win_probability 37 | ``` 38 | 39 | ## Plotly via ggplotly 40 | 41 | In the code chunk, below, make the above plot a plotly plot 42 | 43 | ```{r} 44 | 45 | ``` 46 | 47 | -------------------------------------------------------------------------------- /11_exercise_timeseries_answers.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Answers -> Exercise: Simple Interactivity" 3 | subtitle: "ggplotly & Time Series" 4 | output: html_document 5 | --- 6 | 7 | ## Library Packages 8 | 9 | ```{r} 10 | library(tidyverse) 11 | library(plotly) 12 | ``` 13 | 14 | ## Data 15 | 16 | ```{r} 17 | duke_ncaa_forcast <- 18 | read_csv("https://raw.githubusercontent.com/fivethirtyeight/data/master/historical-ncaa-forecasts/historical-538-ncaa-tournament-model-results.csv", 19 | col_types = cols(year = col_date(format = "%Y"), favorite_win_flag = col_logical())) %>% 20 | filter(favorite == "Duke", round < 3) 21 | 22 | duke_ncaa_forcast 23 | ``` 24 | 25 | ## ggplot2 26 | 27 | ```{r} 28 | duke_2ndround_win_probability <- 29 | ggplot(duke_ncaa_forcast, aes(x = year, y = favorite_probability)) + 30 | geom_point(aes(color = favorite_win_flag, 31 | shape = favorite_win_flag), size = 4) + 32 | geom_line() 33 | 34 | duke_2ndround_win_probability 35 | ``` 36 | 37 | ## Plotly via ggplotly 38 | 39 | ```{r} 40 | ggplotly(duke_2ndround_win_probability) 41 | ``` 42 | 43 | -------------------------------------------------------------------------------- /12_exercise_crosstalk_map.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Exercise crosstalk map" 3 | subtitle: "linked brushing with DT & leaflet" 4 | output: html_document 5 | --- 6 | 7 | In this exercise all the starter code to generate a shared data (linked brushing) plot is provided. Your task is to make the the shared data object and then generate the two plots. Execute the following code. Fill in the code for the final code chunk below. 8 | 9 | ## Library Packages 10 | 11 | ```{r} 12 | library(tidyverse) 13 | library(leaflet) 14 | library(DT) 15 | library(crosstalk) 16 | ``` 17 | 18 | ## Load Data 19 | 20 | ```{r} 21 | map <- read_csv("data/mockaroo_latlon.csv") 22 | 23 | map 24 | ``` 25 | 26 | 27 | ## Plot Map via Leaflet 28 | 29 | ```{r} 30 | leaf_map <- map %>% 31 | leaflet(width = "100%") %>% 32 | addTiles() %>% 33 | addMarkers(lat = ~Latitude, 34 | lng = ~Longitude, 35 | popup = ~Company) 36 | 37 | leaf_map 38 | ``` 39 | 40 | ## DT data table 41 | 42 | ```{r} 43 | mapdata_table <- datatable(map, extensions="Scroller", style="bootstrap", class="compact", width="100%", 44 | options=list(deferRender=TRUE, scrollY=300, scroller=TRUE)) 45 | 46 | mapdata_table 47 | ``` 48 | 49 | 50 | ## Crosstalk 51 | 52 | Fill in the blank in the code chunk, below. Make a shared data structure with the `map` object generated above. Assign that to a new object: `shared_map`. 53 | 54 | ```{r, eval=FALSE} 55 | shared_map <- SharedData$new(___) 56 | ``` 57 | 58 | 59 | ### Rebuild widgets with shared data 60 | 61 | **Make Map**. Fill in the blanks in the code chunk, below. Using the shared data object (`shared_map`), generate your leaflet map again. Assign the new map to a new object name: `shared_leaf_map` 62 | 63 | ```{r make_map, eval=FALSE} 64 | shared_leaf_map <- _______ %>% 65 | leaflet(width = "100%") %>% 66 | addTiles() %>% 67 | addMarkers(lat = ~____, 68 | lng = ~____, 69 | popup = ~___) 70 | 71 | shared_leaf_map 72 | ``` 73 | 74 | **Make Data Table**. Fill in the blanks in the code chunk, below. Using the shared data object (`shared_map`), generated your DT data table again. Assign the new data table to a new object name: `shared_mapdata_table` 75 | 76 | ```{r make_datatable, eval=FALSE} 77 | shared_mapdata_table <- datatable(________, extensions="Scroller", 78 | style="bootstrap", 79 | class="compact", 80 | width="100%", 81 | options=list(deferRender=TRUE, scrollY=300, scroller=TRUE)) 82 | 83 | shared_mapdata_table 84 | ``` 85 | 86 | 87 | ## bscols 88 | 89 | Place the two objects you generated in the **Make Map** and **Make Data Table** code chunks inside the `bscols` (comma separated). Execute the code chunk. What does `bscols` do? 90 | 91 | ```{r, eval=FALSE} 92 | bscols(,) 93 | ``` 94 | 95 | -------------------------------------------------------------------------------- /12_exercise_crosstalk_map_answers.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Answers -> Exercise crosstalk map" 3 | subtitle: "linked brushing with DT & leaflet" 4 | output: html_document 5 | --- 6 | 7 | ## Library Packages 8 | 9 | ```{r} 10 | library(tidyverse) 11 | library(leaflet) 12 | library(DT) 13 | library(crosstalk) 14 | ``` 15 | 16 | ## Load Data 17 | 18 | ```{r} 19 | map <- read_csv("data/mockaroo_latlon.csv") 20 | 21 | map 22 | ``` 23 | 24 | 25 | ## Plot Map via Leaflet 26 | 27 | ```{r} 28 | leaf_map <- map %>% 29 | leaflet(width = "100%") %>% 30 | addTiles() %>% 31 | addMarkers(lat = ~Latitude, 32 | lng = ~Longitude, 33 | popup = ~Company) 34 | 35 | leaf_map 36 | ``` 37 | 38 | ## DT data table 39 | 40 | ```{r} 41 | mapdata_table <- datatable(map, extensions="Scroller", style="bootstrap", class="compact", width="100%", 42 | options=list(deferRender=TRUE, scrollY=300, scroller=TRUE)) 43 | 44 | mapdata_table 45 | ``` 46 | 47 | 48 | ## Crosstalk 49 | 50 | make shared data structure 51 | 52 | ```{r} 53 | shared_map <- SharedData$new(map) 54 | ``` 55 | 56 | 57 | ### Rebuild widgets with shared data 58 | 59 | Map 60 | 61 | ```{r} 62 | shared_leaf_map <- shared_map %>% 63 | leaflet(width = "100%") %>% 64 | addTiles() %>% 65 | addMarkers(lat = ~Latitude, 66 | lng = ~Longitude, 67 | popup = ~Company) 68 | 69 | shared_leaf_map 70 | ``` 71 | 72 | data table 73 | 74 | ```{r} 75 | shared_mapdata_table <- datatable(shared_map, extensions="Scroller", style="bootstrap", class="compact", width="100%", 76 | options=list(deferRender=TRUE, scrollY=300, scroller=TRUE)) 77 | 78 | shared_mapdata_table 79 | ``` 80 | 81 | 82 | ## bscols 83 | 84 | ```{r} 85 | bscols(shared_leaf_map, shared_mapdata_table) 86 | ``` 87 | 88 | -------------------------------------------------------------------------------- /13_exercise_all_together.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Exercise flexdashboards" 3 | subtitle: "Display HTML widgets" 4 | output: html_document 5 | --- 6 | 7 | Start by developing a basic flexdashboard layout then insert plots into columns in your dashboard. If time exists, generate linked plots with shared data and use at least one crosstalk filter (`filter_slider`, `filter_checkbox`, `filter_select`). As time allows add other linked HTML widgets. If you're still here, develop a new dashboard with an alternative layouts. Add some flexdashboard components: e.g. gauges or value boxes. 8 | 9 | ## Get Started 10 | 11 | 1. Develop a new flexdashboard 12 | 13 | 1. File > R Markdown... 14 | 1. From Template 15 | 16 | - Template = _Flex Dashboard_ 17 | 18 | 1. `O.K.` 19 | 20 | 1. Insert plots. Add Chart titles and captions (`>`) 21 | 1. Make those same plots as [HTML widgets](https://www.htmlwidgets.org/) 22 | 1. Add filters via linked data using `crosstalk::SharedData$new()` 23 | 24 | - `filter_slider` 25 | - `filter_checkbox` 26 | - `filter_select` 27 | 28 | 1. Add other HTML [Widgets that work well](https://rstudio.github.io/crosstalk/widgets.html) with `crosstalk` 29 | 1. Create some new [layout](https://rmarkdown.rstudio.com/flexdashboard/layouts.html) and add some [flexdashboard components](https://rmarkdown.rstudio.com/flexdashboard/using.html#components) -------------------------------------------------------------------------------- /13_exercise_all_together_answers.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Answers -> Exercise flexdashboards" 3 | subtitle: "Display HTML widgets" 4 | output: html_document 5 | --- 6 | 7 | Start by developing a basic flexdashboard layout then insert plots into columns in your dashboard. If time exists, generate linked plots with shared data and use at least one crosstalk filter (`filter_slider`, `filter_checkbox`, `filter_select`). As time allows add other linked HTML widgets. If you're still here, develop a new dashboard with an alternative layouts. Add some flexdashboard components: e.g. gauges or value boxes. 8 | 9 | ## Get Started 10 | 11 | 1. Develop a new flexdashboard 12 | 13 | 1. File > R Markdown... 14 | 1. From Template 15 | 16 | - Template = _Flex Dashboard_ 17 | 18 | 1. `O.K.` 19 | 20 | 1. Insert plots. Add Chart titles and captions (`>`) 21 | 1. Make those same plots as [HTML widgets](https://www.htmlwidgets.org/) 22 | 1. Add filters via linked data using `crosstalk::SharedData$new()` 23 | 24 | - `filter_slider` 25 | - `filter_checkbox` 26 | - `filter_select` 27 | 28 | 1. Add other HTML [Widgets that work well](https://rstudio.github.io/crosstalk/widgets.html) with `crosstalk` 29 | 1. Create some new [layout](https://rmarkdown.rstudio.com/flexdashboard/layouts.html) and add some [flexdashboard components](https://rmarkdown.rstudio.com/flexdashboard/using.html#components) -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- 1 | Type: Compendium 2 | Package: R Workshop for flexdashboards 3 | Title: Flexdashboards code for a hands-on workshop 4 | Version: 1.0.1 5 | Authors@R: 6 | person(given = "John", 7 | family = "Little", 8 | role = c("aut", "cre"), 9 | email = "John.Little@Duke.edu", 10 | comment = c(ORCID = "0000-0002-3600-0972")) 11 | Description: A container that can be used to run code for a flexdashboard workshop 12 | License: CC BY-NC 4.0 13 | URL: https://github.com/libjohn/workshop_flexdashboards 14 | Depends: 15 | tidyverse, 16 | crosstalk, 17 | flexdashboard, 18 | plotly, 19 | DT, 20 | leaflet, 21 | remotes, 22 | rmarkdown, 23 | xaringan 24 | Remotes: 25 | kent37/summarywidget 26 | Encoding: UTF-8 27 | LazyData: true 28 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | README 2 | ================ 3 | John Little 4 | 2021-06-16 5 | 6 | 7 | 8 | 9 | 10 | ![lifecycle superseded](https://img.shields.io/badge/lifecycle-superseded-blue.svg "lifecycle superseded") 11 | 12 | [![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.4908857%20(Latest%20Version%20Release)-blue "DOI")](https://doi.org/10.5281/zenodo.4908857) 13 | 14 | 15 | 16 | [![ORCID](https://img.shields.io/badge/ORCID-0000--0002--3600--0972-A6CE39?logo=ORCID&logoColor=A6CE39 "ORCID")](https://orcid.org/0000-0002-3600-0972) 17 | 18 | [![Creative Commons CC 19 | BY-NC](https://img.shields.io/badge/Creative%20Commons-BY--NC-EF9421?logo=creative%20commons&logoColor=EF9421 "CC BY-NC")](https://creativecommons.org/licenses/by-nc-nd/4.0/) 20 | 21 | [![Launch Rstudio 22 | Binder](http://mybinder.org/badge_logo.svg "Launch RStudio Binder")](https://mybinder.org/v2/gh/libjohn/workshop_flexdashboards/master?urlpath=rstudio) 23 | 24 | 25 | ## Workshop: Flexdashboards 26 | 27 | With the advent of [Quarto](https://quarto.org), this workshop is superseded ![lifecycle superseded](https://img.shields.io/badge/lifecycle-superseded-blue.svg "lifecycle superseded") by [**Quarto Dashboards**](https://quarto.org/docs/dashboards/). I strongly recommend you use Quarto dashboards rather than following this legacy workshop code. 28 | 29 | Code and data in this repository supports an 30 | [Rfun](https://rfun.library.duke.edu) 31 | [DVS](https://library.duke.edu/data/) workshop for learning how to 32 | layout dashboards, add interactivity such as filters and **linked 33 | brushing** via HTML Widgets, (i.e. `crosstalk`). 34 | 35 | Start with the demonstration `index.Rmd`. Knit that file to generate an 36 | example dashboard. 37 | 38 | [Slides](https://rfun-flexdashboards.netlify.com/slides/) 39 | 40 | [Demonstration](https://rfun-flexdashboards.netlify.com/) 41 | 42 | [**Assignment Code** 43 | RStudio.Cloud](https://rstudio.cloud/spaces/11680/join?access_code=3XYpPCbq%2FmX%2Bf0JnBR%2BFBlPmAPD8lcSr5gkscfoK) 44 | 45 | [Code Container](https://rstudio.cloud/spaces/11680/projects) – Practice 46 | code and preconfigured RStudio workspace 47 | 48 | ## Repo Short URL 49 | 50 | 51 | -------------------------------------------------------------------------------- /data/hurricanes.csv: -------------------------------------------------------------------------------- 1 | order,storm,intensity,casualties,damage (mn),peak wind,minimum pressure,start_date,end date,us affected,US_LAT,US_LON,US_STATE,COUNTRY_LAT,COUNTRY_LON,COUNTRY_SPECIFIC 2 | 1,ONE,td,0,0,30,1008,6/7/2000,6/8/2000,y,,,,,, 3 | 2,TWO,td,0,0,35,1008,6/23/2000,6/25/2000,n,,,,,, 4 | 3,ALBERTO,3,0,0,125,950,8/3/2000,8/23/2000,y,,,,,, 5 | 4,FOUR,td,0,0,35,1009,8/8/2000,8/11/2000,n,,,,,, 6 | 5,BERYL,ts,1,0.027,50,1007,8/13/2000,8/15/2000,y,,,,24.9,-98.6,Mexico 7 | 6,CHRIS,ts,0,0,40,1008,8/17/2000,8/19/2000,n,,,,,, 8 | 7,DEBBY,1,1,735,85,991,8/19/2000,8/24/2000,y,,,,,, 9 | 8,ERNESTO,ts,0,0,40,1008,9/1/2000,9/3/2000,n,,,,,, 10 | 9,NINE,td,0,0,35,1008,9/8/2000,9/9/2000,y,30,-94,Texas,30,-94,United States 11 | 10,FLORENCE,1,3,0,80,985,9/10/2000,9/17/2000,y,,,,,, 12 | 11,GORDON,1,26,10.8,80,981,9/14/2000,9/21/2000,y,29.8,-83,Florida,20.4,-87.4,Mexico 13 | 12,HELENE,ts,2,16,70,986,9/15/2000,9/25/2000,y,30.5,-86.6,Florida,30.5,-86.6,United States 14 | 13,ISAAC,4,1,0,140,943,9/21/2000,10/1/2000,y,,,,,, 15 | 14,JOYCE,1,0,NA,90,975,9/25/2000,10/2/2000,n,,,,,, 16 | 15,KEITH,4,40,319,140,939,9/28/2000,10/6/2000,n,,,,17.9,-88,Belize 17 | 16,LESLIE,ts,3,950,45,1006,10/4/2000,10/7/2000,y,29,-81.4,Florida,29,-81.4,United States 18 | 17,MICHAEL,2,0,NA,100,965,10/15/2000,10/20/20000,y,,,,48,-56.5,Canada 19 | 18,NADINE,ts,0,0,60,999,10/19/2000,10/21/2000,n,,,,,, 20 | 19,UNNAMED,ts,0,NA,65,976,10/19/2000,10/21/2000,y,,,,,, 21 | 1,ALLISON,ts,55,5500,60,1000,6/4/2001,6/18/2001,y,29.3,-95.3,Texas,29.3,-95.3,United States 22 | 2,TWO,td,0,0,35,1010,7/11/2001,7/12/2001,n,,,,,, 23 | 3,BARRY,ts,9,30,70,990,8/2/2001,8/8/2001,y,30.4,-86.3,Florida,30.4,-86.3,United States 24 | 4,CHANTAL,ts,2,4,75,997,8/14/2001,8/21/2001,n,,,,18.2,-88.1,Belize 25 | 5,DEAN,ts,0,7.7,70,994,8/22/2001,8/28/2001,n,,,,,, 26 | 6,ERIN,3,0,0,120,968,9/1/2001,9/15/2001,n,,,,60,-44.5,Greenland 27 | 7,FELIX,3,0,0,115,962,9/7/2001,9/19/2001,n,,,,,, 28 | 8,GABRIELLE,1,3,230,80,975,9/11/2001,9/19/2001,y,28,-81.8,Florida,28,-81.8,United States 29 | 9,NINE,td,0,0,35,1005,9/19/2001,9/20/2001,n,,,,13.9,-83.5,Nicaragua 30 | 10,HUMBERTO,2,0,0,105,970,9/21/2001,9/27/2001,n,,,,,, 31 | 11,IRIS,4,36,150,145,948,10/4/2001,10/9/2001,n,,,,16.2,-89.9,Guatemala 32 | 12,JERRY,ts,0,0,50,1004,10/6/2001,10/8/2001,n,,,,,, 33 | 13,KAREN,1,0,1.4,80,982,10/12/2001,10/15/2001,n,,,,44.2,-64.8,Canada 34 | 14,LORNEZO,ts,0,0,40,1007,10/27/2001,10/31/2001,n,,,,,, 35 | 15,MICHELLE,4,84,2000,140,933,10/29/2001,11/5/2001,n,,,,13.3,-83.6,Nicaragua 36 | 16,NOEL,1,0,0,75,986,11/4/2001,11/6/2001,n,,,,,, 37 | 17,OLGA,1,0,0,90,973,11/24/2001,12/4/2001,n,,,,,, 38 | 1,ARTHUR,ts,1,min,60,997,7/14/2002,7/16/2002,y,,,,48,-54,Canada 39 | 2,BERTHA,ts,1,0.2,40,1007,8/4/2002,8/9/2002,y,29.3,-89.2,Louisiana,29.3,-89.2,United States 40 | 3,CRISTOBAL,ts,3,min,50,999,8/5/2002,8/8/2002,y,,,,,, 41 | 4,DOLLY,ts,0,0,60,997,8/29/2002,9/4/2002,n,,,,,, 42 | 5,EDOUARD,ts,0,min,65,1002,9/1/2002,9/6/2002,y,29.4,-81.1,Florida,29.4,-81.1,United States 43 | 6,FAY,ts,0,4.5,60,998,9/5/2002,9/8/2002,y,29.1,-96.9,Texas,29.1,-96.9,United States 44 | 7,UNNAMED,td,0,0,35,1013,9/7/2002,9/8/2002,n,,,,,, 45 | 8,GUSTAV,2,4,0.34,100,960,9/8/2002,9/12/2002,y,,,,48.6,-57.7,Canada 46 | 9,HANNA,ts,3,20,60,1001,9/12/2002,9/15/2002,y,30.4,-88.4,Mississippi,30.4,-88.4,United States 47 | 10,ISIDORE,3,22,1300,125,934,9/14/2002,9/27/2002,y,30,-89.9,Louisiana,22,-84.1,Cuba 48 | 11,JOSEPHINE,ts,0,0,40,1005,9/17/2002,9/19/2002,n,,,,,, 49 | 12,KYLE,1,1,6,85,980,9/20/2002,10/12/2002,y,33.2,-79.3,South Carolina,33.2,-79.3,United States 50 | 13,LILI,4,15,882,145,938,9/21/2002,10/4/2002,y,30.5,-92.4,Louisiana,22.1,-84,Cuba 51 | 14,UNNAMED,td,0,min,35,1002,10/14/2002,10/16/2002,n,,,,22.4,-80.5,Cuba 52 | 1,ANA,ts,2,0,60,994,4/20/2003,4/24/2003,n,,,,,, 53 | 2,UNNAMED,td,0,0,35,1008,6/11/2003,6/12/2003,n,,,,,, 54 | 3,BILL,ts,4,50.5,60,997,6/28/2003,7/2/2003,y,29.3,-91,Louisiana,19.5,-89,Mexico 55 | 4,CLAUDETTE,1,3,181,90,979,7/8/2003,7/17/2003,y,28.6,-96.9,Texas,21.1,-87.2,Mexico 56 | 5,DANNY,1,0,0,75,1000,7/16/2003,7/21/2003,n,,,,,, 57 | 6,UNNAMED,td,0,0,35,1010,7/19/2003,7/21/2003,n,,,,,, 58 | 7,UNNAMED,td,0,0,35,1016,7/25/2003,7/27/2003,y,31.5,-81.3,Georgia,31.5,-81.3,United States 59 | 8,ERIKA,1,2,0.01,75,988,8/14/2003,8/17/2003,n,,,,25.3,-97.4,Mexico 60 | 9,UNNAMED,td,0,0.02,35,1007,8/21/2003,8/22/2003,n,,,,,, 61 | 10,FABIAN,4,8,300,145,939,8/27/2003,9/8/2003,n,,,,,, 62 | 11,GRACE,ts,0,0.1,40,1007,8/30/2003,9/2/2003,y,29.4,-95.1,Texas,29.4,-95.1,United States 63 | 12,HENRI,ts,0,20.6,60,997,9/3/2003,9/8/2003,y,27.9,-82.8,Florida,27.9,-82.8,United States 64 | 13,ISABEL,5,50,3600,165,915,9/6/2003,9/19/2003,y,36.7,-77.7,Virginia,36.7,-77.7,United States 65 | 14,UNNAMED,td,0,0,35,1007,9/8/2003,9/10/2003,n,,,,,, 66 | 15,JUAN,2,8,200,105,969,9/24/2003,9/29/2003,n,,,,,, 67 | 16,KATE,3,0,0,125,952,9/25/2003,10/7/2003,n,,,,,, 68 | 17,LARRY,ts,53.6,5,65,993,10/1/2003,10/6/2003,n,,,,20,-87.5,Mexico 69 | 18,MINDY,ts,0.05,0,45,1002,10/10/2003,10/14/2003,n,,,,,, 70 | 19,NICHOLAS,ts,0,0,70,990,10/13/2003,10/23/2003,n,,,,,, 71 | 20,ODETTE,ts,8,10,65,993,12/4/2003,12/7/2003,n,,,,17.8,-71.5,Dominican Republic 72 | 21,PETER,ts,0,0,70,990,12/7/2003,12/11/2003,n,,,,,, 73 | 1,ALEX,3,1,7.5,120,957,7/31/2004,8/6/2004,y,,,,,, 74 | 2,BONNIE,ts,3,1.27,65,1001,8/3/2004,8/14/2004,y,30.2,-84,Florida,30.2,-84,United States 75 | 3,CHARLEY,4,35,16300,145,941,8/9/2004,8/15/2004,y,28.1,-81.6,Florida,22.7,-82.6,Cuba 76 | 5,DANIELLE,2,0,0,110,964,8/13/2004,8/21/2004,n,,,,,, 77 | 4,EARL,ts,1,min,50,1009,8/13/2004,8/15/2004,n,,,,,, 78 | 6,FRANCES,4,49,9600,145,935,8/25/2004,9/8/2004,y,27.2,-80.2,Florida,24,-74.5,Bahamas 79 | 8,GASTON,1,9,130,75,986,8/27/2004,9/1/2004,y,33,-79.6,South Carolina,33,-79.6,United States 80 | 7,HERMINE,ts,0,min,60,1002,8/27/2004,8/31/2004,y,,,,,, 81 | 9,IVAN,5,124,17200,165,910,9/2/2004,9/24/2004,y,31.4,-87.7,Alabama,31.4,-87.7,United States 82 | 10,UNNAMED,td,0,0,35,1009,9/7/2004,9/9/2004,n,,,,,, 83 | 11,JEANNE,3,3035,7000,120,950,9/13/2004,9/28/2004,y,18,-66,Puerto Rico,16.3,-61.5,Guadeloupe 84 | 12,KARL,4,0,0,145,938,9/16/2004,9/24/2004,n,,,,65.5,13.5,Norway 85 | 13,LISA,1,0,0,75,987,9/19/2004,10/3/2004,n,,,,,, 86 | 14,MATTHEW,ts,0,0.03,45,997,10/8/2004,10/10/2004,y,29.4,-90.9,Louisiana,29.4,-90.9,United States 87 | 15,NICOLE,ts,0,min,50,986,10/10/2004,10/11/2004,n,,,,,, 88 | 16,OTTO,ts,0,0,50,995,11/29/2004,12/5/2004,n,,,,,, 89 | 1,ARLENE,ts,1,11.8,70,989,6/8/2005,6/16/2005,y,31.4,-87.6,Alabama,21.8,-84.5,Cuba 90 | 2,BRET,ts,1,9.3,40,1002,6/28/2005,6/29/2005,n,,,,20.8,-97.3,Mexico 91 | 3,CINDY,1,5,320,75,991,7/3/2005,7/12/2005,y,30.8,-88.9,Mississippi,19,-87.6,Mexico 92 | 4,DENNIS,4,89,4000,150,930,7/4/2005,7/16/2005,y,31.5,-87.7,Alabama,19.9,-77.6,Cuba 93 | 5,EMILY,5,17,1000,160,929,7/11/2005,7/21/2005,y,,,,20.3,-87.4,Mexico 94 | 6,FRANKLIN,ts,0,0,70,997,7/21/2005,7/29/2005,n,,,,,, 95 | 7,GERT,ts,1,6,45,1005,7/23/2005,7/25/2005,n,,,,21.8,-97.6,Mexico 96 | 8,HARVEY,ts,0,0,65,994,8/2/2005,8/8/2005,n,,,,,, 97 | 9,IRENE,2,1,0,105,970,8/4/2005,8/18/2005,y,,,,,, 98 | 10,TEN,td,0,0,35,1008,8/13/2005,8/14/2005,n,,,,,, 99 | 11,JOSE,ts,8,45,60,998,8/22/2005,8/23/2005,n,,,,19.7,-96.7,Mexico 100 | 12,KATRINA,5,1833,108000,175,902,8/23/2005,8/30/2005,y,25.9,-80.3,Florida,23.1,-75.1,Bahamas 101 | 13,LEE,ts,0,0,40,1006,8/28/2005,9/2/2005,n,,,,,, 102 | 14,MARIA,3,1,3.1,115,962,9/1/2005,9/14/2005,y,,,,,, 103 | 16,NATE,1,2,0,90,979,9/5/2005,9/10/2005,y,,,,,, 104 | 15,OPHELIA,1,3,70,85,976,9/6/2005,9/23/2005,y,,,,,, 105 | 17,PHILIPPE,1,0,0,80,985,9/17/2005,9/23/2005,n,,,,,, 106 | 18,RITA,5,125,12000,180,895,9/18/2005,9/26/2005,n,30.5,-94.1,Texas,22.4,-73,Bahamas 107 | 19,NINETEEN,td,0,0,35,1006,9/30/2005,10/2/2005,n,,,,,, 108 | 20,STAN,1,1668,3900,80,977,10/1/2005,10/5/2005,n,,,,19.8,-87.9,Mexico 109 | 21,UNNAMED,ts,0,0,50,997,10/4/2005,10/5/2005,n,,,,,, 110 | 22,TAMMY,ts,10,30,50,1001,10/5/2005,10/6/2005,y,30.5,-81.6,Florida,30.5,-81.6,United States 111 | 23,TWENTY-TWO,td,10,29.5,35,1008,10/8/2005,10/10/2005,y,,,,,, 112 | 24,VINCE,1,0,0,75,988,10/8/2005,10/11/2005,n,,,,37.7,-6,Spain 113 | 25,WILMA,5,62,29100,185,882,10/15/2005,10/25/2005,y,26.2,-81,Florida,20.8,-87,Mexico 114 | 26,ALPHA,ts,43,NA,50,998,10/22/2005,10/24/2005,n,,,,18.3,-71.3,Dominican Republic 115 | 27,BETA,3,9,15.5,115,962,10/26/2005,10/31/2005,n,,,,12.7,-84.1,Nicaragua 116 | 28,GAMMA,ts,39,18,50,1002,11/14/2005,11/21/2005,n,,,,15.7,-84.8,Honduras 117 | 29,DELTA,ts,19,364,70,980,11/22/2005,11/28/2005,n,,,,32.6,-6.6,Morocco 118 | 30,EPSILON,1,0,0,85,981,11/29/2005,12/8/2005,n,,,,,, 119 | 31,ZETA,ts,0,0,65,994,12/30/2005,1/6/2006,n,,,,,, 120 | 1,ALBERTO,ts,3,0.42,70,995,6/10/2006,6/14/2006,y,30.3,-83.5,Florida,30.3,-83.5,United States 121 | 2,UNNAMED,ts,0,0,50,998,7/17/2006,7/18/2006,n,,,,,, 122 | 3,BERYL,ts,0,min,60,1000,7/18/2006,7/21/2006,y,,,,45.5,-63.3,Canada 123 | 4,CHRIS,ts,0,min,65,1001,8/1/2006,8/4/2006,n,,,,22.8,-80.2,Cuba 124 | 5,DEBBY,ts,0,0,50,999,8/21/2006,8/26/2006,n,,,,,, 125 | 6,ERNESTO,1,11,500,75,985,8/24/2006,9/1/2006,y,25.2,-80.7,Florida,19.9,-75.5,Cuba 126 | 7,FLORENCE,1,0,0.2,90,974,9/3/2006,9/12/2006,n,,,,,, 127 | 8,GORDON,3,0,min,120,955,9/11/2006,9/20/2006,n,,,,52.5,-9.5,Ireland 128 | 9,HELENE,3,0,0,120,955,9/12/2006,9/24/2006,n,,,,,, 129 | 10,ISAAC,1,0,min,85,985,9/27/2006,10/2/2006,n,,,,,, 130 | 1,ANDREA,ts,6,min,60,1001,5/9/2007,5/11/2007,n,,,,,, 131 | 2,BARRY,ts,3,min,60,997,6/1/2007,6/2/2007,y,29.7,-82.1,Florida,29.7,-82.1,United States 132 | 3,CHANTAL,ts,0,25,50,997,7/31/2007,8/1/2007,n,,,,,, 133 | 4,DEAN,5,44,1500,175,905,8/13/2007,8/23/2007,n,,,,18.9,-88.7,Mexico 134 | 5,ERIN,ts,16,25,40,1003,8/15/2007,8/17/2007,y,28.8,-97.8,Texas,28.8,-97.8,United States 135 | 6,FELIX,5,133,780,175,929,8/31/2007,9/5/2007,n,,,,12.1,-61.7,Grenada 136 | 7,GABRIELLE,ts,0,min,60,1004,9/8/2007,9/11/2007,y,,,,,, 137 | 9,HUMBERTO,1,1,50,90,985,9/12/2007,9/14/2007,y,29.6,-94.3,Texas,29.6,-94.3,United States 138 | 8,INGRID,ts,0,0,45,1002,9/12/2007,9/17/2007,n,,,,,, 139 | 10,TEN,td,0,6.2,35,1005,9/21/2007,9/22/2007,y,30.4,-86.7,Florida,30.4,-86.7,United States 140 | 11,JERRY,ts,0,0,40,1003,9/23/2007,9/24/2007,n,,,,,, 141 | 12,KAREN,1,0,0,75,988,9/25/2007,9/29/2007,n,,,,,, 142 | 13,LORENZO,1,6,92,80,990,9/25/2007,9/28/2007,n,,,,20.5,-97.1,Mexico 143 | 14,MELISSA,ts,0,0,40,1005,9/28/2007,9/30/2007,n,,,,,, 144 | 15,FIFTEEN,td,0,0,35,1011,10/11/2007,10/12/2007,n,,,,,, 145 | 16,NOEL,1,169,582,80,980,10/28/2007,11/2/2007,n,,,,21.1,-75.8,Cuba 146 | 17,OLGA,ts,45,45,60,1003,12/11/2007,12/12/2007,n,18.4,-66.5,Puerto Rico,18.4,-66.5,Puerto Rico 147 | 1,ARTHUR,ts,9,78,45,100,5/31/2008,6/2/2008,n,,,,18,-88.4,Belize 148 | 2,BERTHA,3,3,min,125,952,7/3/2008,7/20/2008,y,,,,,, 149 | 3,CRISTOBAL,ts,0,0.01,65,998,7/19/2008,7/23/2008,y,,,,,, 150 | 4,DOLLY,2,22,1350,100,963,7/20/2008,7/25/2008,y,26.5,-97.8,Texas,20.9,-87.2,Mexico 151 | 5,EDOUARD,ts,6,0.25,65,996,8/3/2008,8/6/2008,y,30,-94.8,Texas,30,-94.8,United States 152 | 6,FAY,ts,36,560,70,986,8/15/2008,8/27/2008,y,26.4,-81.4,Florida,18.5,-68.8,Dominican Republic 153 | 7,GUSTAV,4,153,6610,155,941,8/25/2008,9/4/2008,y,29.2,-90.7,Louisiana,18.4,-73.1,Haiti 154 | 8,HANNA,1,537,160,85,977,8/28/2008,9/7/2008,y,35.7,-78.1,North Carolina,21.8,-72.3,Turks and Caicos Islands 155 | 9,IKE,4,195,37500,145,935,9/1/2008,9/14/2008,y,30.3,-95.2,Texas,21,-73.2,Bahamas 156 | 10,JOSEPHINE,ts,0,min,65,994,9/2/2008,9/6/2008,n,,,,,, 157 | 11,KYLE,1,8,57.1,85,984,9/25/2008,9/29/2008,y,,,,45.6,-65,Canada 158 | 12,LAURA,ts,0,min,60,994,9/29/2008,10/1/2008,n,,,,,, 159 | 13,MARCO,ts,0,min,65,998,10/6/2008,10/7/2008,n,,,,19.9,-96.9,Mexico 160 | 14,NANA,ts,0,0,40,1004,10/12/2008,10/14/2008,n,,,,,, 161 | 15,OMAR,4,1,79,130,958,10/13/2008,10/18/2008,n,,,,,, 162 | 16,SIXTEEN,td,93,230,30,1004,10/14/2008,10/15/2008,n,,,,15.6,-85,Honduras 163 | 17,PALOMA,4,1,454.5,145,944,11/5/2008,11/10/2008,y,,,,20.7,-78,Cuba 164 | 1,ONE,td,0,0,35,1006,5/28/2009,5/29/2009,y,,,,,, 165 | 2,ANA,ts,0,min,40,1006,8/11/2009,8/16/2009,n,,,,,, 166 | 3,BILL,4,2,46.2,130,943,8/15/2009,8/24/2009,y,,,,48,-53,Canada 167 | 4,CLAUDETTE,ts,2,0.228,60,1005,8/16/2009,8/18/2009,y,30.5,-86.6,Florida,30.5,-86.6,United States 168 | 5,DANNY,ts,1,min,60,1006,8/26/2009,8/29/2009,y,,,,,, 169 | 6,ERIKA,ts,0,0.033,50,1004,9/1/2009,9/3/2009,n,,,,,, 170 | 7,FRED,3,0,0,120,958,9/7/2009,9/12/2009,n,,,,,, 171 | 8,EIGHT,td,0,0,35,1008,9/25/2009,9/26/2009,n,,,,,, 172 | 9,GRACE,ts,0,min,65,986,10/4/2009,10/6/2009,n,,,,,, 173 | 10,HENRI,ts,0,0,50,1005,10/6/2009,10/8/2009,n,,,,,, 174 | 11,IDA,2,1,11.3,105,975,11/4/2009,11/10/2009,y,30.6,-87.2,Florida,12.9,-83.6,Nicaragua 175 | 1,ALEX,2,52,1885,110,946,6/25/2010,7/2/2010,y,,,,17.5,-88.2,Belize 176 | 2,TWO,td,1,min,35,1005,7/8/2010,7/9/2010,y,26.1,-97.8,Texas,26.1,-97.8,United States 177 | 3,BONNIE,ts,1,1.5,45,1005,7/22/2010,7/24/2010,y,25.8,-81.1,Florida,23.8,-77.8,Bahamas 178 | 4,COLIN,ts,1,0,60,1005,8/2/2010,8/8/2010,n,,,,,, 179 | 5,FIVE,td,2,7.1,35,1007,8/10/2010,8/11/2010,y,30.4,-88.8,Mississippi,30.4,-88.8,United States 180 | 6,DANIELLE,4,2,min,130,942,8/21/2010,8/30/2010,n,,,,,, 181 | 7,EARL,4,8,44.6,145,927,8/25/2010,9/4/2010,y,,,,44.3,-64.5,Canada 182 | 8,FIONA,ts,0,min,65,998,8/30/2010,9/3/2010,n,,,,,, 183 | 9,GASTON,ts,0,0,40,1005,9/1/2010,9/2/2010,n,,,,,, 184 | 10,HERMINE,ts,8,740,70,989,9/5/2010,9/9/2010,y,26.2,-97.7,Texas,16.2,-95.2,Mexico 185 | 11,IGOR,4,4,200,155,924,9/8/2010,9/21/2010,y,,,,,, 186 | 12,JULIA,4,0,min,140,948,9/12/2010,9/20/2010,n,,,,,, 187 | 13,KARL,3,22,5600,125,956,9/14/2010,9/18/2010,n,,,,18.5,-87.8,Mexico 188 | 14,LISA,1,0,0,85,982,9/20/2010,9/26/2010,n,,,,,, 189 | 15,MATTHEW,ts,126,2600,60,998,9/23/2010,9/26/2010,n,,,,14.7,-83.3,Nicaragua 190 | 16,NICOLE,ts,13,235.4,45,995,9/28/2010,9/29/2010,y,,,,22.2,-80.5,Cuba 191 | 17,OTTO,1,0,22,85,976,10/6/2010,10/10/2010,n,,,,,, 192 | 18,PAULA,2,1,200,105,981,10/11/2010,10/15/2010,y,,,,15,-83.2,Honduras 193 | 19,RICHARD,2,2,80,100,977,10/20/2010,10/26/2010,n,,,,17.4,-89.2,Guatemala 194 | 21,SHARY,1,0,0,75,989,10/28/2010,10/30/2010,n,,,,,, 195 | 20,TOMAS,2,71,741,100,982,10/29/2010,11/7/2010,n,,,,21.7,-71.6,Turks and Caicos Islands 196 | 1,ARLENE,ts,22,223.4,65,993,6/28/2011,7/1/2011,y,,,,21.6,-97.4,Mexico 197 | 2,BRET,ts,0,0,70,995,7/17/2011,7/22/2011,y,,,,,, 198 | 3,CINDY,ts,0,0,70,994,7/20/2011,7/22/2011,n,,,,,, 199 | 4,DON,ts,0,0,50,997,7/27/2011,7/30/2011,y,27.8,-98.1,Texas,27.8,-98.1,United States 200 | 5,EMILY,ts,5,5,50,1003,8/2/2011,8/7/2011,y,,,,21,-76.3,Cuba 201 | 7,FRANKLIN,ts,0,0,45,1004,8/12/2011,8/13/2011,n,,,,,, 202 | 6,GERT,ts,0,0,65,1000,8/13/2011,8/16/2011,n,,,,,, 203 | 8,HARVEY,ts,3,min,65,994,8/19/2011,8/22/2011,n,,,,17,-88.3,Belize 204 | 9,IRENE,3,56,16600,120,942,8/21/2011,8/28/2011,y,18.2,-65.9,Puerto Rico,16.8,-62.2,Montserrat 205 | 10,TEN,td,0,0,35,1006,8/25/2011,8/26/2011,n,,,,,, 206 | 11,JOSE,ts,0,0,45,1006,8/27/2011,8/28/2011,n,,,,,, 207 | 12,KATIA,4,4,157,140,942,8/29/2011,9/10/2011,y,,,,58,-7,United Kingdom 208 | 13,UNNAMED,ts,0,0,45,1002,8/31/2011,9/3/2011,n,,,,,, 209 | 14,LEE,ts,18,1600,60,986,9/1/2011,9/5/2011,y,29.6,-92.1,Louisiana,29.6,-92.1,United States 210 | 15,MARIA,1,0,min,80,983,9/6/2011,9/16/2011,n,,,,47,-53.5,Canada 211 | 16,NATE,1,5,min,75,994,9/7/2011,9/11/2011,n,,,,20.5,-97.2,Mexico 212 | 17,OPHELIA,4,0,min,140,940,9/20/2011,10/3/2011,n,,,,46.9,-55.4,Canada 213 | 18,PHILIPPE,1,0,0,90,976,9/24/2011,10/8/2011,n,,,,,, 214 | 19,RINA,3,0,min,115,966,10/23/2011,10/28/2011,n,,,,20.9,-87.1,Mexico 215 | 20,SEAN,ts,1,0,65,982,11/8/2011,11/11/2011,n,,,,,, 216 | 1,ALBERTO,ts,0,0,60,995,5/19/2012,5/22/2012,y,,,,,, 217 | 2,BERYL,ts,3,0.148,70,992,5/26/2012,5/30/2012,y,30.2,-81.4,Florida,30.2,-81.4,United States 218 | 3,CHRIS,1,0,0,85,974,6/18/2012,6/22/2012,n,,,,,, 219 | 4,DEBBY,ts,10,308.7,65,990,6/23/2012,6/27/2012,y,29.4,-82.7,Florida,29.4,-82.7,United States 220 | 5,ERNESTO,2,12,174,100,973,8/1/2012,8/10/2012,n,,,,18.8,-87.7,Mexico 221 | 6,FLORENCE,ts,0,0,60,1002,8/3/2012,8/6/2012,n,,,,,, 222 | 8,GORDON,2,0,min,110,965,8/15/2012,8/20/2012,n,,,,37,-25.1,Azores 223 | 7,HELENE,ts,2,17,45,1004,8/9/2012,8/18/2012,n,,,,14.3,-83.6,Nicaragua 224 | 9,ISAAC,1,41,2390,80,965,8/21/2012,9/1/2012,y,29.2,-90.2,Louisiana,18.3,-72.7,Haiti 225 | 10,JOYCE,ts,0,0,40,1006,8/22/2012,8/24/2012,n,,,,,, 226 | 11,LESLIE,2,0,0,105,970,8/28/2012,9/2/2012,n,,,,47.7,-54.9,Canada 227 | 12,KIRK,1,0,10.1,80,968,8/30/2012,9/11/2012,n,,,,,, 228 | 13,MICHAEL,3,0,0,115,964,9/3/2012,9/11/2012,n,,,,,, 229 | 14,NADINE,1,0,min,90,978,9/10/2012,10/4/2012,n,,,,,, 230 | 15,OSCAR,ts,0,0,50,994,10/3/2012,10/5/2012,n,,,,,, 231 | 16,PATTY,ts,0,0,45,1005,10/11/2012,10/13/2012,n,,,,,, 232 | 17,RAFAEL,1,1,2,90,969,10/12/2012,10/17/2012,n,,,,40,-7.5,Portugal 233 | 18,SANDY,3,286,68000,115,940,10/22/2012,10/29/2012,y,39.4,-74.4,New Jersey,17.9,-76.6,Jamaica 234 | 19,TONY,ts,0,0,50,1000,10/22/2012,10/25/2012,n,,,,,, 235 | 1,ANDREA,ts,4,0.086,65,992,6/5/2013,6/7/2013,y,29.8,-83,Florida,29.8,-83,United States 236 | 2,BARRY,ts,5,min,45,1003,6/17/2013,6/20/2013,n,,,,14.8,-83.8,Honduras 237 | 3,CHANTAL,ts,1,10,65,1003,7/7/2013,7/10/2013,y,,,,,, 238 | 4,DORIAN,ts,0,0,60,1002,7/23/2013,8/3/2013,y,,,,25.7,-79.3,Bahamas 239 | 5,ERIN,ts,0,0,45,1006,8/15/2013,8/18/2013,n,,,,,, 240 | 6,FERNAND,ts,14,NA,60,1001,8/25/2013,8/26/2013,n,,,,19.7,-96.6,Mexico 241 | 7,GABRIELLE,ts,0,0,65,1003,9/4/2013,9/13/2013,y,,,,,, 242 | 8,EIGHT,td,0,0,35,1008,9/6/2013,9/7/2013,n,,,,22.3,-97.9,Mexico 243 | 9,HUMBERTO,1,0,min,90,979,9/8/2013,9/19/2013,n,,,,,, 244 | 10,INGRID,1,23,1500,85,983,9/12/2013,9/17/2013,y,,,,23.7,-97.8,Mexico 245 | 11,JERRY,ts,0,0,50,1005,9/29/2013,10/3/2013,n,,,,,, 246 | 12,KAREN,ts,0,min,65,998,10/3/2013,10/6/2013,y,,,,,, 247 | 13,LORENZO,ts,0,0,50,1000,10/21/2013,10/24/2013,n,,,,,, 248 | 14,MELISSA,ts,0,0,65,980,11/18/2013,11/21/2013,n,,,,,, 249 | 15,UNNAMED,ts,0,0,50,997,12/5/2013,12/7/2013,n,,,,,, 250 | 1,ARTHUR,2,1,13.9,100,973,7/1/2014,7/7/2014,y,,,,,, 251 | -------------------------------------------------------------------------------- /data/mockaroo_latlon.csv: -------------------------------------------------------------------------------- 1 | id,Company,Latitude,Longitude 2 | 1,Ailane,40.2487413,72.1297653 3 | 2,Thoughtbeat,-7.9110809,111.4253892 4 | 3,Lazz,9.49858,50.8105261 5 | 4,Zoomdog,-7.0320658,108.4365067 6 | 5,Minyx,-17.0490108,-41.5612423 7 | 6,Devpulse,21.8693003,106.7691712 8 | 7,Meembee,53.3323703,-6.2152673 9 | 8,Quamba,31.394935,92.835795 10 | 9,Realcube,30.274084,120.15507 11 | 10,Fatz,14.1313261,122.8277624 -------------------------------------------------------------------------------- /desc_old.txt: -------------------------------------------------------------------------------- 1 | Type: Compendium 2 | Package: Compendium title 3 | Title: Interactive Dashboards - R's flexdashboards workshop 4 | Version: 0.9.5 5 | Authors@R: 6 | person(given = "John", 7 | family = "Little", 8 | role = c("aut", "cre"), 9 | email = "John.Little@Duke.edu") 10 | Description: Code, data, and slides for a workshop on the flexdashboards r package 11 | License: CC BY-NC 12 | Depends: 13 | crosstalk, 14 | devtools, 15 | dplyr, 16 | DT, 17 | flexdashboard, 18 | knitr, 19 | leaflet, 20 | plotly, 21 | rmarkdown, 22 | summarywidget, 23 | tidyverse, 24 | xaringan 25 | Remotes: 26 | kent37/summarywidget 27 | Encoding: UTF-8 28 | LazyData: true 29 | -------------------------------------------------------------------------------- /desc_old2.txt: -------------------------------------------------------------------------------- 1 | Type: Compendium 2 | Package: Compendium title 3 | Title: Interactive R Flexdashboards Workshop 4 | Version: 0.0.1 5 | Authors@R: 6 | person(given = "John", 7 | family = "Little", 8 | role = c("aut", "cre"), 9 | email = "John.Little@Duke.edu") 10 | Description: Code plus data plus slides for a workshop on the flexdashboards r package 11 | License: What license it uses 12 | Depends: 13 | crosstalk, 14 | devtools, 15 | dplyr, 16 | DT, 17 | flexdashboard, 18 | knitr, 19 | leaflet, 20 | plotly, 21 | rmarkdown, 22 | summarywidget, 23 | tidyverse, 24 | xaringan 25 | Remotes: 26 | kent37/summarywidget 27 | Encoding: UTF-8 28 | LazyData: true 29 | -------------------------------------------------------------------------------- /index.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Interactivity Demo" 3 | output: 4 | flexdashboard::flex_dashboard: 5 | orientation: columns 6 | vertical_layout: fill 7 | navbar: 8 | - {title: "DVS", href: "https://library.duke.edu/data/", align: right} 9 | - {icon: "fa-home", href: "https://rfun.library.duke.edu", align: right } 10 | - {icon: "fa-github", href: "https://github.com/libjohn/workshop_flexdashboards", align: right } 11 | --- 12 | 13 | ```{r setup, include=FALSE} 14 | remotes::install_github("kent37/summarywidget") 15 | library(tidyverse) 16 | library(crosstalk) 17 | library(flexdashboard) 18 | library(plotly) 19 | library(summarywidget) 20 | library(DT) 21 | library(leaflet) 22 | ``` 23 | 24 | ```{r} 25 | sw_eye <- starwars %>% 26 | filter(eye_color == str_extract(eye_color, "\\w+")) %>% 27 | filter(eye_color != "unknown", 28 | eye_color != "hazel", 29 | eye_color != "white") %>% 30 | filter(mass < 200) %>% 31 | mutate(eye_color = fct_infreq(eye_color)) %>% 32 | mutate(species = fct_rev(fct_infreq(species))) 33 | 34 | sw_eye_levels <- levels(sw_eye$eye_color) 35 | 36 | shared_sw_eye <- SharedData$new(sw_eye) 37 | ``` 38 | 39 | ```{r} 40 | scatter <- plot_ly(data = shared_sw_eye, x = ~mass, y = ~height, 41 | color = ~eye_color, colors = sw_eye_levels, 42 | text = ~name, mode = "markers") %>% 43 | layout(title = "Mass by Height + Eye Color") 44 | ``` 45 | 46 | 47 | Star Wars Characters 48 | ============================================================= 49 | 50 | Sidebar1 {.sidebar} 51 | ----------------------------------------------------------------------- 52 | 53 | ```{r} 54 | filter_slider("height", "Height", shared_sw_eye, ~height) 55 | filter_select("hair", "Hair Color", shared_sw_eye, ~hair_color) 56 | filter_select("shortspecies", "Select Species", shared_sw_eye, ~species) 57 | filter_checkbox("sw_eye_levels", "Eye Color", shared_sw_eye, ~eye_color, columns = 2) 58 | 59 | ``` 60 | 61 | 62 | 63 | `r summarywidget(shared_sw_eye, 'count', 'eye_color', selection=~eye_color=="black")` Characters with **Black Eyes** 64 | 65 | `r summarywidget(shared_sw_eye, statistic='count', column='eye_color')` Total Characters 66 | 67 | 68 | Column 69 | ----------------------------------------------------------------------- 70 | 71 | ### Chart A 72 | 73 | ```{r} 74 | scatter 75 | ``` 76 | 77 | > Data Source: [dplyr::starwars](https://dplyr.tidyverse.org/reference/starwars.html) 78 | 79 | Easy Plotly & Time Series 80 | ========================================================= 81 | 82 | ```{r} 83 | trump <- read_csv("https://projects.fivethirtyeight.com/trump-approval-data/approval_topline.csv", 84 | col_types = cols(modeldate = col_date(format = "%m/%d/%Y"), 85 | timestamp = col_datetime(format = "%H:%M:%S %d %b %Y "))) 86 | 87 | trump_over_under <- trump %>% 88 | filter(subgroup == "All polls") %>% 89 | select(modeldate, approve_estimate, disapprove_estimate) %>% 90 | gather("pol_type", "score", -modeldate) 91 | ``` 92 | 93 | 94 | ### via ggplot2 95 | 96 | ```{r fig.height=4, fig.width=24, include=FALSE} 97 | ggplot(trump_over_under, aes(x = modeldate, y = score, color = pol_type)) + 98 | geom_line() + 99 | geom_label(data = trump_over_under %>% arrange(desc(modeldate)) %>% 100 | slice((nrow(.)/2):(nrow(.)/2+1)), 101 | aes(x = modeldate, y = score, 102 | label = str_to_title(str_extract(pol_type, "\\w+(?=_)"))), 103 | color = "black", alpha = 0.3) + 104 | scale_color_manual(values = c("forestgreen", "darkorange3"), 105 | labels = c("Approve", "Disapprove")) + 106 | theme(legend.position = "none") + 107 | labs(x = "", y = "Approval Rating", 108 | title = "Tump Approval Ratings") 109 | 110 | ggsave(width = 10, height = 2, dpi = 300, "trump_over_under.png") 111 | ``` 112 | 113 | ![](trump_over_under.png "Trump Approval Ratings") 114 | 115 | 116 | ### Plotly via `ggplotly()` 117 | 118 | 119 | ```{r plottly_ggplot_trumpscore} 120 | approve_plot <- ggplot(trump_over_under, aes(x = modeldate, y = score, color = pol_type)) + 121 | geom_line() + 122 | geom_text(data = trump_over_under %>% arrange(desc(modeldate)) %>% 123 | slice((nrow(.)/2):(nrow(.)/2+1)), 124 | aes(x = modeldate, y = score, 125 | label = str_to_title(str_extract(pol_type, "\\w+(?=_)"))), 126 | color = "black") + 127 | scale_color_manual(values = c("forestgreen", "darkorange3"), 128 | labels = c("Approve", "Disapprove")) + 129 | theme(legend.position = "none") + 130 | labs(x = "", y = "Approval Rating", 131 | title = "Tump Approval Ratings") 132 | 133 | ggplotly(approve_plot) 134 | ``` 135 | 136 | > Data Source: https://fivethirtyeight.com 137 | 138 | 139 | Hurricane Origins {data-icon="fa-map"} 140 | =========================================================== 141 | 142 | ```{r} 143 | canes <- read_csv("data/hurricanes.csv") %>% 144 | select(-order, -casualties, -`damage (mn)`) %>% 145 | select(1, 2, 3, 4, 7, 10, 13, 11, 12, everything()) 146 | 147 | sd_canes <- SharedData$new(canes) 148 | 149 | canes_map <- sd_canes %>% 150 | leaflet(width = "100%") %>% 151 | addTiles() %>% 152 | addMarkers(lat = ~COUNTRY_LAT, 153 | lng = ~COUNTRY_LON, 154 | popup = ~storm) 155 | 156 | canes_table <- datatable(sd_canes, extensions="Scroller", style="bootstrap", class="compact", width="100%", 157 | options=list(deferRender=TRUE, scrollY=300, scroller=TRUE)) 158 | ``` 159 | 160 | 161 | Sidebar2 {.sidebar} 162 | ----------------------------------------------------------------------- 163 | 164 | ```{r} 165 | filter_slider("peak", "Peak Wind Speed", sd_canes, column=~`peak wind`, step=10) 166 | filter_checkbox("usafct", "US Landfall", sd_canes, ~`us affected`, inline = TRUE) 167 | ``` 168 | 169 | 170 | **Linked Brusing** is possible via the `crosstalk` library package: `crosstalk::SharedData$new(df)` 171 | 172 | Column 173 | ----------------- 174 | 175 | ### 176 | 177 | ```{r} 178 | canes_map 179 | ``` 180 | 181 | ### 182 | 183 | ```{r} 184 | canes_table 185 | ``` 186 | 187 | > Data Source: [Practice Dataset](https://github.com/libjohn/workshop_dash_explore/blob/master/data/hurricanes.csv) 188 | 189 | Exercises 190 | ============================================================== 191 | 192 | ### 193 | 194 | 1. [Easy interactive](11_exercise_timeseries.Rmd) ggplot2 via `plotlly::ggplotly()` -- [**answers**](11_exercise_timeseries_answers.html) 195 | 196 | 1. [Linked Brushing via Shared Data](12_exercise_crosstalk_map.Rmd) -- [**answers**](12_exercise_crosstalk_map_answers.html) 197 | 198 | 1. [Putting it all together](13_exercise_all_together_answers.Rmd) (layouts, shared data, filters, gauges, value boxes) -- [**answers**](13_exercise_all_together_answers.html) 199 | 200 | Animate 201 | ============================================================== 202 | 203 | ### gganimate -- Choropleth to Cartogram of population growth in Africa, 2005 204 | 205 | Animation: Choropleth to Cartogram of population growth in Africa, 2005 206 | 207 | 208 | 209 | > Another option is to annimate a plot. We don't discuss that in this workshop, but you can look at the [gganimate](https://gganimate.com/) page to learn more. Image Credit: https://www.r-graph-gallery.com/cartogram/ 210 | 211 | 212 | Resources 213 | ============================================================= 214 | 215 | Column {data-width="66%"} 216 | ------------------------------------------------------------- 217 | 218 | ### Library Packages 219 | 220 | 221 | #### Used in this Workshop 222 | 223 | - `flexdashboard` [documentation](https://rmarkdown.rstudio.com/flexdashboard/) -- Manage dashboard layouts (includes gauges) 224 | - `crosstalk` [documentation](https://rstudio.github.io/crosstalk/) -- Enables linked brushing i.e. shared data 225 | 226 | - **Compatible/Interactive** CrossTalk enabled HTML Widgets: 227 | - `plotly` -- (easies: `ggpplotly(ggpplot_object)`) 228 | - `DT` -- displays tabular data 229 | - `leaflet` -- shows maps 230 | - `summarywidget` (sum, mean, count, etc.) 231 | 232 | - More [HTML Widgets](https://www.htmlwidgets.org/). For example: `dygraphs` for time series, plus a whole passel of other widgets in the [gallery](http://gallery.htmlwidgets.org/) 233 | 234 | #### See Also 235 | 236 | [Storyboards](https://beta.rstudioconnect.com/jjallaire/htmlwidgets-showcase-storyboard/htmlwidgets-showcase-storyboard.html) and other [gallery examples](https://rmarkdown.rstudio.com/flexdashboard/examples.html) by Flexdashboards 237 | 238 | 239 | #### Books (Online Documentation) 240 | 241 | [_Plotly for R_](https://plotly-book.cpsievert.me/) by Carson Sievert 242 | 243 | [_R Markdown_](https://bookdown.org/yihui/rmarkdown/): The Definitive Guide by Yihui Xie, J. J. Allaire, Garrett Grolemund. Covering **Dashboards**: components, gauges, value boxes -- Chapter 5 ; **HTML Widgets** -- Chapter 16 244 | 245 | ### Box A 246 | 247 | ```{r} 248 | eye_colors <- count(sw_eye %>% dplyr::distinct(eye_color)) 249 | 250 | 251 | valueBox(eye_colors, caption = "The subset of Star Wars characters consists of several distinct eye colors", icon="fa-eye", color = "rgb(224,102,255)") 252 | ``` 253 | 254 | Distinct Eye Colors 255 | 256 | Column {data-width="33%"} 257 | ------------------------------------------------------ 258 | 259 | ### Box 1 260 | 261 | ```{r} 262 | valueBox(3, caption = "Value boxes deliver infographic gravitas", icon="fa-thumbs-up") 263 | ``` 264 | 265 | 266 | Packages 267 | 268 | ### Interactivity 269 | 270 | ```{r} 271 | gauge("100", min = 0, max = 100, symbol = '%', gaugeSectors( 272 | success = c(80, 100), warning = c(40, 79), danger = c(0, 39) 273 | )) 274 | ``` 275 | 276 | 277 | ### Simplity 278 | 279 | ```{r} 280 | gauge(45, min = 0, max = 100, gaugeSectors( 281 | success = c(90, 100), warning = c(25, 89), danger = c(0, 24) 282 | )) 283 | ``` 284 | 285 | ### Cost 286 | 287 | ```{r} 288 | gauge(0, min = -1, max = 10, symbol = "$", gaugeSectors( 289 | success = c(0, 2), warning = c(3, 6), danger = c(7, 10) 290 | )) 291 | ``` 292 | 293 | > Gauges are visual! 294 | -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | Creative Commons 2 | 3 | Attribution-NonCommercial 4.0 International 4 | 5 | Official translations of this license are available in other languages. 6 | Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. 7 | 8 | Using Creative Commons Public Licenses 9 | 10 | Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. 11 | 12 | Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors. 13 | Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public. 14 | Creative Commons Attribution-NonCommercial 4.0 International Public License 15 | By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. 16 | 17 | Section 1 – Definitions. 18 | 19 | Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. 20 | Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. 21 | Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. 22 | Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. 23 | Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. 24 | Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. 25 | Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. 26 | Licensor means the individual(s) or entity(ies) granting rights under this Public License. 27 | NonCommercial means not primarily intended for or directed towards commercial advantage or monetary compensation. For purposes of this Public License, the exchange of the Licensed Material for other material subject to Copyright and Similar Rights by digital file-sharing or similar means is NonCommercial provided there is no payment of monetary compensation in connection with the exchange. 28 | Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. 29 | Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. 30 | You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. 31 | Section 2 – Scope. 32 | 33 | License grant. 34 | Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: 35 | reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only; and 36 | produce, reproduce, and Share Adapted Material for NonCommercial purposes only. 37 | Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. 38 | Term. The term of this Public License is specified in Section 6(a). 39 | Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. 40 | Downstream recipients. 41 | Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. 42 | No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. 43 | No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). 44 | Other rights. 45 | 46 | Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. 47 | Patent and trademark rights are not licensed under this Public License. 48 | To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties, including when the Licensed Material is used other than for NonCommercial purposes. 49 | Section 3 – License Conditions. 50 | 51 | Your exercise of the Licensed Rights is expressly made subject to the following conditions. 52 | 53 | Attribution. 54 | 55 | If You Share the Licensed Material (including in modified form), You must: 56 | 57 | retain the following if it is supplied by the Licensor with the Licensed Material: 58 | identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); 59 | a copyright notice; 60 | a notice that refers to this Public License; 61 | a notice that refers to the disclaimer of warranties; 62 | a URI or hyperlink to the Licensed Material to the extent reasonably practicable; 63 | indicate if You modified the Licensed Material and retain an indication of any previous modifications; and 64 | indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. 65 | You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. 66 | If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. 67 | If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License. 68 | Section 4 – Sui Generis Database Rights. 69 | 70 | Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: 71 | 72 | for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database for NonCommercial purposes only; 73 | if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and 74 | You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. 75 | For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. 76 | Section 5 – Disclaimer of Warranties and Limitation of Liability. 77 | 78 | Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. 79 | To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. 80 | The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. 81 | Section 6 – Term and Termination. 82 | 83 | This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. 84 | Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: 85 | 86 | automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or 87 | upon express reinstatement by the Licensor. 88 | For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. 89 | For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. 90 | Sections 1, 5, 6, 7, and 8 survive termination of this Public License. 91 | Section 7 – Other Terms and Conditions. 92 | 93 | The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. 94 | Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. 95 | Section 8 – Interpretation. 96 | 97 | For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. 98 | To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. 99 | No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. 100 | Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. 101 | Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. 102 | 103 | Creative Commons may be contacted at creativecommons.org. 104 | 105 | Additional languages available: Bahasa Indonesia, Deutsch, français, hrvatski, italiano, Nederlands, norsk, polski, suomeksi, svenska, te reo Māori, Türkçe, українська, العربية, 日本語. Please read the FAQ for more information about official translations. 106 | 107 | « Back to Commons Deed -------------------------------------------------------------------------------- /slides/index.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Interactive Dashboards" 3 | subtitle: "HTML Widgets and Brushing" 4 | author: "John Little" 5 | date: "`r Sys.Date()`" 6 | output: 7 | xaringan::moon_reader: 8 | lib_dir: libs 9 | css: 10 | - default 11 | - default-fonts 12 | - duke-blue 13 | - hygge-duke 14 | - libs/cc-fonts.css 15 | - libs/figure-captions.css 16 | nature: 17 | highlightStyle: github 18 | highlightLines: true 19 | countIncrementalSlides: false 20 | --- 21 | ```{r setup, include=FALSE} 22 | options(htmltools.dir.version = FALSE) 23 | library(tidyverse) 24 | library(plotly) 25 | library(crosstalk) 26 | ``` 27 | 28 |   29 | 30 | .center[GitHub: https://is.gd/dash2019 | Code Container: https://is.gd/dashwork] 31 | 32 | ### Intro, Time, Bathrooms, Help 33 | 34 | ### What to expect in this workshop 35 | 36 | - Demonstration 37 | - Hands-on **practice code** 38 | - Build a **dashboard** 39 | - Generate an **interactive** time series (line plot) 40 | - Generate **HTML Widgets** that are **linked** (brushing) 41 | - Discuss **Gauges** and **Value Boxes** 42 | - Not Use Shiny 43 | 44 | --- 45 | background-image: url(https://c2.staticflickr.com/4/3067/3043851839_2537493cf7_o.jpg) 46 | class: middle, bottom, center 47 | 48 | ### Just because you can... 49 | 50 | 51 |   52 | 53 | .footer-note[.tiny[Image Credit: [Richard Masoner](https://www.flickr.com/photos/bike/3043851839)]] 54 | 55 | ??? 56 | 57 | I have an aversion to Shiny 58 | 59 | --- 60 | class: middle 61 | 62 | ## Demonstration 63 | 64 | .center[.content-box-yellow[[Flexdashboard](https://rfun-flexdashboards.netlify.com/)]] 65 | 66 | ## Definitions 67 | 68 | .pull-left[Dashboard (`flexdashboard`) 69 | - layout, info boxes, gauges 70 | 71 | Linked Brushing (`crosstalk`) 72 | - shared data with compatible widgets 73 | ] 74 | 75 | .pull-right[HTML Widgets 76 | - Web enabled client-side interactivity 77 | - `plotly`, `DT`, `leaflet`, `SummaryWidget` 78 | - Gallery of more... 79 | ] 80 | 81 | --- 82 | class: duke-softblue, middle, center 83 | 84 | # Interactivity 85 | 86 | `library(plotly)` with `ggoplot2` 87 | 88 | --- 89 | # ggplot2 bar chart 90 | 91 | ```{r include=FALSE} 92 | sw_eye <- starwars %>% 93 | filter(eye_color == str_extract(eye_color, "\\w+")) %>% 94 | filter(eye_color != "unknown", eye_color != "hazel", eye_color != "white") %>% 95 | filter(mass < 200) %>% 96 | mutate(eye_color = fct_infreq(eye_color)) %>% 97 | mutate(species = fct_rev(fct_infreq(species))) 98 | ``` 99 | 100 | .pull-left[ 101 | ```{r} 102 | eyeplot <- sw_eye %>% 103 | ggplot(aes(eye_color)) + 104 | geom_bar() 105 | ``` 106 | ] 107 | 108 | .pull-right[ 109 | ```{r} 110 | eyeplot 111 | ``` 112 | 113 | ] 114 | 115 | --- 116 | # Plotly via ggplotly 117 | 118 | ```{r} 119 | ggplotly(eyeplot) 120 | ``` 121 | 122 | --- 123 | class: duke-green, middle, center 124 | 125 | # Exercise 126 | 127 | `11_exercise_timeseries.Rmd` 128 | 129 | --- 130 | class: duke-softblue, middle, center 131 | 132 | # Brushing / Linked Data 133 | 134 | `library(crosstalk)` & HTML Widgets 135 | 136 | --- 137 | class: middle 138 | 139 | ```{r} 140 | shared_sw_eye <- SharedData$new(sw_eye) #<< 141 | ``` 142 | 143 | 144 | ```{r} 145 | plot1 <- ggplotly(shared_sw_eye %>% #<< 146 | ggplot(aes(eye_color)) + 147 | geom_bar()) 148 | 149 | plot2 <- ggplotly(shared_sw_eye %>% #<< 150 | ggplot(aes(x = species)) + 151 | geom_bar() + 152 | coord_flip()) 153 | ``` 154 | 155 | 156 | --- 157 | .pull-left[ 158 | ```{r fig.width=5} 159 | plot1 160 | ``` 161 | ] 162 | .pull-right[ 163 | ```{r fig.width=5} 164 | plot2 165 | ``` 166 | ] 167 | 168 | --- 169 | class: duke-green, middle, center 170 | 171 | # Exercise 172 | 173 | `12_exercise_crosstalk_map.Rmd` 174 | 175 | --- 176 | class: duke-softblue, middle, center 177 | 178 | # Put It Together 179 | 180 | --- 181 | class: duke-green, middle 182 | 183 | # Exercise 184 | 185 | [13_exercise_all_together.Rmd](../13_exercise_all_together_answers.html) 186 | 187 | 1. library(flexdashboards) 188 | 1. File > R Markdown... ; From Template / Flex Dashboard 189 | 1. Insert plots 190 | 1. Add Chart Titles and captions (`>`) 191 | 1. Make those same plots as HTML Widgets 192 | 1. Add filters via linked data using `crosstalk::SharedData$new()` 193 | 194 | - `filter_slider` 195 | - `filter_checkbox` 196 | - `filter_select` 197 | 198 | 5. Add other [HTML Widgets that work well](https://rstudio.github.io/crosstalk/widgets.html) with `crosstalk` 199 | 6. Creat a new layout and add some flexdashboards components 200 | 201 | 202 | 203 | --- 204 | 205 | # John Little 206 | 207 |   208 | 209 | .pull-left[.full-width[.content-box-green[ 210 | ### Data Science Librarian 211 | 212 | - https://johnlittle.info/ 213 | 214 | - https://github.com/libjohn 215 | ]] 216 | 217 | ### Rfun host... 218 | You can make **Rfun** with our resources for R and data science analytics. See the [R we having fun yet‽](https://rfun.library.duke.edu/) resource pages. 219 | ] 220 | 221 | .pull-right[.content-box-grey[ 222 | ### Duke University 223 | 224 | **Data & Visualization Services** 225 | 226 | - https://library.duke.edu/data/ 227 | - askData@Duke.edu 228 | - The /Edge, Bostock (1st Floor) 229 | - [Past Workshops](https://library.duke.edu/data/news/past-workshops) 230 | - [Guides & Tutorials](https://library.duke.edu/data/tutorials) 231 | 232 | ]] 233 | 234 | 235 | 236 | 237 | --- 238 | class: center, middle 239 | ## Shareable 240 | 241 | Data, presentation, and handouts 242 | 243 | 244 | 245 | C bn 246 | 247 | 248 | 249 | [CC BY-NC license](https://creativecommons.org/licenses/by-nc/4.0/) 250 | 251 | 252 | -------------------------------------------------------------------------------- /slides/index_files/figure-html/unnamed-chunk-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/index_files/figure-html/unnamed-chunk-2-1.png -------------------------------------------------------------------------------- /slides/index_files/figure-html/unnamed-chunk-3-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/index_files/figure-html/unnamed-chunk-3-1.png -------------------------------------------------------------------------------- /slides/libs/Proj4Leaflet/proj4leaflet.js: -------------------------------------------------------------------------------- 1 | (function (factory) { 2 | var L, proj4; 3 | if (typeof define === 'function' && define.amd) { 4 | // AMD 5 | define(['leaflet', 'proj4'], factory); 6 | } else if (typeof module === 'object' && typeof module.exports === "object") { 7 | // Node/CommonJS 8 | L = require('leaflet'); 9 | proj4 = require('proj4'); 10 | module.exports = factory(L, proj4); 11 | } else { 12 | // Browser globals 13 | if (typeof window.L === 'undefined' || typeof window.proj4 === 'undefined') 14 | throw 'Leaflet and proj4 must be loaded first'; 15 | factory(window.L, window.proj4); 16 | } 17 | }(function (L, proj4) { 18 | if (proj4.__esModule && proj4.default) { 19 | // If proj4 was bundled as an ES6 module, unwrap it to get 20 | // to the actual main proj4 object. 21 | // See discussion in https://github.com/kartena/Proj4Leaflet/pull/147 22 | proj4 = proj4.default; 23 | } 24 | 25 | L.Proj = {}; 26 | 27 | L.Proj._isProj4Obj = function(a) { 28 | return (typeof a.inverse !== 'undefined' && 29 | typeof a.forward !== 'undefined'); 30 | }; 31 | 32 | L.Proj.Projection = L.Class.extend({ 33 | initialize: function(code, def, bounds) { 34 | var isP4 = L.Proj._isProj4Obj(code); 35 | this._proj = isP4 ? code : this._projFromCodeDef(code, def); 36 | this.bounds = isP4 ? def : bounds; 37 | }, 38 | 39 | project: function (latlng) { 40 | var point = this._proj.forward([latlng.lng, latlng.lat]); 41 | return new L.Point(point[0], point[1]); 42 | }, 43 | 44 | unproject: function (point, unbounded) { 45 | var point2 = this._proj.inverse([point.x, point.y]); 46 | return new L.LatLng(point2[1], point2[0], unbounded); 47 | }, 48 | 49 | _projFromCodeDef: function(code, def) { 50 | if (def) { 51 | proj4.defs(code, def); 52 | } else if (proj4.defs[code] === undefined) { 53 | var urn = code.split(':'); 54 | if (urn.length > 3) { 55 | code = urn[urn.length - 3] + ':' + urn[urn.length - 1]; 56 | } 57 | if (proj4.defs[code] === undefined) { 58 | throw 'No projection definition for code ' + code; 59 | } 60 | } 61 | 62 | return proj4(code); 63 | } 64 | }); 65 | 66 | L.Proj.CRS = L.Class.extend({ 67 | includes: L.CRS, 68 | 69 | options: { 70 | transformation: new L.Transformation(1, 0, -1, 0) 71 | }, 72 | 73 | initialize: function(a, b, c) { 74 | var code, 75 | proj, 76 | def, 77 | options; 78 | 79 | if (L.Proj._isProj4Obj(a)) { 80 | proj = a; 81 | code = proj.srsCode; 82 | options = b || {}; 83 | 84 | this.projection = new L.Proj.Projection(proj, options.bounds); 85 | } else { 86 | code = a; 87 | def = b; 88 | options = c || {}; 89 | this.projection = new L.Proj.Projection(code, def, options.bounds); 90 | } 91 | 92 | L.Util.setOptions(this, options); 93 | this.code = code; 94 | this.transformation = this.options.transformation; 95 | 96 | if (this.options.origin) { 97 | this.transformation = 98 | new L.Transformation(1, -this.options.origin[0], 99 | -1, this.options.origin[1]); 100 | } 101 | 102 | if (this.options.scales) { 103 | this._scales = this.options.scales; 104 | } else if (this.options.resolutions) { 105 | this._scales = []; 106 | for (var i = this.options.resolutions.length - 1; i >= 0; i--) { 107 | if (this.options.resolutions[i]) { 108 | this._scales[i] = 1 / this.options.resolutions[i]; 109 | } 110 | } 111 | } 112 | 113 | this.infinite = !this.options.bounds; 114 | 115 | }, 116 | 117 | scale: function(zoom) { 118 | var iZoom = Math.floor(zoom), 119 | baseScale, 120 | nextScale, 121 | scaleDiff, 122 | zDiff; 123 | if (zoom === iZoom) { 124 | return this._scales[zoom]; 125 | } else { 126 | // Non-integer zoom, interpolate 127 | baseScale = this._scales[iZoom]; 128 | nextScale = this._scales[iZoom + 1]; 129 | scaleDiff = nextScale - baseScale; 130 | zDiff = (zoom - iZoom); 131 | return baseScale + scaleDiff * zDiff; 132 | } 133 | }, 134 | 135 | zoom: function(scale) { 136 | // Find closest number in this._scales, down 137 | var downScale = this._closestElement(this._scales, scale), 138 | downZoom = this._scales.indexOf(downScale), 139 | nextScale, 140 | nextZoom, 141 | scaleDiff; 142 | // Check if scale is downScale => return array index 143 | if (scale === downScale) { 144 | return downZoom; 145 | } 146 | if (downScale === undefined) { 147 | return -Infinity; 148 | } 149 | // Interpolate 150 | nextZoom = downZoom + 1; 151 | nextScale = this._scales[nextZoom]; 152 | if (nextScale === undefined) { 153 | return Infinity; 154 | } 155 | scaleDiff = nextScale - downScale; 156 | return (scale - downScale) / scaleDiff + downZoom; 157 | }, 158 | 159 | distance: L.CRS.Earth.distance, 160 | 161 | R: L.CRS.Earth.R, 162 | 163 | /* Get the closest lowest element in an array */ 164 | _closestElement: function(array, element) { 165 | var low; 166 | for (var i = array.length; i--;) { 167 | if (array[i] <= element && (low === undefined || low < array[i])) { 168 | low = array[i]; 169 | } 170 | } 171 | return low; 172 | } 173 | }); 174 | 175 | L.Proj.GeoJSON = L.GeoJSON.extend({ 176 | initialize: function(geojson, options) { 177 | this._callLevel = 0; 178 | L.GeoJSON.prototype.initialize.call(this, geojson, options); 179 | }, 180 | 181 | addData: function(geojson) { 182 | var crs; 183 | 184 | if (geojson) { 185 | if (geojson.crs && geojson.crs.type === 'name') { 186 | crs = new L.Proj.CRS(geojson.crs.properties.name); 187 | } else if (geojson.crs && geojson.crs.type) { 188 | crs = new L.Proj.CRS(geojson.crs.type + ':' + geojson.crs.properties.code); 189 | } 190 | 191 | if (crs !== undefined) { 192 | this.options.coordsToLatLng = function(coords) { 193 | var point = L.point(coords[0], coords[1]); 194 | return crs.projection.unproject(point); 195 | }; 196 | } 197 | } 198 | 199 | // Base class' addData might call us recursively, but 200 | // CRS shouldn't be cleared in that case, since CRS applies 201 | // to the whole GeoJSON, inluding sub-features. 202 | this._callLevel++; 203 | try { 204 | L.GeoJSON.prototype.addData.call(this, geojson); 205 | } finally { 206 | this._callLevel--; 207 | if (this._callLevel === 0) { 208 | delete this.options.coordsToLatLng; 209 | } 210 | } 211 | } 212 | }); 213 | 214 | L.Proj.geoJson = function(geojson, options) { 215 | return new L.Proj.GeoJSON(geojson, options); 216 | }; 217 | 218 | L.Proj.ImageOverlay = L.ImageOverlay.extend({ 219 | initialize: function (url, bounds, options) { 220 | L.ImageOverlay.prototype.initialize.call(this, url, null, options); 221 | this._projectedBounds = bounds; 222 | }, 223 | 224 | // Danger ahead: Overriding internal methods in Leaflet. 225 | // Decided to do this rather than making a copy of L.ImageOverlay 226 | // and doing very tiny modifications to it. 227 | // Future will tell if this was wise or not. 228 | _animateZoom: function (event) { 229 | var scale = this._map.getZoomScale(event.zoom); 230 | var northWest = L.point(this._projectedBounds.min.x, this._projectedBounds.max.y); 231 | var offset = this._projectedToNewLayerPoint(northWest, event.zoom, event.center); 232 | 233 | L.DomUtil.setTransform(this._image, offset, scale); 234 | }, 235 | 236 | _reset: function () { 237 | var zoom = this._map.getZoom(); 238 | var pixelOrigin = this._map.getPixelOrigin(); 239 | var bounds = L.bounds( 240 | this._transform(this._projectedBounds.min, zoom)._subtract(pixelOrigin), 241 | this._transform(this._projectedBounds.max, zoom)._subtract(pixelOrigin) 242 | ); 243 | var size = bounds.getSize(); 244 | 245 | L.DomUtil.setPosition(this._image, bounds.min); 246 | this._image.style.width = size.x + 'px'; 247 | this._image.style.height = size.y + 'px'; 248 | }, 249 | 250 | _projectedToNewLayerPoint: function (point, zoom, center) { 251 | var viewHalf = this._map.getSize()._divideBy(2); 252 | var newTopLeft = this._map.project(center, zoom)._subtract(viewHalf)._round(); 253 | var topLeft = newTopLeft.add(this._map._getMapPanePos()); 254 | 255 | return this._transform(point, zoom)._subtract(topLeft); 256 | }, 257 | 258 | _transform: function (point, zoom) { 259 | var crs = this._map.options.crs; 260 | var transformation = crs.transformation; 261 | var scale = crs.scale(zoom); 262 | 263 | return transformation.transform(point, scale); 264 | } 265 | }); 266 | 267 | L.Proj.imageOverlay = function (url, bounds, options) { 268 | return new L.Proj.ImageOverlay(url, bounds, options); 269 | }; 270 | 271 | return L.Proj; 272 | })); 273 | -------------------------------------------------------------------------------- /slides/libs/bootstrap/css/bootstrap-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.2 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | .btn-default, 8 | .btn-primary, 9 | .btn-success, 10 | .btn-info, 11 | .btn-warning, 12 | .btn-danger { 13 | text-shadow: 0 -1px 0 rgba(0, 0, 0, .2); 14 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); 15 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); 16 | } 17 | .btn-default:active, 18 | .btn-primary:active, 19 | .btn-success:active, 20 | .btn-info:active, 21 | .btn-warning:active, 22 | .btn-danger:active, 23 | .btn-default.active, 24 | .btn-primary.active, 25 | .btn-success.active, 26 | .btn-info.active, 27 | .btn-warning.active, 28 | .btn-danger.active { 29 | -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 30 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 31 | } 32 | .btn-default .badge, 33 | .btn-primary .badge, 34 | .btn-success .badge, 35 | .btn-info .badge, 36 | .btn-warning .badge, 37 | .btn-danger .badge { 38 | text-shadow: none; 39 | } 40 | .btn:active, 41 | .btn.active { 42 | background-image: none; 43 | } 44 | .btn-default { 45 | text-shadow: 0 1px 0 #fff; 46 | background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%); 47 | background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%); 48 | background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0)); 49 | background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%); 50 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0); 51 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 52 | background-repeat: repeat-x; 53 | border-color: #dbdbdb; 54 | border-color: #ccc; 55 | } 56 | .btn-default:hover, 57 | .btn-default:focus { 58 | background-color: #e0e0e0; 59 | background-position: 0 -15px; 60 | } 61 | .btn-default:active, 62 | .btn-default.active { 63 | background-color: #e0e0e0; 64 | border-color: #dbdbdb; 65 | } 66 | .btn-default.disabled, 67 | .btn-default:disabled, 68 | .btn-default[disabled] { 69 | background-color: #e0e0e0; 70 | background-image: none; 71 | } 72 | .btn-primary { 73 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%); 74 | background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%); 75 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88)); 76 | background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%); 77 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0); 78 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 79 | background-repeat: repeat-x; 80 | border-color: #245580; 81 | } 82 | .btn-primary:hover, 83 | .btn-primary:focus { 84 | background-color: #265a88; 85 | background-position: 0 -15px; 86 | } 87 | .btn-primary:active, 88 | .btn-primary.active { 89 | background-color: #265a88; 90 | border-color: #245580; 91 | } 92 | .btn-primary.disabled, 93 | .btn-primary:disabled, 94 | .btn-primary[disabled] { 95 | background-color: #265a88; 96 | background-image: none; 97 | } 98 | .btn-success { 99 | background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%); 100 | background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%); 101 | background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641)); 102 | background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%); 103 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0); 104 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 105 | background-repeat: repeat-x; 106 | border-color: #3e8f3e; 107 | } 108 | .btn-success:hover, 109 | .btn-success:focus { 110 | background-color: #419641; 111 | background-position: 0 -15px; 112 | } 113 | .btn-success:active, 114 | .btn-success.active { 115 | background-color: #419641; 116 | border-color: #3e8f3e; 117 | } 118 | .btn-success.disabled, 119 | .btn-success:disabled, 120 | .btn-success[disabled] { 121 | background-color: #419641; 122 | background-image: none; 123 | } 124 | .btn-info { 125 | background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); 126 | background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); 127 | background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2)); 128 | background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%); 129 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0); 130 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 131 | background-repeat: repeat-x; 132 | border-color: #28a4c9; 133 | } 134 | .btn-info:hover, 135 | .btn-info:focus { 136 | background-color: #2aabd2; 137 | background-position: 0 -15px; 138 | } 139 | .btn-info:active, 140 | .btn-info.active { 141 | background-color: #2aabd2; 142 | border-color: #28a4c9; 143 | } 144 | .btn-info.disabled, 145 | .btn-info:disabled, 146 | .btn-info[disabled] { 147 | background-color: #2aabd2; 148 | background-image: none; 149 | } 150 | .btn-warning { 151 | background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); 152 | background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); 153 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316)); 154 | background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%); 155 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0); 156 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 157 | background-repeat: repeat-x; 158 | border-color: #e38d13; 159 | } 160 | .btn-warning:hover, 161 | .btn-warning:focus { 162 | background-color: #eb9316; 163 | background-position: 0 -15px; 164 | } 165 | .btn-warning:active, 166 | .btn-warning.active { 167 | background-color: #eb9316; 168 | border-color: #e38d13; 169 | } 170 | .btn-warning.disabled, 171 | .btn-warning:disabled, 172 | .btn-warning[disabled] { 173 | background-color: #eb9316; 174 | background-image: none; 175 | } 176 | .btn-danger { 177 | background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%); 178 | background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%); 179 | background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a)); 180 | background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%); 181 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0); 182 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 183 | background-repeat: repeat-x; 184 | border-color: #b92c28; 185 | } 186 | .btn-danger:hover, 187 | .btn-danger:focus { 188 | background-color: #c12e2a; 189 | background-position: 0 -15px; 190 | } 191 | .btn-danger:active, 192 | .btn-danger.active { 193 | background-color: #c12e2a; 194 | border-color: #b92c28; 195 | } 196 | .btn-danger.disabled, 197 | .btn-danger:disabled, 198 | .btn-danger[disabled] { 199 | background-color: #c12e2a; 200 | background-image: none; 201 | } 202 | .thumbnail, 203 | .img-thumbnail { 204 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 205 | box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 206 | } 207 | .dropdown-menu > li > a:hover, 208 | .dropdown-menu > li > a:focus { 209 | background-color: #e8e8e8; 210 | background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 211 | background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 212 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); 213 | background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); 214 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); 215 | background-repeat: repeat-x; 216 | } 217 | .dropdown-menu > .active > a, 218 | .dropdown-menu > .active > a:hover, 219 | .dropdown-menu > .active > a:focus { 220 | background-color: #2e6da4; 221 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 222 | background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 223 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); 224 | background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); 225 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); 226 | background-repeat: repeat-x; 227 | } 228 | .navbar-default { 229 | background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%); 230 | background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%); 231 | background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8)); 232 | background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%); 233 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0); 234 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 235 | background-repeat: repeat-x; 236 | border-radius: 4px; 237 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); 238 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); 239 | } 240 | .navbar-default .navbar-nav > .open > a, 241 | .navbar-default .navbar-nav > .active > a { 242 | background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%); 243 | background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%); 244 | background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2)); 245 | background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%); 246 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0); 247 | background-repeat: repeat-x; 248 | -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); 249 | box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); 250 | } 251 | .navbar-brand, 252 | .navbar-nav > li > a { 253 | text-shadow: 0 1px 0 rgba(255, 255, 255, .25); 254 | } 255 | .navbar-inverse { 256 | background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%); 257 | background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%); 258 | background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222)); 259 | background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%); 260 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0); 261 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 262 | background-repeat: repeat-x; 263 | } 264 | .navbar-inverse .navbar-nav > .open > a, 265 | .navbar-inverse .navbar-nav > .active > a { 266 | background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%); 267 | background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%); 268 | background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f)); 269 | background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%); 270 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0); 271 | background-repeat: repeat-x; 272 | -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); 273 | box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); 274 | } 275 | .navbar-inverse .navbar-brand, 276 | .navbar-inverse .navbar-nav > li > a { 277 | text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); 278 | } 279 | .navbar-static-top, 280 | .navbar-fixed-top, 281 | .navbar-fixed-bottom { 282 | border-radius: 0; 283 | } 284 | @media (max-width: 767px) { 285 | .navbar .navbar-nav .open .dropdown-menu > .active > a, 286 | .navbar .navbar-nav .open .dropdown-menu > .active > a:hover, 287 | .navbar .navbar-nav .open .dropdown-menu > .active > a:focus { 288 | color: #fff; 289 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 290 | background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 291 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); 292 | background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); 293 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); 294 | background-repeat: repeat-x; 295 | } 296 | } 297 | .alert { 298 | text-shadow: 0 1px 0 rgba(255, 255, 255, .2); 299 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); 300 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); 301 | } 302 | .alert-success { 303 | background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); 304 | background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); 305 | background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc)); 306 | background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%); 307 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0); 308 | background-repeat: repeat-x; 309 | border-color: #b2dba1; 310 | } 311 | .alert-info { 312 | background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%); 313 | background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%); 314 | background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0)); 315 | background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%); 316 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0); 317 | background-repeat: repeat-x; 318 | border-color: #9acfea; 319 | } 320 | .alert-warning { 321 | background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); 322 | background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); 323 | background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0)); 324 | background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%); 325 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0); 326 | background-repeat: repeat-x; 327 | border-color: #f5e79e; 328 | } 329 | .alert-danger { 330 | background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); 331 | background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); 332 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3)); 333 | background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%); 334 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0); 335 | background-repeat: repeat-x; 336 | border-color: #dca7a7; 337 | } 338 | .progress { 339 | background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); 340 | background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); 341 | background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5)); 342 | background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%); 343 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0); 344 | background-repeat: repeat-x; 345 | } 346 | .progress-bar { 347 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%); 348 | background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%); 349 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090)); 350 | background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%); 351 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0); 352 | background-repeat: repeat-x; 353 | } 354 | .progress-bar-success { 355 | background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%); 356 | background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%); 357 | background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44)); 358 | background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); 359 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); 360 | background-repeat: repeat-x; 361 | } 362 | .progress-bar-info { 363 | background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); 364 | background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); 365 | background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5)); 366 | background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); 367 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); 368 | background-repeat: repeat-x; 369 | } 370 | .progress-bar-warning { 371 | background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); 372 | background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); 373 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f)); 374 | background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); 375 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); 376 | background-repeat: repeat-x; 377 | } 378 | .progress-bar-danger { 379 | background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%); 380 | background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%); 381 | background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c)); 382 | background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); 383 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); 384 | background-repeat: repeat-x; 385 | } 386 | .progress-bar-striped { 387 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 388 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 389 | background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 390 | } 391 | .list-group { 392 | border-radius: 4px; 393 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 394 | box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 395 | } 396 | .list-group-item.active, 397 | .list-group-item.active:hover, 398 | .list-group-item.active:focus { 399 | text-shadow: 0 -1px 0 #286090; 400 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%); 401 | background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%); 402 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a)); 403 | background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%); 404 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0); 405 | background-repeat: repeat-x; 406 | border-color: #2b669a; 407 | } 408 | .list-group-item.active .badge, 409 | .list-group-item.active:hover .badge, 410 | .list-group-item.active:focus .badge { 411 | text-shadow: none; 412 | } 413 | .panel { 414 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05); 415 | box-shadow: 0 1px 2px rgba(0, 0, 0, .05); 416 | } 417 | .panel-default > .panel-heading { 418 | background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 419 | background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 420 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); 421 | background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); 422 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); 423 | background-repeat: repeat-x; 424 | } 425 | .panel-primary > .panel-heading { 426 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 427 | background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 428 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); 429 | background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); 430 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); 431 | background-repeat: repeat-x; 432 | } 433 | .panel-success > .panel-heading { 434 | background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); 435 | background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); 436 | background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6)); 437 | background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%); 438 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0); 439 | background-repeat: repeat-x; 440 | } 441 | .panel-info > .panel-heading { 442 | background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); 443 | background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); 444 | background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3)); 445 | background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%); 446 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0); 447 | background-repeat: repeat-x; 448 | } 449 | .panel-warning > .panel-heading { 450 | background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); 451 | background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); 452 | background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc)); 453 | background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%); 454 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0); 455 | background-repeat: repeat-x; 456 | } 457 | .panel-danger > .panel-heading { 458 | background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%); 459 | background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%); 460 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc)); 461 | background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%); 462 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0); 463 | background-repeat: repeat-x; 464 | } 465 | .well { 466 | background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); 467 | background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); 468 | background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5)); 469 | background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%); 470 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0); 471 | background-repeat: repeat-x; 472 | border-color: #dcdcdc; 473 | -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); 474 | box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); 475 | } 476 | /*# sourceMappingURL=bootstrap-theme.css.map */ 477 | -------------------------------------------------------------------------------- /slides/libs/bootstrap/css/bootstrap-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.2 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary:disabled,.btn-primary[disabled]{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning:disabled,.btn-warning[disabled]{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger:disabled,.btn-danger[disabled]{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} -------------------------------------------------------------------------------- /slides/libs/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/libs/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /slides/libs/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/libs/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /slides/libs/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/libs/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /slides/libs/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/libs/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /slides/libs/bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /slides/libs/bootstrap/shim/html5shiv.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | // Only run this code in IE 8 5 | if (!!window.navigator.userAgent.match("MSIE 8")) { 6 | !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document); 7 | }; 8 | -------------------------------------------------------------------------------- /slides/libs/bootstrap/shim/respond.min.js: -------------------------------------------------------------------------------- 1 | /*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl 2 | * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT 3 | * */ 4 | 5 | // Only run this code in IE 8 6 | if (!!window.navigator.userAgent.match("MSIE 8")) { 7 | !function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b .container-fluid.crosstalk-bscols { 12 | margin-left: auto; 13 | margin-right: auto; 14 | } 15 | 16 | .crosstalk-input-checkboxgroup .crosstalk-options-group .crosstalk-options-column { 17 | display: inline-block; 18 | padding-right: 12px; 19 | vertical-align: top; 20 | } 21 | 22 | @media only screen and (max-width:480px) { 23 | .crosstalk-input-checkboxgroup .crosstalk-options-group .crosstalk-options-column { 24 | display: block; 25 | padding-right: inherit; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /slides/libs/crosstalk/js/crosstalk.min.js: -------------------------------------------------------------------------------- 1 | !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;gb?1:void 0}Object.defineProperty(c,"__esModule",{value:!0});var f=function(){function a(a,b){for(var c=0;c0&&void 0!==arguments[0]?arguments[0]:this._allKeys,b=Object.keys(this._handles).length;if(0===b)this._value=null;else{this._value=[];for(var c=0;c?@\[\\\]^`{|}~])/g,"\\$1")}function f(a){var b=h(a);Object.keys(i).forEach(function(c){if(b.hasClass(c)&&!b.hasClass("crosstalk-input-bound")){var d=i[c];g(d,a)}})}function g(a,b){var c=h(b).find("script[type='application/json'][data-for='"+e(b.id)+"']"),d=JSON.parse(c[0].innerText),f=a.factory(b,d);h(b).data("crosstalk-instance",f),h(b).addClass("crosstalk-input-bound")}Object.defineProperty(c,"__esModule",{value:!0}),c.register=b;var h=a.jQuery,i={};a.Shiny&&!function(){var b=new a.Shiny.InputBinding,c=a.jQuery;c.extend(b,{find:function(a){return c(a).find(".crosstalk-input")},initialize:function(a){c(a).hasClass("crosstalk-input-bound")||f(a)},getId:function(a){return a.id},getValue:function(a){},setValue:function(a,b){},receiveMessage:function(a,b){},subscribe:function(a,b){c(a).data("crosstalk-instance").resume()},unsubscribe:function(a){c(a).data("crosstalk-instance").suspend()}}),a.Shiny.inputBindings.register(b,"crosstalk.inputBinding")}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],7:[function(a,b,c){(function(b){"use strict";function c(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}var d=a("./input"),e=c(d),f=a("./filter"),g=b.jQuery;e.register({className:"crosstalk-input-checkboxgroup",factory:function(a,b){var c=new f.FilterHandle(b.group),d=void 0,e=g(a);return e.on("change","input[type='checkbox']",function(){var a=e.find("input[type='checkbox']:checked");0===a.length?(d=null,c.clear()):!function(){var e={};a.each(function(){b.map[this.value].forEach(function(a){e[a]=!0})});var f=Object.keys(e);f.sort(),d=f,c.set(f)}()}),{suspend:function(){c.clear()},resume:function(){d&&c.set(d)}}}})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./filter":2,"./input":6}],8:[function(a,b,c){(function(b){"use strict";function c(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}var d=a("./input"),e=c(d),f=a("./util"),g=c(f),h=a("./filter"),i=b.jQuery;e.register({className:"crosstalk-input-select",factory:function(a,b){var c=[{value:"",label:"(All)"}],d=g.dataframeToD3(b.items),e={options:c.concat(d),valueField:"value",labelField:"label",searchField:"label"},f=i(a).find("select")[0],j=i(f).selectize(e)[0].selectize,k=new h.FilterHandle(b.group),l=void 0;return j.on("change",function(){0===j.items.length?(l=null,k.clear()):!function(){var a={};j.items.forEach(function(c){b.map[c].forEach(function(b){a[b]=!0})});var c=Object.keys(a);c.sort(),l=c,k.set(c)}()}),{suspend:function(){k.clear()},resume:function(){l&&k.set(l)}}}})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./filter":2,"./input":6,"./util":11}],9:[function(a,b,c){(function(b){"use strict";function c(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}function d(a,b){for(var c=a.toString();c.length=i&&m<=j&&k.push(b.keys[l])}k.sort(),d.set(k),p=k}}),{suspend:function(){d.clear()},resume:function(){p&&d.set(p)}}}})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./filter":2,"./input":6}],10:[function(a,b,c){"use strict";function d(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}function e(a){return a&&a.__esModule?a:{default:a}}function f(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0}),c.SelectionHandle=void 0;var g=function(){function a(a,b){for(var c=0;c0&&void 0!==arguments[0]?arguments[0]:null,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;f(this,a),this._eventRelay=new i.default,this._emitter=new m.SubscriptionTracker(this._eventRelay),this._group=null,this._var=null,this._varOnChangeSub=null,this._extraInfo=m.extend({sender:this},c),this.setGroup(b)}return g(a,[{key:"setGroup",value:function(a){var b=this;if(this._group!==a&&(this._group||a)&&(this._var&&(this._var.off("change",this._varOnChangeSub),this._var=null,this._varOnChangeSub=null),this._group=a,a)){this._var=(0,k.default)(a).var("selection");var c=this._var.on("change",function(a){b._eventRelay.trigger("change",a,b)});this._varOnChangeSub=c}}},{key:"_mergeExtraInfo",value:function(a){return m.extend({},this._extraInfo?this._extraInfo:null,a?a:null)}},{key:"set",value:function(a,b){this._var&&this._var.set(a,this._mergeExtraInfo(b))}},{key:"clear",value:function(a){this._var&&this.set(void 0,this._mergeExtraInfo(a))}},{key:"on",value:function(a,b){return this._emitter.on(a,b)}},{key:"off",value:function(a,b){return this._emitter.off(a,b)}},{key:"close",value:function(){this._emitter.removeAllListeners(),this.setGroup(null)}},{key:"value",get:function(){return this._var?this._var.get():null}}]),a}()},{"./events":1,"./group":4,"./util":11}],11:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(a){for(var b=arguments.length,c=Array(b>1?b-1:0),d=1;d.sorting_1,table.dataTable.order-column tbody tr>.sorting_2,table.dataTable.order-column tbody tr>.sorting_3,table.dataTable.display tbody tr>.sorting_1,table.dataTable.display tbody tr>.sorting_2,table.dataTable.display tbody tr>.sorting_3{background-color:#fafafa}table.dataTable.order-column tbody tr.selected>.sorting_1,table.dataTable.order-column tbody tr.selected>.sorting_2,table.dataTable.order-column tbody tr.selected>.sorting_3,table.dataTable.display tbody tr.selected>.sorting_1,table.dataTable.display tbody tr.selected>.sorting_2,table.dataTable.display tbody tr.selected>.sorting_3{background-color:#acbad5}table.dataTable.display tbody tr.odd>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd>.sorting_1{background-color:#f1f1f1}table.dataTable.display tbody tr.odd>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd>.sorting_2{background-color:#f3f3f3}table.dataTable.display tbody tr.odd>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd>.sorting_3{background-color:whitesmoke}table.dataTable.display tbody tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1{background-color:#a6b4cd}table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf}table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1}table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa}table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc}table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe}table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5}table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6}table.dataTable.display tbody tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3{background-color:#afbdd8}table.dataTable.display tbody tr:hover>.sorting_1,table.dataTable.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea}table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec}table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef}table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7}table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9}table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb}table.dataTable.no-footer{border-bottom:1px solid #111}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.compact thead th,table.dataTable.compact thead td{padding:4px 17px 4px 4px}table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:4px}table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.dataTable,table.dataTable th,table.dataTable td{box-sizing:content-box}.dataTables_wrapper{position:relative;clear:both;*zoom:1;zoom:1}.dataTables_wrapper .dataTables_length{float:left}.dataTables_wrapper .dataTables_filter{float:right;text-align:right}.dataTables_wrapper .dataTables_filter input{margin-left:0.5em}.dataTables_wrapper .dataTables_info{clear:both;float:left;padding-top:0.755em}.dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:0.25em}.dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:0.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent;border-radius:2px}.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #979797;background-color:white;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-o-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:linear-gradient(to bottom, #fff 0%, #dcdcdc 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none}.dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111}.dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em}.dataTables_wrapper .dataTables_processing{position:absolute;top:50%;left:50%;width:100%;height:40px;margin-left:-50%;margin-top:-25px;padding-top:20px;text-align:center;font-size:1.2em;background-color:white;background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%)}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333}.dataTables_wrapper .dataTables_scroll{clear:both}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td{vertical-align:middle}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111}.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,.dataTables_wrapper.no-footer div.dataTables_scrollBody>table{border-bottom:none}.dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center}.dataTables_wrapper .dataTables_paginate{margin-top:0.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center}.dataTables_wrapper .dataTables_filter{margin-top:0.5em}} 2 | -------------------------------------------------------------------------------- /slides/libs/figure-captions.css: -------------------------------------------------------------------------------- 1 | figure { 2 | float: left; 3 | clear: left; 4 | width: 100%; 5 | text-align: left; 6 | /* font-style: italic; */ 7 | font-size: xx-small; 8 | text-indent: 0; 9 | /* border: thin silver solid; */ 10 | border-radius: 15px; 11 | margin: 1% 10%; 12 | padding: 0.5em; 13 | } /* when using this, must clear the following tag. In this case
*/ 14 | 15 | br { 16 | clear: both; 17 | } -------------------------------------------------------------------------------- /slides/libs/jquery/jquery-AUTHORS.txt: -------------------------------------------------------------------------------- 1 | Authors ordered by first contribution. 2 | 3 | John Resig 4 | Gilles van den Hoven 5 | Michael Geary 6 | Stefan Petre 7 | Yehuda Katz 8 | Corey Jewett 9 | Klaus Hartl 10 | Franck Marcia 11 | Jörn Zaefferer 12 | Paul Bakaus 13 | Brandon Aaron 14 | Mike Alsup 15 | Dave Methvin 16 | Ed Engelhardt 17 | Sean Catchpole 18 | Paul Mclanahan 19 | David Serduke 20 | Richard D. Worth 21 | Scott González 22 | Ariel Flesler 23 | Jon Evans 24 | TJ Holowaychuk 25 | Michael Bensoussan 26 | Robert Katić 27 | Louis-Rémi Babé 28 | Earle Castledine 29 | Damian Janowski 30 | Rich Dougherty 31 | Kim Dalsgaard 32 | Andrea Giammarchi 33 | Mark Gibson 34 | Karl Swedberg 35 | Justin Meyer 36 | Ben Alman 37 | James Padolsey 38 | David Petersen 39 | Batiste Bieler 40 | Alexander Farkas 41 | Rick Waldron 42 | Filipe Fortes 43 | Neeraj Singh 44 | Paul Irish 45 | Iraê Carvalho 46 | Matt Curry 47 | Michael Monteleone 48 | Noah Sloan 49 | Tom Viner 50 | Douglas Neiner 51 | Adam J. Sontag 52 | Dave Reed 53 | Ralph Whitbeck 54 | Carl Fürstenberg 55 | Jacob Wright 56 | J. Ryan Stinnett 57 | unknown 58 | temp01 59 | Heungsub Lee 60 | Colin Snover 61 | Ryan W Tenney 62 | Pinhook 63 | Ron Otten 64 | Jephte Clain 65 | Anton Matzneller 66 | Alex Sexton 67 | Dan Heberden 68 | Henri Wiechers 69 | Russell Holbrook 70 | Julian Aubourg 71 | Gianni Alessandro Chiappetta 72 | Scott Jehl 73 | James Burke 74 | Jonas Pfenniger 75 | Xavi Ramirez 76 | Jared Grippe 77 | Sylvester Keil 78 | Brandon Sterne 79 | Mathias Bynens 80 | Timmy Willison 81 | Corey Frang 82 | Digitalxero 83 | Anton Kovalyov 84 | David Murdoch 85 | Josh Varner 86 | Charles McNulty 87 | Jordan Boesch 88 | Jess Thrysoee 89 | Michael Murray 90 | Lee Carpenter 91 | Alexis Abril 92 | Rob Morgan 93 | John Firebaugh 94 | Sam Bisbee 95 | Gilmore Davidson 96 | Brian Brennan 97 | Xavier Montillet 98 | Daniel Pihlstrom 99 | Sahab Yazdani 100 | avaly 101 | Scott Hughes 102 | Mike Sherov 103 | Greg Hazel 104 | Schalk Neethling 105 | Denis Knauf 106 | Timo Tijhof 107 | Steen Nielsen 108 | Anton Ryzhov 109 | Shi Chuan 110 | Berker Peksag 111 | Toby Brain 112 | Matt Mueller 113 | Justin 114 | Daniel Herman 115 | Oleg Gaidarenko 116 | Richard Gibson 117 | Rafaël Blais Masson 118 | cmc3cn <59194618@qq.com> 119 | Joe Presbrey 120 | Sindre Sorhus 121 | Arne de Bree 122 | Vladislav Zarakovsky 123 | Andrew E Monat 124 | Oskari 125 | Joao Henrique de Andrade Bruni 126 | tsinha 127 | Matt Farmer 128 | Trey Hunner 129 | Jason Moon 130 | Jeffery To 131 | Kris Borchers 132 | Vladimir Zhuravlev 133 | Jacob Thornton 134 | Chad Killingsworth 135 | Nowres Rafid 136 | David Benjamin 137 | Uri Gilad 138 | Chris Faulkner 139 | Elijah Manor 140 | Daniel Chatfield 141 | Nikita Govorov 142 | Wesley Walser 143 | Mike Pennisi 144 | Markus Staab 145 | Dave Riddle 146 | Callum Macrae 147 | Benjamin Truyman 148 | James Huston 149 | Erick Ruiz de Chávez 150 | David Bonner 151 | Akintayo Akinwunmi 152 | MORGAN 153 | Ismail Khair 154 | Carl Danley 155 | Mike Petrovich 156 | Greg Lavallee 157 | Daniel Gálvez 158 | Sai Lung Wong 159 | Tom H Fuertes 160 | Roland Eckl 161 | Jay Merrifield 162 | Allen J Schmidt Jr 163 | Jonathan Sampson 164 | Marcel Greter 165 | Matthias Jäggli 166 | David Fox 167 | Yiming He 168 | Devin Cooper 169 | Paul Ramos 170 | Rod Vagg 171 | Bennett Sorbo 172 | Sebastian Burkhard 173 | nanto 174 | Danil Somsikov 175 | Ryunosuke SATO 176 | Jean Boussier 177 | Adam Coulombe 178 | Andrew Plummer 179 | Mark Raddatz 180 | Dmitry Gusev 181 | Michał Gołębiowski 182 | Nguyen Phuc Lam 183 | Tom H Fuertes 184 | Brandon Johnson 185 | Jason Bedard 186 | Kyle Robinson Young 187 | Renato Oliveira dos Santos 188 | Chris Talkington 189 | Eddie Monge 190 | Terry Jones 191 | Jason Merino 192 | Jeremy Dunck 193 | Chris Price 194 | Amey Sakhadeo 195 | Anthony Ryan 196 | Dominik D. Geyer 197 | George Kats 198 | Lihan Li 199 | Ronny Springer 200 | Marian Sollmann 201 | Corey Frang 202 | Chris Antaki 203 | Noah Hamann 204 | David Hong 205 | Jakob Stoeck 206 | Christopher Jones 207 | Forbes Lindesay 208 | John Paul 209 | S. Andrew Sheppard 210 | Leonardo Balter 211 | Roman Reiß 212 | Benjy Cui 213 | Rodrigo Rosenfeld Rosas 214 | John Hoven 215 | Christian Kosmowski 216 | Liang Peng 217 | TJ VanToll 218 | -------------------------------------------------------------------------------- /slides/libs/kePrint/kePrint.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | if (typeof $('[data-toggle="tooltip"]').tooltip === 'function') { 3 | $('[data-toggle="tooltip"]').tooltip(); 4 | } 5 | if ($('[data-toggle="popover"]').popover === 'function') { 6 | $('[data-toggle="popover"]').popover(); 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /slides/libs/leaflet/images/layers-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/libs/leaflet/images/layers-2x.png -------------------------------------------------------------------------------- /slides/libs/leaflet/images/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/libs/leaflet/images/layers.png -------------------------------------------------------------------------------- /slides/libs/leaflet/images/marker-icon-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/libs/leaflet/images/marker-icon-2x.png -------------------------------------------------------------------------------- /slides/libs/leaflet/images/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/libs/leaflet/images/marker-icon.png -------------------------------------------------------------------------------- /slides/libs/leaflet/images/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/libs/leaflet/images/marker-shadow.png -------------------------------------------------------------------------------- /slides/libs/leaflet/leaflet.css: -------------------------------------------------------------------------------- 1 | /* required styles */ 2 | 3 | .leaflet-pane, 4 | .leaflet-tile, 5 | .leaflet-marker-icon, 6 | .leaflet-marker-shadow, 7 | .leaflet-tile-container, 8 | .leaflet-pane > svg, 9 | .leaflet-pane > canvas, 10 | .leaflet-zoom-box, 11 | .leaflet-image-layer, 12 | .leaflet-layer { 13 | position: absolute; 14 | left: 0; 15 | top: 0; 16 | } 17 | .leaflet-container { 18 | overflow: hidden; 19 | } 20 | .leaflet-tile, 21 | .leaflet-marker-icon, 22 | .leaflet-marker-shadow { 23 | -webkit-user-select: none; 24 | -moz-user-select: none; 25 | user-select: none; 26 | -webkit-user-drag: none; 27 | } 28 | /* Safari renders non-retina tile on retina better with this, but Chrome is worse */ 29 | .leaflet-safari .leaflet-tile { 30 | image-rendering: -webkit-optimize-contrast; 31 | } 32 | /* hack that prevents hw layers "stretching" when loading new tiles */ 33 | .leaflet-safari .leaflet-tile-container { 34 | width: 1600px; 35 | height: 1600px; 36 | -webkit-transform-origin: 0 0; 37 | } 38 | .leaflet-marker-icon, 39 | .leaflet-marker-shadow { 40 | display: block; 41 | } 42 | /* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ 43 | /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ 44 | .leaflet-container .leaflet-overlay-pane svg, 45 | .leaflet-container .leaflet-marker-pane img, 46 | .leaflet-container .leaflet-shadow-pane img, 47 | .leaflet-container .leaflet-tile-pane img, 48 | .leaflet-container img.leaflet-image-layer { 49 | max-width: none !important; 50 | max-height: none !important; 51 | } 52 | 53 | .leaflet-container.leaflet-touch-zoom { 54 | -ms-touch-action: pan-x pan-y; 55 | touch-action: pan-x pan-y; 56 | } 57 | .leaflet-container.leaflet-touch-drag { 58 | -ms-touch-action: pinch-zoom; 59 | /* Fallback for FF which doesn't support pinch-zoom */ 60 | touch-action: none; 61 | touch-action: pinch-zoom; 62 | } 63 | .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { 64 | -ms-touch-action: none; 65 | touch-action: none; 66 | } 67 | .leaflet-container { 68 | -webkit-tap-highlight-color: transparent; 69 | } 70 | .leaflet-container a { 71 | -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4); 72 | } 73 | .leaflet-tile { 74 | filter: inherit; 75 | visibility: hidden; 76 | } 77 | .leaflet-tile-loaded { 78 | visibility: inherit; 79 | } 80 | .leaflet-zoom-box { 81 | width: 0; 82 | height: 0; 83 | -moz-box-sizing: border-box; 84 | box-sizing: border-box; 85 | z-index: 800; 86 | } 87 | /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ 88 | .leaflet-overlay-pane svg { 89 | -moz-user-select: none; 90 | } 91 | 92 | .leaflet-pane { z-index: 400; } 93 | 94 | .leaflet-tile-pane { z-index: 200; } 95 | .leaflet-overlay-pane { z-index: 400; } 96 | .leaflet-shadow-pane { z-index: 500; } 97 | .leaflet-marker-pane { z-index: 600; } 98 | .leaflet-tooltip-pane { z-index: 650; } 99 | .leaflet-popup-pane { z-index: 700; } 100 | 101 | .leaflet-map-pane canvas { z-index: 100; } 102 | .leaflet-map-pane svg { z-index: 200; } 103 | 104 | .leaflet-vml-shape { 105 | width: 1px; 106 | height: 1px; 107 | } 108 | .lvml { 109 | behavior: url(#default#VML); 110 | display: inline-block; 111 | position: absolute; 112 | } 113 | 114 | 115 | /* control positioning */ 116 | 117 | .leaflet-control { 118 | position: relative; 119 | z-index: 800; 120 | pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ 121 | pointer-events: auto; 122 | } 123 | .leaflet-top, 124 | .leaflet-bottom { 125 | position: absolute; 126 | z-index: 1000; 127 | pointer-events: none; 128 | } 129 | .leaflet-top { 130 | top: 0; 131 | } 132 | .leaflet-right { 133 | right: 0; 134 | } 135 | .leaflet-bottom { 136 | bottom: 0; 137 | } 138 | .leaflet-left { 139 | left: 0; 140 | } 141 | .leaflet-control { 142 | float: left; 143 | clear: both; 144 | } 145 | .leaflet-right .leaflet-control { 146 | float: right; 147 | } 148 | .leaflet-top .leaflet-control { 149 | margin-top: 10px; 150 | } 151 | .leaflet-bottom .leaflet-control { 152 | margin-bottom: 10px; 153 | } 154 | .leaflet-left .leaflet-control { 155 | margin-left: 10px; 156 | } 157 | .leaflet-right .leaflet-control { 158 | margin-right: 10px; 159 | } 160 | 161 | 162 | /* zoom and fade animations */ 163 | 164 | .leaflet-fade-anim .leaflet-tile { 165 | will-change: opacity; 166 | } 167 | .leaflet-fade-anim .leaflet-popup { 168 | opacity: 0; 169 | -webkit-transition: opacity 0.2s linear; 170 | -moz-transition: opacity 0.2s linear; 171 | -o-transition: opacity 0.2s linear; 172 | transition: opacity 0.2s linear; 173 | } 174 | .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { 175 | opacity: 1; 176 | } 177 | .leaflet-zoom-animated { 178 | -webkit-transform-origin: 0 0; 179 | -ms-transform-origin: 0 0; 180 | transform-origin: 0 0; 181 | } 182 | .leaflet-zoom-anim .leaflet-zoom-animated { 183 | will-change: transform; 184 | } 185 | .leaflet-zoom-anim .leaflet-zoom-animated { 186 | -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1); 187 | -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1); 188 | -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1); 189 | transition: transform 0.25s cubic-bezier(0,0,0.25,1); 190 | } 191 | .leaflet-zoom-anim .leaflet-tile, 192 | .leaflet-pan-anim .leaflet-tile { 193 | -webkit-transition: none; 194 | -moz-transition: none; 195 | -o-transition: none; 196 | transition: none; 197 | } 198 | 199 | .leaflet-zoom-anim .leaflet-zoom-hide { 200 | visibility: hidden; 201 | } 202 | 203 | 204 | /* cursors */ 205 | 206 | .leaflet-interactive { 207 | cursor: pointer; 208 | } 209 | .leaflet-grab { 210 | cursor: -webkit-grab; 211 | cursor: -moz-grab; 212 | } 213 | .leaflet-crosshair, 214 | .leaflet-crosshair .leaflet-interactive { 215 | cursor: crosshair; 216 | } 217 | .leaflet-popup-pane, 218 | .leaflet-control { 219 | cursor: auto; 220 | } 221 | .leaflet-dragging .leaflet-grab, 222 | .leaflet-dragging .leaflet-grab .leaflet-interactive, 223 | .leaflet-dragging .leaflet-marker-draggable { 224 | cursor: move; 225 | cursor: -webkit-grabbing; 226 | cursor: -moz-grabbing; 227 | } 228 | 229 | /* marker & overlays interactivity */ 230 | .leaflet-marker-icon, 231 | .leaflet-marker-shadow, 232 | .leaflet-image-layer, 233 | .leaflet-pane > svg path, 234 | .leaflet-tile-container { 235 | pointer-events: none; 236 | } 237 | 238 | .leaflet-marker-icon.leaflet-interactive, 239 | .leaflet-image-layer.leaflet-interactive, 240 | .leaflet-pane > svg path.leaflet-interactive { 241 | pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ 242 | pointer-events: auto; 243 | } 244 | 245 | /* visual tweaks */ 246 | 247 | .leaflet-container { 248 | background: #ddd; 249 | outline: 0; 250 | } 251 | .leaflet-container a { 252 | color: #0078A8; 253 | } 254 | .leaflet-container a.leaflet-active { 255 | outline: 2px solid orange; 256 | } 257 | .leaflet-zoom-box { 258 | border: 2px dotted #38f; 259 | background: rgba(255,255,255,0.5); 260 | } 261 | 262 | 263 | /* general typography */ 264 | .leaflet-container { 265 | font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; 266 | } 267 | 268 | 269 | /* general toolbar styles */ 270 | 271 | .leaflet-bar { 272 | box-shadow: 0 1px 5px rgba(0,0,0,0.65); 273 | border-radius: 4px; 274 | } 275 | .leaflet-bar a, 276 | .leaflet-bar a:hover { 277 | background-color: #fff; 278 | border-bottom: 1px solid #ccc; 279 | width: 26px; 280 | height: 26px; 281 | line-height: 26px; 282 | display: block; 283 | text-align: center; 284 | text-decoration: none; 285 | color: black; 286 | } 287 | .leaflet-bar a, 288 | .leaflet-control-layers-toggle { 289 | background-position: 50% 50%; 290 | background-repeat: no-repeat; 291 | display: block; 292 | } 293 | .leaflet-bar a:hover { 294 | background-color: #f4f4f4; 295 | } 296 | .leaflet-bar a:first-child { 297 | border-top-left-radius: 4px; 298 | border-top-right-radius: 4px; 299 | } 300 | .leaflet-bar a:last-child { 301 | border-bottom-left-radius: 4px; 302 | border-bottom-right-radius: 4px; 303 | border-bottom: none; 304 | } 305 | .leaflet-bar a.leaflet-disabled { 306 | cursor: default; 307 | background-color: #f4f4f4; 308 | color: #bbb; 309 | } 310 | 311 | .leaflet-touch .leaflet-bar a { 312 | width: 30px; 313 | height: 30px; 314 | line-height: 30px; 315 | } 316 | .leaflet-touch .leaflet-bar a:first-child { 317 | border-top-left-radius: 2px; 318 | border-top-right-radius: 2px; 319 | } 320 | .leaflet-touch .leaflet-bar a:last-child { 321 | border-bottom-left-radius: 2px; 322 | border-bottom-right-radius: 2px; 323 | } 324 | 325 | /* zoom control */ 326 | 327 | .leaflet-control-zoom-in, 328 | .leaflet-control-zoom-out { 329 | font: bold 18px 'Lucida Console', Monaco, monospace; 330 | text-indent: 1px; 331 | } 332 | 333 | .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { 334 | font-size: 22px; 335 | } 336 | 337 | 338 | /* layers control */ 339 | 340 | .leaflet-control-layers { 341 | box-shadow: 0 1px 5px rgba(0,0,0,0.4); 342 | background: #fff; 343 | border-radius: 5px; 344 | } 345 | .leaflet-control-layers-toggle { 346 | background-image: url(images/layers.png); 347 | width: 36px; 348 | height: 36px; 349 | } 350 | .leaflet-retina .leaflet-control-layers-toggle { 351 | background-image: url(images/layers-2x.png); 352 | background-size: 26px 26px; 353 | } 354 | .leaflet-touch .leaflet-control-layers-toggle { 355 | width: 44px; 356 | height: 44px; 357 | } 358 | .leaflet-control-layers .leaflet-control-layers-list, 359 | .leaflet-control-layers-expanded .leaflet-control-layers-toggle { 360 | display: none; 361 | } 362 | .leaflet-control-layers-expanded .leaflet-control-layers-list { 363 | display: block; 364 | position: relative; 365 | } 366 | .leaflet-control-layers-expanded { 367 | padding: 6px 10px 6px 6px; 368 | color: #333; 369 | background: #fff; 370 | } 371 | .leaflet-control-layers-scrollbar { 372 | overflow-y: scroll; 373 | overflow-x: hidden; 374 | padding-right: 5px; 375 | } 376 | .leaflet-control-layers-selector { 377 | margin-top: 2px; 378 | position: relative; 379 | top: 1px; 380 | } 381 | .leaflet-control-layers label { 382 | display: block; 383 | } 384 | .leaflet-control-layers-separator { 385 | height: 0; 386 | border-top: 1px solid #ddd; 387 | margin: 5px -10px 5px -6px; 388 | } 389 | 390 | /* Default icon URLs */ 391 | .leaflet-default-icon-path { 392 | background-image: url(images/marker-icon.png); 393 | } 394 | 395 | 396 | /* attribution and scale controls */ 397 | 398 | .leaflet-container .leaflet-control-attribution { 399 | background: #fff; 400 | background: rgba(255, 255, 255, 0.7); 401 | margin: 0; 402 | } 403 | .leaflet-control-attribution, 404 | .leaflet-control-scale-line { 405 | padding: 0 5px; 406 | color: #333; 407 | } 408 | .leaflet-control-attribution a { 409 | text-decoration: none; 410 | } 411 | .leaflet-control-attribution a:hover { 412 | text-decoration: underline; 413 | } 414 | .leaflet-container .leaflet-control-attribution, 415 | .leaflet-container .leaflet-control-scale { 416 | font-size: 11px; 417 | } 418 | .leaflet-left .leaflet-control-scale { 419 | margin-left: 5px; 420 | } 421 | .leaflet-bottom .leaflet-control-scale { 422 | margin-bottom: 5px; 423 | } 424 | .leaflet-control-scale-line { 425 | border: 2px solid #777; 426 | border-top: none; 427 | line-height: 1.1; 428 | padding: 2px 5px 1px; 429 | font-size: 11px; 430 | white-space: nowrap; 431 | overflow: hidden; 432 | -moz-box-sizing: border-box; 433 | box-sizing: border-box; 434 | 435 | background: #fff; 436 | background: rgba(255, 255, 255, 0.5); 437 | } 438 | .leaflet-control-scale-line:not(:first-child) { 439 | border-top: 2px solid #777; 440 | border-bottom: none; 441 | margin-top: -2px; 442 | } 443 | .leaflet-control-scale-line:not(:first-child):not(:last-child) { 444 | border-bottom: 2px solid #777; 445 | } 446 | 447 | .leaflet-touch .leaflet-control-attribution, 448 | .leaflet-touch .leaflet-control-layers, 449 | .leaflet-touch .leaflet-bar { 450 | box-shadow: none; 451 | } 452 | .leaflet-touch .leaflet-control-layers, 453 | .leaflet-touch .leaflet-bar { 454 | border: 2px solid rgba(0,0,0,0.2); 455 | background-clip: padding-box; 456 | } 457 | 458 | 459 | /* popup */ 460 | 461 | .leaflet-popup { 462 | position: absolute; 463 | text-align: center; 464 | margin-bottom: 20px; 465 | } 466 | .leaflet-popup-content-wrapper { 467 | padding: 1px; 468 | text-align: left; 469 | border-radius: 12px; 470 | } 471 | .leaflet-popup-content { 472 | margin: 13px 19px; 473 | line-height: 1.4; 474 | } 475 | .leaflet-popup-content p { 476 | margin: 18px 0; 477 | } 478 | .leaflet-popup-tip-container { 479 | width: 40px; 480 | height: 20px; 481 | position: absolute; 482 | left: 50%; 483 | margin-left: -20px; 484 | overflow: hidden; 485 | pointer-events: none; 486 | } 487 | .leaflet-popup-tip { 488 | width: 17px; 489 | height: 17px; 490 | padding: 1px; 491 | 492 | margin: -10px auto 0; 493 | 494 | -webkit-transform: rotate(45deg); 495 | -moz-transform: rotate(45deg); 496 | -ms-transform: rotate(45deg); 497 | -o-transform: rotate(45deg); 498 | transform: rotate(45deg); 499 | } 500 | .leaflet-popup-content-wrapper, 501 | .leaflet-popup-tip { 502 | background: white; 503 | color: #333; 504 | box-shadow: 0 3px 14px rgba(0,0,0,0.4); 505 | } 506 | .leaflet-container a.leaflet-popup-close-button { 507 | position: absolute; 508 | top: 0; 509 | right: 0; 510 | padding: 4px 4px 0 0; 511 | border: none; 512 | text-align: center; 513 | width: 18px; 514 | height: 14px; 515 | font: 16px/14px Tahoma, Verdana, sans-serif; 516 | color: #c3c3c3; 517 | text-decoration: none; 518 | font-weight: bold; 519 | background: transparent; 520 | } 521 | .leaflet-container a.leaflet-popup-close-button:hover { 522 | color: #999; 523 | } 524 | .leaflet-popup-scrolled { 525 | overflow: auto; 526 | border-bottom: 1px solid #ddd; 527 | border-top: 1px solid #ddd; 528 | } 529 | 530 | .leaflet-oldie .leaflet-popup-content-wrapper { 531 | zoom: 1; 532 | } 533 | .leaflet-oldie .leaflet-popup-tip { 534 | width: 24px; 535 | margin: 0 auto; 536 | 537 | -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; 538 | filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); 539 | } 540 | .leaflet-oldie .leaflet-popup-tip-container { 541 | margin-top: -1px; 542 | } 543 | 544 | .leaflet-oldie .leaflet-control-zoom, 545 | .leaflet-oldie .leaflet-control-layers, 546 | .leaflet-oldie .leaflet-popup-content-wrapper, 547 | .leaflet-oldie .leaflet-popup-tip { 548 | border: 1px solid #999; 549 | } 550 | 551 | 552 | /* div icon */ 553 | 554 | .leaflet-div-icon { 555 | background: #fff; 556 | border: 1px solid #666; 557 | } 558 | 559 | 560 | /* Tooltip */ 561 | /* Base styles for the element that has a tooltip */ 562 | .leaflet-tooltip { 563 | position: absolute; 564 | padding: 6px; 565 | background-color: #fff; 566 | border: 1px solid #fff; 567 | border-radius: 3px; 568 | color: #222; 569 | white-space: nowrap; 570 | -webkit-user-select: none; 571 | -moz-user-select: none; 572 | -ms-user-select: none; 573 | user-select: none; 574 | pointer-events: none; 575 | box-shadow: 0 1px 3px rgba(0,0,0,0.4); 576 | } 577 | .leaflet-tooltip.leaflet-clickable { 578 | cursor: pointer; 579 | pointer-events: auto; 580 | } 581 | .leaflet-tooltip-top:before, 582 | .leaflet-tooltip-bottom:before, 583 | .leaflet-tooltip-left:before, 584 | .leaflet-tooltip-right:before { 585 | position: absolute; 586 | pointer-events: none; 587 | border: 6px solid transparent; 588 | background: transparent; 589 | content: ""; 590 | } 591 | 592 | /* Directions */ 593 | 594 | .leaflet-tooltip-bottom { 595 | margin-top: 6px; 596 | } 597 | .leaflet-tooltip-top { 598 | margin-top: -6px; 599 | } 600 | .leaflet-tooltip-bottom:before, 601 | .leaflet-tooltip-top:before { 602 | left: 50%; 603 | margin-left: -6px; 604 | } 605 | .leaflet-tooltip-top:before { 606 | bottom: 0; 607 | margin-bottom: -12px; 608 | border-top-color: #fff; 609 | } 610 | .leaflet-tooltip-bottom:before { 611 | top: 0; 612 | margin-top: -12px; 613 | margin-left: -6px; 614 | border-bottom-color: #fff; 615 | } 616 | .leaflet-tooltip-left { 617 | margin-left: -6px; 618 | } 619 | .leaflet-tooltip-right { 620 | margin-left: 6px; 621 | } 622 | .leaflet-tooltip-left:before, 623 | .leaflet-tooltip-right:before { 624 | top: 50%; 625 | margin-top: -6px; 626 | } 627 | .leaflet-tooltip-left:before { 628 | right: 0; 629 | margin-right: -12px; 630 | border-left-color: #fff; 631 | } 632 | .leaflet-tooltip-right:before { 633 | left: 0; 634 | margin-left: -12px; 635 | border-right-color: #fff; 636 | } 637 | -------------------------------------------------------------------------------- /slides/libs/leafletfix/leafletfix.css: -------------------------------------------------------------------------------- 1 | /* Work around CSS properties introduced on img by bootstrap */ 2 | img.leaflet-tile { 3 | padding: 0; 4 | margin: 0; 5 | border-radius: 0; 6 | border: none; 7 | } 8 | .info { 9 | padding: 6px 8px; 10 | font: 14px/16px Arial, Helvetica, sans-serif; 11 | background: white; 12 | background: rgba(255,255,255,0.8); 13 | box-shadow: 0 0 15px rgba(0,0,0,0.2); 14 | border-radius: 5px; 15 | } 16 | .legend { 17 | line-height: 18px; 18 | color: #555; 19 | } 20 | .legend svg text { 21 | fill: #555; 22 | } 23 | .legend svg line { 24 | stroke: #555; 25 | } 26 | .legend i { 27 | width: 18px; 28 | height: 18px; 29 | margin-right: 4px; 30 | opacity: 0.7; 31 | display: inline-block; 32 | vertical-align: top; 33 | /*For IE 7*/ 34 | zoom: 1; 35 | *display: inline; 36 | } 37 | -------------------------------------------------------------------------------- /slides/libs/plotly-htmlwidgets-css/plotly-htmlwidgets.css: -------------------------------------------------------------------------------- 1 | /* 2 | just here so that plotly works 3 | correctly with ioslides. 4 | see https://github.com/ropensci/plotly/issues/463 5 | */ 6 | 7 | slide:not(.current) .plotly.html-widget{ 8 | display: none; 9 | } 10 | -------------------------------------------------------------------------------- /slides/libs/remark-css/default-fonts.css: -------------------------------------------------------------------------------- 1 | @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz); 2 | @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic); 3 | @import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700); 4 | 5 | body { font-family: 'Droid Serif', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC', serif; } 6 | h1, h2, h3 { 7 | font-family: 'Yanone Kaffeesatz'; 8 | font-weight: normal; 9 | } 10 | .remark-code, .remark-inline-code { font-family: 'Source Code Pro', 'Lucida Console', Monaco, monospace; } 11 | -------------------------------------------------------------------------------- /slides/libs/remark-css/default.css: -------------------------------------------------------------------------------- 1 | a, a > code { 2 | color: rgb(249, 38, 114); 3 | text-decoration: none; 4 | } 5 | .footnote { 6 | position: absolute; 7 | bottom: 3em; 8 | padding-right: 4em; 9 | font-size: 90%; 10 | } 11 | .remark-code-line-highlighted { background-color: #ffff88; } 12 | 13 | .inverse { 14 | background-color: #272822; 15 | color: #d6d6d6; 16 | text-shadow: 0 0 20px #333; 17 | } 18 | .inverse h1, .inverse h2, .inverse h3 { 19 | color: #f3f3f3; 20 | } 21 | /* Two-column layout */ 22 | .left-column { 23 | color: #777; 24 | width: 20%; 25 | height: 92%; 26 | float: left; 27 | } 28 | .left-column h2:last-of-type, .left-column h3:last-child { 29 | color: #000; 30 | } 31 | .right-column { 32 | width: 75%; 33 | float: right; 34 | padding-top: 1em; 35 | } 36 | .pull-left { 37 | float: left; 38 | width: 47%; 39 | } 40 | .pull-right { 41 | float: right; 42 | width: 47%; 43 | } 44 | .pull-right ~ * { 45 | clear: both; 46 | } 47 | img, video, iframe { 48 | max-width: 100%; 49 | } 50 | blockquote { 51 | border-left: solid 5px lightgray; 52 | padding-left: 1em; 53 | } 54 | .remark-slide table { 55 | margin: auto; 56 | border-top: 1px solid #666; 57 | border-bottom: 1px solid #666; 58 | } 59 | .remark-slide table thead th { border-bottom: 1px solid #ddd; } 60 | th, td { padding: 5px; } 61 | .remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) { background: #eee } 62 | 63 | @page { margin: 0; } 64 | @media print { 65 | .remark-slide-scaler { 66 | width: 100% !important; 67 | height: 100% !important; 68 | transform: scale(1) !important; 69 | top: 0 !important; 70 | left: 0 !important; 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /slides/libs/remark-css/duke-blue.css: -------------------------------------------------------------------------------- 1 | /* Colors are defined by the */ 2 | /* Duke Branding Color Palette */ 3 | /* https://styleguide.duke.edu/color-palette/ */ 4 | 5 | a, a > code { 6 | color: rgb(6,128,205); 7 | text-decoration: none; 8 | } 9 | 10 | h1, h2, h3 { 11 | color: #003366; 12 | line-height: 0.6em; 13 | text-shadow: 0 0 10px #666666; 14 | } 15 | 16 | .duke-orange { 17 | background-color: #F09905; 18 | } 19 | 20 | .duke-orange a, .dk_orange a > code { 21 | color: rgb(6,128,205); 22 | text-decoration: none; 23 | } 24 | 25 | .duke-orange h1, .duke-orange h2, .duke-orange h3 { 26 | color: #001A57; 27 | line-height: 0.8em; 28 | text-shadow: 0 0 10px #666666; 29 | } 30 | 31 | .duke-softblue { 32 | background-color: #339999; 33 | color: #FFD960; 34 | } 35 | 36 | .duke-softblue a, .duke-softblue a > code { 37 | /* color: rgb(153,50, 153); */ 38 | color: rgb(19,2,131); 39 | text-decoration: none; 40 | } 41 | .duke-softblue h1, .duke-softblue h2, .duke-softblue h3 { 42 | color: #001A57; 43 | line-height: 0.8em; 44 | text-shadow: 0 0 10px #728302; 45 | } 46 | 47 | .duke-green { 48 | background-color: #728302; 49 | /* color: #FFD960; */ 50 | } 51 | .duke-green h1, .duke-green h2, .duke-green h3 { 52 | color: #001A57; 53 | line-height: 0.8em; 54 | text-shadow: 0 0 10px #FFD960; 55 | } 56 | 57 | .duke-green a, .duke-green a > code { 58 | color: rgb(19,2,131); 59 | text-decoration: none; 60 | } 61 | 62 | .inverse { 63 | background-color: #003366; 64 | color: #B5B5B5; 65 | text-shadow: 0 0 20px #728302; 66 | /* 001A57 728302*/ 67 | } 68 | 69 | .inverse h1, .inverse h2, .inverse h3 { 70 | color: #B5B5B5; 71 | line-height: 0.8em; 72 | } 73 | 74 | .imageTop { 75 | vertical-align: top; 76 | } 77 | 78 | h4 { 79 | font-family: 'Yanone Kaffeesatz'; 80 | font-weight: normal; 81 | } 82 | -------------------------------------------------------------------------------- /slides/libs/remark-css/hygge-duke.css: -------------------------------------------------------------------------------- 1 | /************************************ 2 | * 3 | * Template-independent CSS code for formatting xaringan presentations 4 | * 5 | * For that extra bit of "hygge" 6 | * 7 | ************************************/ 8 | 9 | 10 | /************** 11 | * 12 | * Font size and colours 13 | * 14 | **************/ 15 | 16 | 17 | /* Colors are defined by the */ 18 | /* Duke Branding Color Palette */ 19 | /* https://styleguide.duke.edu/color-palette/ */ 20 | 21 | .Large { font-size: 144% } 22 | .large { font-size: 120% } 23 | .small { font-size: 90% } 24 | .footnotesize { font-size: 80% } 25 | .scriptsize { font-size: 70% } 26 | .tiny { font-size: 60% } 27 | 28 | .black { color: black; } 29 | .red { color: #CC3300; } 30 | .blue { color: #003366; } 31 | .green { color: #728302; } 32 | .yellow { color: #FFD960; } 33 | .orange { color: #F09905; } 34 | .purple { color: #993399; } 35 | .gray { color: #666666; } 36 | .grey { color: #B5B5B5; } 37 | 38 | .bold { font-weight: bold; } 39 | .bolder { font-weight: bolder; } 40 | 41 | 42 | /****************** 43 | * 44 | * Coloured content boxes 45 | * 46 | ****************/ 47 | 48 | 49 | .content-box { 50 | box-sizing: content-box; 51 | background-color: #e2e2e2; 52 | /* Total width: 160px + (2 * 20px) + (2 * 8px) = 216px 53 | Total height: 80px + (2 * 20px) + (2 * 8px) = 136px 54 | Content box width: 160px 55 | Content box height: 80px */ 56 | } 57 | 58 | 59 | .content-box-blue, 60 | .content-box-gray, 61 | .content-box-grey, 62 | .content-box-neutral, 63 | .content-box-duke-green, 64 | .content-box-green, 65 | .content-box-purple, 66 | .content-box-red, 67 | .content-box-yellow { 68 | border-radius: 15px; 69 | margin: 0 0 25px; 70 | overflow: hidden; 71 | padding: 20px; 72 | width: 100%; 73 | } 74 | 75 | .content-box-blue { 76 | /* set opacity in last decimal value of rgba */ 77 | background-color: rgb(51,153,153); 78 | background-color: rgba(51,153,153,.85); 79 | 80 | } 81 | 82 | .content-box-gray { 83 | /* set opacity in last decimal value of rgba */ 84 | background-color: rgb(102, 102, 102); 85 | background-color: rgba(102, 102, 102,.85); 86 | } 87 | 88 | .content-box-grey { 89 | /* set opacity: uncomment rgba line */ 90 | /* alter opacity with last decimal value of rgba */ 91 | background-color: rgb(181, 181, 181); 92 | /* background-color: rgba(181, 181, 181,.85); */ 93 | } 94 | 95 | .content-box-neutral { 96 | background-color: #988675; 97 | } 98 | 99 | 100 | .content-box-duke-green { 101 | /* set opacity in last decimal value of rgba */ 102 | background-color: rgb(114, 131, 2); 103 | background-color: rgba(114, 131, 2,.85); 104 | } 105 | 106 | .content-box-green { 107 | /* set opacity in last decimal value of rgba */ 108 | background-color: rgb(161, 183, 13); 109 | background-color: rgba(161, 183, 13,.85); 110 | } 111 | 112 | .content-box-purple { 113 | /* set opacity in last decimal value of rgba */ 114 | background-color: rgb(153, 51, 153); 115 | background-color: rgba(153, 51, 153, .85) 116 | } 117 | 118 | .content-box-red { 119 | /* set opacity in last decimal value of rgba */ 120 | background-color: rgb(204, 51, 0); 121 | background-color: rgba(204, 51, 0,.85) 122 | } 123 | 124 | .content-box-yellow { 125 | /* set opacity in last decimal value of rgba */ 126 | background-color: rgb(255, 217, 96); 127 | background-color: rgba(255, 217, 96, .85) 128 | } 129 | 130 | 131 | .full-width { 132 | display: flex; 133 | width: 100%; 134 | flex: 1 1 auto; 135 | } 136 | 137 | 138 | 139 | /*********** 140 | * 141 | * Changed CSS 142 | * 143 | **************/ 144 | 145 | .opacity{ 146 | opacity: 0.5; 147 | } 148 | 149 | 150 | 151 | .blur { 152 | -webkit-filter: blur(5px); 153 | -moz-filter: blur(10px); 154 | -o-filter: blur(5px); 155 | -ms-filter: blur(5px); 156 | filter: blur(5px); 157 | } 158 | 159 | 160 | .grayscale img { 161 | -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */ 162 | filter: grayscale(100%); 163 | } 164 | 165 | 166 | 167 | 168 | 169 | 170 | /************** 171 | * 172 | * Fancy stuff 173 | * 174 | **************/ 175 | 176 | 177 | .rotate-left { 178 | -webkit-transform: rotate(-2deg); 179 | -moz-transform: rotate(-2deg); 180 | transform: rotate(-2deg); 181 | } 182 | 183 | .rotate-right { 184 | -webkit-transform: rotate(2deg); 185 | -moz-transform: rotate(2deg); 186 | transform: rotate(2deg); 187 | } 188 | 189 | 190 | 191 | /********** 192 | * 193 | * Image stuff 194 | * 195 | ************/ 196 | 197 | 198 | .polaroid img { 199 | border: 10px solid #fff; 200 | border-bottom: 45px solid #fff; 201 | -webkit-box-shadow: 3px 3px 3px #111; 202 | -moz-box-shadow: 3px 3px 3px #111; 203 | box-shadow: 3px 3px 3px #111; 204 | } 205 | 206 | 207 | 208 | .shadow { 209 | -moz-border-radius: 5px; 210 | -moz-box-shadow: 5px 5px 5px #aaa; 211 | -webkit-box-shadow: 5px 5px 5px #aaa; 212 | box-shadow: 5px 5px 5px #aaa; 213 | border-radius: 2px; 214 | } 215 | 216 | /******************* 217 | * 218 | * Text alignment / justification 219 | * 220 | *******************/ 221 | 222 | .justify-left { 223 | text-align: left; 224 | } 225 | 226 | .justify-right { 227 | text-align: right; 228 | } 229 | 230 | .justify-center { 231 | text-align: center; 232 | } 233 | 234 | 235 | /* fix the help page '?' */ 236 | 237 | .remark-help-content td{ 238 | color: black !important; 239 | } 240 | 241 | .remark-backdrop { 242 | background: #988675 !important; 243 | } 244 | 245 | 246 | /* footer */ 247 | 248 | .footer-note { 249 | position: absolute; 250 | bottom: 5px; 251 | left: 10px; 252 | width: 200px; 253 | height: 25px; 254 | } -------------------------------------------------------------------------------- /slides/libs/rstudio_leaflet/images/1px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libjohn/workshop_flexdashboards/d9090042ed4be5d70ae7199e30d092da3b6e547b/slides/libs/rstudio_leaflet/images/1px.png -------------------------------------------------------------------------------- /slides/libs/rstudio_leaflet/rstudio_leaflet.css: -------------------------------------------------------------------------------- 1 | .leaflet-tooltip.leaflet-tooltip-text-only, 2 | .leaflet-tooltip.leaflet-tooltip-text-only:before, 3 | .leaflet-tooltip.leaflet-tooltip-text-only:after { 4 | background: none; 5 | border: none; 6 | box-shadow: none; 7 | } 8 | 9 | .leaflet-tooltip.leaflet-tooltip-text-only.leaflet-tooltip-left { 10 | margin-left: 5px; 11 | } 12 | 13 | .leaflet-tooltip.leaflet-tooltip-text-only.leaflet-tooltip-right { 14 | margin-left: -5px; 15 | } 16 | 17 | .leaflet-tooltip:after { 18 | border-right: 6px solid transparent; 19 | /* right: -16px; */ 20 | } 21 | 22 | .leaflet-popup-pane .leaflet-popup-tip-container { 23 | /* when the tooltip container is clicked, it is closed */ 24 | pointer-events: all; 25 | /* tooltips should display the "hand" icon, just like .leaflet-interactive*/ 26 | cursor: pointer; 27 | } 28 | 29 | /* have the widget be displayed in the right 'layer' */ 30 | .leaflet-map-pane { 31 | z-index: auto; 32 | } 33 | -------------------------------------------------------------------------------- /slides/libs/typedarray/typedarray.min.js: -------------------------------------------------------------------------------- 1 | (function(global){"use strict";var undefined=void 0;var MAX_ARRAY_LENGTH=1e5;function Type(v){switch(typeof v){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return v===null?"null":"object"}}function Class(v){return Object.prototype.toString.call(v).replace(/^\[object *|\]$/g,"")}function IsCallable(o){return typeof o==="function"}function ToObject(v){if(v===null||v===undefined)throw TypeError();return Object(v)}function ToInt32(v){return v>>0}function ToUint32(v){return v>>>0}var LN2=Math.LN2,abs=Math.abs,floor=Math.floor,log=Math.log,max=Math.max,min=Math.min,pow=Math.pow,round=Math.round;(function(){var orig=Object.defineProperty;var dom_only=!function(){try{return Object.defineProperty({},"x",{})}catch(_){return false}}();if(!orig||dom_only){Object.defineProperty=function(o,prop,desc){if(orig)try{return orig(o,prop,desc)}catch(_){}if(o!==Object(o))throw TypeError("Object.defineProperty called on non-object");if(Object.prototype.__defineGetter__&&"get"in desc)Object.prototype.__defineGetter__.call(o,prop,desc.get);if(Object.prototype.__defineSetter__&&"set"in desc)Object.prototype.__defineSetter__.call(o,prop,desc.set);if("value"in desc)o[prop]=desc.value;return o}}})();function makeArrayAccessors(obj){if(obj.length>MAX_ARRAY_LENGTH)throw RangeError("Array too large for polyfill");function makeArrayAccessor(index){Object.defineProperty(obj,index,{get:function(){return obj._getter(index)},set:function(v){obj._setter(index,v)},enumerable:true,configurable:false})}var i;for(i=0;i>s}function as_unsigned(value,bits){var s=32-bits;return value<>>s}function packI8(n){return[n&255]}function unpackI8(bytes){return as_signed(bytes[0],8)}function packU8(n){return[n&255]}function unpackU8(bytes){return as_unsigned(bytes[0],8)}function packU8Clamped(n){n=round(Number(n));return[n<0?0:n>255?255:n&255]}function packI16(n){return[n>>8&255,n&255]}function unpackI16(bytes){return as_signed(bytes[0]<<8|bytes[1],16)}function packU16(n){return[n>>8&255,n&255]}function unpackU16(bytes){return as_unsigned(bytes[0]<<8|bytes[1],16)}function packI32(n){return[n>>24&255,n>>16&255,n>>8&255,n&255]}function unpackI32(bytes){return as_signed(bytes[0]<<24|bytes[1]<<16|bytes[2]<<8|bytes[3],32)}function packU32(n){return[n>>24&255,n>>16&255,n>>8&255,n&255]}function unpackU32(bytes){return as_unsigned(bytes[0]<<24|bytes[1]<<16|bytes[2]<<8|bytes[3],32)}function packIEEE754(v,ebits,fbits){var bias=(1<.5)return w+1;return w%2?w+1:w}if(v!==v){e=(1<=pow(2,1-bias)){e=min(floor(log(v)/LN2),1023);f=roundToEven(v/pow(2,e)*pow(2,fbits));if(f/pow(2,fbits)>=2){e=e+1;f=1}if(e>bias){e=(1<>1}}bits.reverse();str=bits.join("");bias=(1<0){return s*pow(2,e-bias)*(1+f/pow(2,fbits))}else if(f!==0){return s*pow(2,-(bias-1))*(f/pow(2,fbits))}else{return s<0?-0:0}}function unpackF64(b){return unpackIEEE754(b,11,52)}function packF64(v){return packIEEE754(v,11,52)}function unpackF32(b){return unpackIEEE754(b,8,23)}function packF32(v){return packIEEE754(v,8,23)}(function(){function ArrayBuffer(length){length=ToInt32(length);if(length<0)throw RangeError("ArrayBuffer size is not a small enough positive integer.");Object.defineProperty(this,"byteLength",{value:length});Object.defineProperty(this,"_bytes",{value:Array(length)});for(var i=0;i=1&&Type(arguments[0])==="object"&&arguments[0]instanceof $TypedArray$){return function(typedArray){if(this.constructor!==typedArray.constructor)throw TypeError();var byteLength=typedArray.length*this.BYTES_PER_ELEMENT;Object.defineProperty(this,"buffer",{value:new ArrayBuffer(byteLength)});Object.defineProperty(this,"byteLength",{value:byteLength});Object.defineProperty(this,"byteOffset",{value:0});Object.defineProperty(this,"length",{value:typedArray.length});for(var i=0;i=1&&Type(arguments[0])==="object"&&!(arguments[0]instanceof $TypedArray$)&&!(arguments[0]instanceof ArrayBuffer||Class(arguments[0])==="ArrayBuffer")){return function(array){var byteLength=array.length*this.BYTES_PER_ELEMENT;Object.defineProperty(this,"buffer",{value:new ArrayBuffer(byteLength)});Object.defineProperty(this,"byteLength",{value:byteLength});Object.defineProperty(this,"byteOffset",{value:0});Object.defineProperty(this,"length",{value:array.length});for(var i=0;i=1&&Type(arguments[0])==="object"&&(arguments[0]instanceof ArrayBuffer||Class(arguments[0])==="ArrayBuffer")){return function(buffer,byteOffset,length){byteOffset=ToUint32(byteOffset);if(byteOffset>buffer.byteLength)throw RangeError("byteOffset out of range");if(byteOffset%this.BYTES_PER_ELEMENT)throw RangeError("buffer length minus the byteOffset is not a multiple of the element size.");if(length===undefined){var byteLength=buffer.byteLength-byteOffset;if(byteLength%this.BYTES_PER_ELEMENT)throw RangeError("length of buffer minus byteOffset not a multiple of the element size");length=byteLength/this.BYTES_PER_ELEMENT}else{length=ToUint32(length);byteLength=length*this.BYTES_PER_ELEMENT}if(byteOffset+byteLength>buffer.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer");Object.defineProperty(this,"buffer",{value:buffer});Object.defineProperty(this,"byteLength",{value:byteLength});Object.defineProperty(this,"byteOffset",{value:byteOffset});Object.defineProperty(this,"length",{value:length})}.apply(this,arguments)}throw TypeError()}Object.defineProperty($TypedArray$,"from",{value:function(iterable){return new this(iterable)}});Object.defineProperty($TypedArray$,"of",{value:function(){return new this(arguments)}});var $TypedArrayPrototype$={};$TypedArray$.prototype=$TypedArrayPrototype$;Object.defineProperty($TypedArray$.prototype,"_getter",{value:function(index){if(arguments.length<1)throw SyntaxError("Not enough arguments");index=ToUint32(index);if(index>=this.length)return undefined;var bytes=[],i,o;for(i=0,o=this.byteOffset+index*this.BYTES_PER_ELEMENT;i=this.length)return;var bytes=this._pack(value),i,o;for(i=0,o=this.byteOffset+index*this.BYTES_PER_ELEMENT;i0){o._setter(to,o._getter(from));from=from+direction;to=to+direction;count=count-1}return o}});Object.defineProperty($TypedArray$.prototype,"every",{value:function(callbackfn){if(this===undefined||this===null)throw TypeError();var t=Object(this);var len=ToUint32(t.length);if(!IsCallable(callbackfn))throw TypeError();var thisArg=arguments[1];for(var i=0;i1?arguments[1]:undefined;var k=0;while(k1?arguments[1]:undefined;var k=0;while(k0){n=Number(arguments[1]);if(n!==n){n=0}else if(n!==0&&n!==1/0&&n!==-(1/0)){n=(n>0||-1)*floor(abs(n))}}if(n>=len)return-1;var k=n>=0?n:max(len-abs(n),0);for(;k1){n=Number(arguments[1]);if(n!==n){n=0}else if(n!==0&&n!==1/0&&n!==-(1/0)){n=(n>0||-1)*floor(abs(n))}}var k=n>=0?min(n,len-1):len-abs(n);for(;k>=0;k--){if(t._getter(k)===searchElement)return k}return-1}});Object.defineProperty($TypedArray$.prototype,"map",{value:function(callbackfn){if(this===undefined||this===null)throw TypeError();var t=Object(this);var len=ToUint32(t.length);if(!IsCallable(callbackfn))throw TypeError();var res=[];res.length=len;var thisp=arguments[1];for(var i=0;i=2){accumulator=arguments[1]}else{accumulator=t._getter(k++)}while(k=2){accumulator=arguments[1]}else{accumulator=t._getter(k--)}while(k>=0){accumulator=callbackfn.call(undefined,accumulator,t._getter(k),k,t);k--}return accumulator}});Object.defineProperty($TypedArray$.prototype,"reverse",{value:function(){if(this===undefined||this===null)throw TypeError();var t=Object(this);var len=ToUint32(t.length);var half=floor(len/2);for(var i=0,j=len-1;ithis.length){throw RangeError("Offset plus length of array is out of range")}byteOffset=this.byteOffset+offset*this.BYTES_PER_ELEMENT;byteLength=array.length*this.BYTES_PER_ELEMENT;if(array.buffer===this.buffer){tmp=[];for(i=0,s=array.byteOffset;ithis.length){throw RangeError("Offset plus length of array is out of range")}for(i=0;imax?max:v}start=ToInt32(start);end=ToInt32(end);if(arguments.length<1){start=0}if(arguments.length<2){end=this.length}if(start<0){start=this.length+start}if(end<0){end=this.length+end}start=clamp(start,0,this.length);end=clamp(end,0,this.length);var len=end-start;if(len<0){len=0}return new this.constructor(this.buffer,this.byteOffset+start*this.BYTES_PER_ELEMENT,len)}});function makeTypedArray(elementSize,pack,unpack){var TypedArray=function(){Object.defineProperty(this,"constructor",{value:TypedArray});$TypedArray$.apply(this,arguments);makeArrayAccessors(this)};if("__proto__"in TypedArray){TypedArray.__proto__=$TypedArray$}else{TypedArray.from=$TypedArray$.from;TypedArray.of=$TypedArray$.of}TypedArray.BYTES_PER_ELEMENT=elementSize;var TypedArrayPrototype=function(){};TypedArrayPrototype.prototype=$TypedArrayPrototype$;TypedArray.prototype=new TypedArrayPrototype;Object.defineProperty(TypedArray.prototype,"BYTES_PER_ELEMENT",{value:elementSize});Object.defineProperty(TypedArray.prototype,"_pack",{value:pack});Object.defineProperty(TypedArray.prototype,"_unpack",{value:unpack});return TypedArray}var Int8Array=makeTypedArray(1,packI8,unpackI8);var Uint8Array=makeTypedArray(1,packU8,unpackU8);var Uint8ClampedArray=makeTypedArray(1,packU8Clamped,unpackU8);var Int16Array=makeTypedArray(2,packI16,unpackI16);var Uint16Array=makeTypedArray(2,packU16,unpackU16);var Int32Array=makeTypedArray(4,packI32,unpackI32);var Uint32Array=makeTypedArray(4,packU32,unpackU32);var Float32Array=makeTypedArray(4,packF32,unpackF32);var Float64Array=makeTypedArray(8,packF64,unpackF64);global.Int8Array=global.Int8Array||Int8Array;global.Uint8Array=global.Uint8Array||Uint8Array;global.Uint8ClampedArray=global.Uint8ClampedArray||Uint8ClampedArray;global.Int16Array=global.Int16Array||Int16Array;global.Uint16Array=global.Uint16Array||Uint16Array;global.Int32Array=global.Int32Array||Int32Array;global.Uint32Array=global.Uint32Array||Uint32Array;global.Float32Array=global.Float32Array||Float32Array;global.Float64Array=global.Float64Array||Float64Array})();(function(){function r(array,index){return IsCallable(array.get)?array.get(index):array[index]}var IS_BIG_ENDIAN=function(){var u16array=new Uint16Array([4660]),u8array=new Uint8Array(u16array.buffer);return r(u8array,0)===18}();function DataView(buffer,byteOffset,byteLength){if(!(buffer instanceof ArrayBuffer||Class(buffer)==="ArrayBuffer"))throw TypeError();byteOffset=ToUint32(byteOffset);if(byteOffset>buffer.byteLength)throw RangeError("byteOffset out of range");if(byteLength===undefined)byteLength=buffer.byteLength-byteOffset;else byteLength=ToUint32(byteLength);if(byteOffset+byteLength>buffer.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer");Object.defineProperty(this,"buffer",{value:buffer});Object.defineProperty(this,"byteLength",{value:byteLength});Object.defineProperty(this,"byteOffset",{value:byteOffset})}function makeGetter(arrayType){return function GetViewValue(byteOffset,littleEndian){byteOffset=ToUint32(byteOffset);if(byteOffset+arrayType.BYTES_PER_ELEMENT>this.byteLength)throw RangeError("Array index out of range");byteOffset+=this.byteOffset;var uint8Array=new Uint8Array(this.buffer,byteOffset,arrayType.BYTES_PER_ELEMENT),bytes=[];for(var i=0;ithis.byteLength)throw RangeError("Array index out of range");var typeArray=new arrayType([value]),byteArray=new Uint8Array(typeArray.buffer),bytes=[],i,byteView;for(i=0;i