Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 02-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ We use [coinmarketcap](https://coinmarketcap.com) to verified top 5 cryptocurren
library(tidyverse)
library(ggplot2)
library(coinmarketcapr)
```

```{r}
coinmarketcapr::setup('6a34456f-8a3c-46d5-b07f-6b84e364929c')
plot_top_currencies(currency = "USD", k = 5, bar_color = "grey")
```


```{r}
BTC <- read.csv("data/BTC-USD.csv")
BNB <- read.csv("data/BNB-USD.csv")
Expand All @@ -28,7 +30,5 @@ df.close
df.close1<- gather(df.close[,2:6], cryptocurrency, price)
df.close1$price<-as.numeric(df.close1$price)
df.close1

```


12 changes: 12 additions & 0 deletions 03-cleaning.Rmd
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
# Data transformation

```{r}
df.close<-data.frame(cbind(BTC[,1],BTC[,6],BNB[,6],ETH[,6],USDC[,6],USDT[,6]))
colnames(df.close)<-c("Date","BTC","BNB","ETH","USDC","USDT")
head(df.close)
```

```{r}
df.close1<- gather(df.close[,2:6], cryptocurrency, price)
df.close1$price<-as.numeric(df.close1$price)
head(df.close1)
```
2 changes: 2 additions & 0 deletions EDAVtemplate.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

BuildType: Website
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
169 changes: 169 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
<!DOCTYPE html>
<html lang="" xml:lang="">
<head>

<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Page not found | Crypto Graphics</title>
<meta name="description" content="Page not found | Crypto Graphics" />
<meta name="generator" content="bookdown 0.26 and GitBook 2.6.7" />

<meta property="og:title" content="Page not found | Crypto Graphics" />
<meta property="og:type" content="book" />




<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Page not found | Crypto Graphics" />




<meta name="author" content="Tianyu Yao, Juntian Zhang" />


<meta name="date" content="2022-05-01" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />




<script src="libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/fuse.js@6.4.6/dist/fuse.min.js"></script>
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-highlight.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-search.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-fontsettings.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-clipboard.css" rel="stylesheet" />








<link href="libs/anchor-sections-1.1.0/anchor-sections.css" rel="stylesheet" />
<link href="libs/anchor-sections-1.1.0/anchor-sections-hash.css" rel="stylesheet" />
<script src="libs/anchor-sections-1.1.0/anchor-sections.js"></script>




<link rel="stylesheet" href="style.css" type="text/css" />
</head>

<body>



<div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">

<div class="book-summary">
<nav role="navigation">

<ul class="summary">
<li><a href="./">SHORT TITLE HERE</a></li>

<li class="divider"></li>
<li class="chapter" data-level="1" data-path="index.html"><a href="index.html"><i class="fa fa-check"></i><b>1</b> Introduction</a></li>
<li class="chapter" data-level="2" data-path="data-sources.html"><a href="data-sources.html"><i class="fa fa-check"></i><b>2</b> Data sources</a></li>
<li class="chapter" data-level="3" data-path="data-transformation.html"><a href="data-transformation.html"><i class="fa fa-check"></i><b>3</b> Data transformation</a></li>
<li class="chapter" data-level="4" data-path="missing-values.html"><a href="missing-values.html"><i class="fa fa-check"></i><b>4</b> Missing values</a></li>
<li class="chapter" data-level="5" data-path="results.html"><a href="results.html"><i class="fa fa-check"></i><b>5</b> Results</a></li>
<li class="chapter" data-level="6" data-path="interactive-component.html"><a href="interactive-component.html"><i class="fa fa-check"></i><b>6</b> Interactive component</a></li>
<li class="chapter" data-level="7" data-path="conclusion.html"><a href="conclusion.html"><i class="fa fa-check"></i><b>7</b> Conclusion</a></li>
<li class="divider"></li>
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
</ul>

</nav>
</div>

<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i><a href="./">Crypto Graphics</a>
</h1>
</div>

<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">

<section class="normal" id="section-">
<div id="page-not-found" class="section level1">
<h1>Page not found</h1>
<p>The page you requested cannot be found (perhaps it was moved or renamed).</p>
<p>You may want to try searching to find the page's new location, or use
the table of contents to find the page you are looking for.</p>
</div>
</section>

</div>
</div>
</div>


</div>
</div>
<script src="libs/gitbook-2.6.7/js/app.min.js"></script>
<script src="libs/gitbook-2.6.7/js/clipboard.min.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-sharing.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-fontsettings.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-bookdown.js"></script>
<script src="libs/gitbook-2.6.7/js/jquery.highlight.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-clipboard.js"></script>
<script>
gitbook.require(["gitbook"], function(gitbook) {
gitbook.start({
"sharing": {
"github": false,
"facebook": true,
"twitter": true,
"linkedin": false,
"weibo": false,
"instapaper": false,
"vk": false,
"whatsapp": false,
"all": ["facebook", "twitter", "linkedin", "weibo", "instapaper"]
},
"fontsettings": {
"theme": "white",
"family": "sans",
"size": 2
},
"edit": {
"link": "https://github.com/ytyky/CryptoGraphics/edit/main/%s",
"text": "Edit"
},
"history": {
"link": null,
"text": null
},
"view": {
"link": "https://github.com/ytyky/CryptoGraphics/blob/main/%s",
"text": null
},
"download": null,
"search": {
"engine": "fuse",
"options": null
},
"toc": {
"collapse": "subsection"
}
});
});
</script>

</body>

</html>
39 changes: 22 additions & 17 deletions docs/conclusion.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,26 @@

<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 7 Conclusion | YOUR TITLE HERE</title>
<meta name="description" content="Chapter 7 Conclusion | YOUR TITLE HERE" />
<meta name="generator" content="bookdown 0.20 and GitBook 2.6.7" />
<title>Chapter 7 Conclusion | Crypto Graphics</title>
<meta name="description" content="Chapter 7 Conclusion | Crypto Graphics" />
<meta name="generator" content="bookdown 0.26 and GitBook 2.6.7" />

<meta property="og:title" content="Chapter 7 Conclusion | YOUR TITLE HERE" />
<meta property="og:title" content="Chapter 7 Conclusion | Crypto Graphics" />
<meta property="og:type" content="book" />





<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Chapter 7 Conclusion | YOUR TITLE HERE" />
<meta name="twitter:title" content="Chapter 7 Conclusion | Crypto Graphics" />




<meta name="author" content="YOUR NAMES HERE" />
<meta name="author" content="Tianyu Yao, Juntian Zhang" />


<meta name="date" content="2020-11-09" />
<meta name="date" content="2022-05-01" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand All @@ -33,8 +32,8 @@

<link rel="prev" href="interactive-component.html"/>

<script src="libs/header-attrs-2.3/header-attrs.js"></script>
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
<script src="libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/fuse.js@6.4.6/dist/fuse.min.js"></script>
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
Expand All @@ -50,8 +49,10 @@



<link href="libs/anchor-sections-1.1.0/anchor-sections.css" rel="stylesheet" />
<link href="libs/anchor-sections-1.1.0/anchor-sections-hash.css" rel="stylesheet" />
<script src="libs/anchor-sections-1.1.0/anchor-sections.js"></script>

<script src="libs/accessible-code-block-0.0.1/empty-anchor.js"></script>



Expand Down Expand Up @@ -89,16 +90,16 @@
<div class="body-inner">
<div class="book-header" role="navigation">
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i><a href="./">YOUR TITLE HERE</a>
<i class="fa fa-circle-o-notch fa-spin"></i><a href="./">Crypto Graphics</a>
</h1>
</div>

<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">

<section class="normal" id="section-">
<div id="conclusion" class="section level1" number="7">
<h1><span class="header-section-number">Chapter 7</span> Conclusion</h1>
<div id="conclusion" class="section level1 hasAnchor" number="7">
<h1><span class="header-section-number">Chapter 7</span> Conclusion<a href="conclusion.html#conclusion" class="anchor-section" aria-label="Anchor link to header"></a></h1>

</div>
</section>
Expand All @@ -111,7 +112,6 @@ <h1><span class="header-section-number">Chapter 7</span> Conclusion</h1>
</div>
</div>
<script src="libs/gitbook-2.6.7/js/app.min.js"></script>
<script src="libs/gitbook-2.6.7/js/lunr.js"></script>
<script src="libs/gitbook-2.6.7/js/clipboard.min.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-sharing.js"></script>
Expand All @@ -130,6 +130,7 @@ <h1><span class="header-section-number">Chapter 7</span> Conclusion</h1>
"weibo": false,
"instapaper": false,
"vk": false,
"whatsapp": false,
"all": ["facebook", "twitter", "linkedin", "weibo", "instapaper"]
},
"fontsettings": {
Expand All @@ -138,18 +139,22 @@ <h1><span class="header-section-number">Chapter 7</span> Conclusion</h1>
"size": 2
},
"edit": {
"link": "https://github.com/YOUR GITHUB USERNAME/YOUR REPO NAME/edit/main/07-conclusion.Rmd",
"link": "https://github.com/ytyky/CryptoGraphics/edit/main/07-conclusion.Rmd",
"text": "Edit"
},
"history": {
"link": null,
"text": null
},
"view": {
"link": "https://github.com/YOUR GITHUB USERNAME/YOUR REPO NAME/blob/main/07-conclusion.Rmd",
"link": "https://github.com/ytyky/CryptoGraphics/blob/main/07-conclusion.Rmd",
"text": null
},
"download": null,
"search": {
"engine": "fuse",
"options": null
},
"toc": {
"collapse": "subsection"
}
Expand Down
Loading