Pārlūkot izejas kodu

course 7

master
Antoine Neuraz pirms 5 gadiem
vecāks
revīzija
7eebc72154
26 mainītis faili ar 452 papildinājumiem un 0 dzēšanām
  1. +193
    -0
      courses/07_time_text.Rmd
  2. +259
    -0
      courses/07_time_text.html
  3. Binārs
      courses/07_time_text_files/figure-html/unnamed-chunk-3-1.png
  4. Binārs
      courses/img/Night_Photography.jpg
  5. Binārs
      courses/img/bubblecloud.png
  6. Binārs
      courses/img/concordanceplot.png
  7. Binārs
      courses/img/dissertation.png
  8. Binārs
      courses/img/eventflow.png
  9. Binārs
      courses/img/fingerprints.png
  10. Binārs
      courses/img/heatmap.png
  11. Binārs
      courses/img/litterary.png
  12. Binārs
      courses/img/nightingale.png
  13. Binārs
      courses/img/origins_species.png
  14. Binārs
      courses/img/seismes.png
  15. Binārs
      courses/img/sentence_drawing.png
  16. Binārs
      courses/img/stereotropes.png
  17. Binārs
      courses/img/streamgraph.png
  18. Binārs
      courses/img/textarc.png
  19. Binārs
      courses/img/textual_data_levels.afdesign
  20. Binārs
      courses/img/textual_data_levels.png
  21. Binārs
      courses/img/trulia.png
  22. Binārs
      courses/img/walmart.png
  23. Binārs
      courses/img/word_cloud_analytic.png
  24. Binārs
      courses/img/word_tree.png
  25. Binārs
      courses/img/wordcloud.png
  26. Binārs
      courses/img/wordwanderer.png

+ 193
- 0
courses/07_time_text.Rmd Parādīt failu

@@ -0,0 +1,193 @@
---
title: "Cours 07 - Données temporelles et textuelles"
author: "Antoine Neuraz"
date: "22/11/2019"
output:
xaringan::moon_reader:
css: ['default','css/my_style.css']
lib_dir: libs
seal: false
nature:
ratio: '4:3'
countIncrementalSlides: false
self-contained: true
beforeInit: "addons/macros.js"
---

```{r, include = F}
library(ggplot2)
library(dplyr)
library(stringi)
```


---
class: center, full

![](img/seismes.png)
[https://frama.link/viz-seismes]()

---
class: center, middle, inverse

# Visualisation de données textuelles

---
class: center
## Données textuelles ?

![:scale 90%](img/textual_data_levels.png)

---
class:center, middle

# Taille

---
class: center
## Word cloud

![](img/wordcloud.png)
---
## Word cloud plus analytique

![](img/word_cloud_analytic.png)
---

## Bubble cloud

![](img/bubblecloud.png)

[Bubble Cloud](https://archive.nytimes.com/www.nytimes.com/interactive/2012/09/06/us/politics/convention-word-counts.html)

---
class: center, middle

# Position

---
## Text arc by Bradford Paley

![](img/textarc.png)

[version Interactive](https://vallandingham.me/textarc/)

---
## Stereotropes

![:scale 85%](img/stereotropes.png)
[stereotropes](http://stereotropes.bocoup.com/gender)

---
## Wordwanderer

![](img/wordwanderer.png)

[http://wordwanderer.org/]()

---
class: center, middle

# Structure

---
## Concordance

![](img/concordanceplot.png)
[Quick concordance plot](https://vallandingham.me/concordance_plot/)

---
## Fingerprint

![:scale 85%](img/fingerprints.png)

[litterature fingerprints](https://kops.uni-konstanz.de/bitstream/handle/123456789/5492/Literature_Fingerprinting.pdf)

---
## Word tree

![](img/word_tree.png)
[Word tree](https://www.jasondavies.com/wordtree/?source=alice-in-wonderland.txt&prefix=alice%20to)

---
## Origins of species

![](img/origins_species.png)

[https://fathom.info/traces/]()

---
class: center
## Dissertation browser

![:scale 70%](img/dissertation.png)

[Dissertation browser](https://www-nlp.stanford.edu/projects/dissertations/browser.html)

---
## Literary Organism

![](img/litterary.png)

---
## Sentence drawing

![](img/sentence_drawing.png)

[sentence drawings](https://vallandingham.me/sentence_drawings/#1984)

---
class: center, middle, inverse

# Visualisation de données temporelles

---
class: full, center
![:abs 100%, 0, 0](img/Night_Photography.jpg)

---
## Bien sur: le line chart

![](img/playfair.png)

---
## ou encore : Minard

![](img/minard.png)

---
## Rose diagram (polar area)

![](img/nightingale.png)
#### Nightingale (1856)

---
## Heatmap

![:scale 80%](img/trulia.png)

[interactive](https://visual.ly/community/interactive-graphic/business/house-hunting)

---
class: center
## Gapminder

<iframe width="800" height="400" src="https://www.youtube.com/embed/BPt8ElTQMIg" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

---
## divide and conquer

![](img/walmart.png)

---
## Streamgraph

![](img/streamgraph.png)

---
class: center
## Eventflow

<iframe width="800" height="400" src="https://www.youtube.com/embed/ZN1BefRmBMc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

[Eventlow](https://hcil.umd.edu/eventflow/)

+ 259
- 0
courses/07_time_text.html Parādīt failu

@@ -0,0 +1,259 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<title>Cours 07 - Données temporelles et textuelles</title>
<meta charset="utf-8" />
<meta name="author" content="Antoine Neuraz" />
<link href="libs/remark-css-0.0.1/default.css" rel="stylesheet" />
<link rel="stylesheet" href="css/my_style.css" type="text/css" />
</head>
<body>
<textarea id="source">





---
class: center, full

![](img/seismes.png)
[https://frama.link/viz-seismes]()

---
class: center, middle, inverse

# Visualisation de données textuelles

---
class: center
## Données textuelles ?

![:scale 90%](img/textual_data_levels.png)

---
class:center, middle

# Taille

---
class: center
## Word cloud

![](img/wordcloud.png)
---
## Word cloud plus analytique

![](img/word_cloud_analytic.png)
---

## Bubble cloud

![](img/bubblecloud.png)

[Bubble Cloud](https://archive.nytimes.com/www.nytimes.com/interactive/2012/09/06/us/politics/convention-word-counts.html)

---
class: center, middle

# Position

---
## Text arc by Bradford Paley

![](img/textarc.png)

[version Interactive](https://vallandingham.me/textarc/)

---
## Stereotropes

![:scale 85%](img/stereotropes.png)
[stereotropes](http://stereotropes.bocoup.com/gender)

---
## Wordwanderer

![](img/wordwanderer.png)

[http://wordwanderer.org/]()

---
class: center, middle

# Structure

---
## Concordance

![](img/concordanceplot.png)
[Quick concordance plot](https://vallandingham.me/concordance_plot/)

---
## Fingerprint

![:scale 85%](img/fingerprints.png)

[litterature fingerprints](https://kops.uni-konstanz.de/bitstream/handle/123456789/5492/Literature_Fingerprinting.pdf)

---
## Word tree

![](img/word_tree.png)
[Word tree](https://www.jasondavies.com/wordtree/?source=alice-in-wonderland.txt&amp;prefix=alice%20to)

---
## Origins of species

![](img/origins_species.png)

[https://fathom.info/traces/]()

---
class: center
## Dissertation browser

![:scale 70%](img/dissertation.png)

[Dissertation browser](https://www-nlp.stanford.edu/projects/dissertations/browser.html)

---
## Literary Organism

![](img/litterary.png)

---
## Sentence drawing

![](img/sentence_drawing.png)

[sentence drawings](https://vallandingham.me/sentence_drawings/#1984)

---
class: center, middle, inverse

# Visualisation de données temporelles

---
class: full, center
![:abs 100%, 0, 0](img/Night_Photography.jpg)

---
## Bien sur: le line chart

![](img/playfair.png)

---
## ou encore : Minard

![](img/minard.png)

---
## Rose diagram (polar area)

![](img/nightingale.png)
#### Nightingale (1856)

---
## Heatmap

![:scale 80%](img/trulia.png)

[interactive](https://visual.ly/community/interactive-graphic/business/house-hunting)

---
## Gapminder

&lt;iframe width="800" height="400" src="https://www.youtube.com/embed/BPt8ElTQMIg" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen&gt;&lt;/iframe&gt;
</textarea>
<style data-target="print-only">@media screen {.remark-slide-container{display:block;}.remark-slide-scaler{box-shadow:none;}}</style>
<script src="https://remarkjs.com/downloads/remark-latest.min.js"></script>
<script src="addons/macros.js"></script>
<script>var slideshow = remark.create({
"ratio": "4:3",
"countIncrementalSlides": false,
"self-contained": true
});
if (window.HTMLWidgets) slideshow.on('afterShowSlide', function (slide) {
window.dispatchEvent(new Event('resize'));
});
(function(d) {
var s = d.createElement("style"), r = d.querySelector(".remark-slide-scaler");
if (!r) return;
s.type = "text/css"; s.innerHTML = "@page {size: " + r.style.width + " " + r.style.height +"; }";
d.head.appendChild(s);
})(document);

(function(d) {
var el = d.getElementsByClassName("remark-slides-area");
if (!el) return;
var slide, slides = slideshow.getSlides(), els = el[0].children;
for (var i = 1; i < slides.length; i++) {
slide = slides[i];
if (slide.properties.continued === "true" || slide.properties.count === "false") {
els[i - 1].className += ' has-continuation';
}
}
var s = d.createElement("style");
s.type = "text/css"; s.innerHTML = "@media print { .has-continuation { display: none; } }";
d.head.appendChild(s);
})(document);
// delete the temporary CSS (for displaying all slides initially) when the user
// starts to view slides
(function() {
var deleted = false;
slideshow.on('beforeShowSlide', function(slide) {
if (deleted) return;
var sheets = document.styleSheets, node;
for (var i = 0; i < sheets.length; i++) {
node = sheets[i].ownerNode;
if (node.dataset["target"] !== "print-only") continue;
node.parentNode.removeChild(node);
}
deleted = true;
});
})();</script>

<script>
(function() {
var links = document.getElementsByTagName('a');
for (var i = 0; i < links.length; i++) {
if (/^(https?:)?\/\//.test(links[i].getAttribute('href'))) {
links[i].target = '_blank';
}
}
})();
</script>

<script>
slideshow._releaseMath = function(el) {
var i, text, code, codes = el.getElementsByTagName('code');
for (i = 0; i < codes.length;) {
code = codes[i];
if (code.parentNode.tagName !== 'PRE' && code.childElementCount === 0) {
text = code.textContent;
if (/^\\\((.|\s)+\\\)$/.test(text) || /^\\\[(.|\s)+\\\]$/.test(text) ||
/^\$\$(.|\s)+\$\$$/.test(text) ||
/^\\begin\{([^}]+)\}(.|\s)+\\end\{[^}]+\}$/.test(text)) {
code.outerHTML = code.innerHTML; // remove <code></code>
continue;
}
}
i++;
}
};
slideshow._releaseMath(document);
</script>
<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML';
if (location.protocol !== 'file:' && /^https?:/.test(script.src))
script.src = script.src.replace(/^https?:/, '');
document.getElementsByTagName('head')[0].appendChild(script);
})();
</script>
</body>
</html>

Binārs
courses/07_time_text_files/figure-html/unnamed-chunk-3-1.png Parādīt failu

Pirms Pēc
Platums: 504  |  Augstums: 201  |  Izmērs: 15KB

Binārs
courses/img/Night_Photography.jpg Parādīt failu

Pirms Pēc
Platums: 3560  |  Augstums: 2848  |  Izmērs: 6.2MB

Binārs
courses/img/bubblecloud.png Parādīt failu

Pirms Pēc
Platums: 1025  |  Augstums: 588  |  Izmērs: 205KB

Binārs
courses/img/concordanceplot.png Parādīt failu

Pirms Pēc
Platums: 782  |  Augstums: 310  |  Izmērs: 54KB

Binārs
courses/img/dissertation.png Parādīt failu

Pirms Pēc
Platums: 1090  |  Augstums: 951  |  Izmērs: 236KB

Binārs
courses/img/eventflow.png Parādīt failu

Pirms Pēc
Platums: 2032  |  Augstums: 1156  |  Izmērs: 1.1MB

Binārs
courses/img/fingerprints.png Parādīt failu

Pirms Pēc
Platums: 847  |  Augstums: 640  |  Izmērs: 175KB

Binārs
courses/img/heatmap.png Parādīt failu

Pirms Pēc
Platums: 940  |  Augstums: 761  |  Izmērs: 283KB

Binārs
courses/img/litterary.png Parādīt failu

Pirms Pēc
Platums: 1055  |  Augstums: 751  |  Izmērs: 573KB

Binārs
courses/img/nightingale.png Parādīt failu

Pirms Pēc
Platums: 946  |  Augstums: 595  |  Izmērs: 730KB

Binārs
courses/img/origins_species.png Parādīt failu

Pirms Pēc
Platums: 893  |  Augstums: 572  |  Izmērs: 108KB

Binārs
courses/img/seismes.png Parādīt failu

Pirms Pēc
Platums: 4474  |  Augstums: 2504  |  Izmērs: 4.0MB

Binārs
courses/img/sentence_drawing.png Parādīt failu

Pirms Pēc
Platums: 1053  |  Augstums: 492  |  Izmērs: 66KB

Binārs
courses/img/stereotropes.png Parādīt failu

Pirms Pēc
Platums: 981  |  Augstums: 724  |  Izmērs: 111KB

Binārs
courses/img/streamgraph.png Parādīt failu

Pirms Pēc
Platums: 854  |  Augstums: 435  |  Izmērs: 292KB

Binārs
courses/img/textarc.png Parādīt failu

Pirms Pēc
Platums: 1351  |  Augstums: 767  |  Izmērs: 519KB

Binārs
courses/img/textual_data_levels.afdesign Parādīt failu


Binārs
courses/img/textual_data_levels.png Parādīt failu

Pirms Pēc
Platums: 1247  |  Augstums: 986  |  Izmērs: 66KB

Binārs
courses/img/trulia.png Parādīt failu

Pirms Pēc
Platums: 942  |  Augstums: 757  |  Izmērs: 285KB

Binārs
courses/img/walmart.png Parādīt failu

Pirms Pēc
Platums: 852  |  Augstums: 909  |  Izmērs: 837KB

Binārs
courses/img/word_cloud_analytic.png Parādīt failu

Pirms Pēc
Platums: 1067  |  Augstums: 519  |  Izmērs: 306KB

Binārs
courses/img/word_tree.png Parādīt failu

Pirms Pēc
Platums: 1903  |  Augstums: 905  |  Izmērs: 254KB

Binārs
courses/img/wordcloud.png Parādīt failu

Pirms Pēc
Platums: 1766  |  Augstums: 1308  |  Izmērs: 367KB

Binārs
courses/img/wordwanderer.png Parādīt failu

Pirms Pēc
Platums: 1019  |  Augstums: 519  |  Izmērs: 175KB

Notiek ielāde…
Atcelt
Saglabāt