Initial commit

This commit is contained in:
Carlos R. Mercado 2022-12-23 11:48:37 -05:00
commit 25dc119257
11 changed files with 219 additions and 0 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto

49
.gitignore vendored Normal file
View File

@ -0,0 +1,49 @@
# History files
.Rhistory
.Rapp.history
# Session Data files
.RData
.RDataTmp
# User-specific files
.Ruserdata
# Example code in package build process
*-Ex.R
# Output files from R CMD build
/*.tar.gz
# Output files from R CMD check
/*.Rcheck/
# RStudio files
.Rproj.user/
# produced vignettes
vignettes/*.html
vignettes/*.pdf
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth
# knitr and R markdown default cache directories
*_cache/
/cache/
# Temporary files created by R markdown
*.utf8.md
*.knit.md
# R Environment Variables
.Renviron
# pkgdown site
docs/
# translation temp files
po/*~
# RStudio Connect folder
rsconnect/

BIN
FLIPSIDE-BRAND-1-BLACK.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

BIN
FLIPSIDE-BRAND-1-WHITE.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Carlos R. Mercado
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# RMarkdown-template
Template for RMarkdown files that includes Flipside Crypto Header HTML insert, default YAML and CSS

13
RMarkdown-template.Rproj Normal file
View File

@ -0,0 +1,13 @@
Version: 1.0
RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default
EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8
RnwWeave: Sweave
LaTeX: pdfLaTeX

0
footer.html Normal file
View File

3
header.html Normal file
View File

@ -0,0 +1,3 @@
<head>
<img src="FLIPSIDE-BRAND-1-WHITE.png">
</head>

112
styles.css Normal file
View File

@ -0,0 +1,112 @@
@import url('https://fonts.googleapis.com/css?family=Inter');
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono');
body {
background-color: #10151A;
background-position: center top;
background-size: 300px 117px;
padding-left: 10%;
padding-right: 10%;
color: #C4CDD5;
font-size: 18px;
font-weight: 400;
font-family: Inter;
margin-top: 10px;
}
hr {
width: 85%;
color: #C4CDD5;
}
.tocify {
background-color: #10151A;
font-size: 14px;
color: #C4CDD5;
border: 0;
}
.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
background-color: #DC4F9C;
border-color: #DC4F9C;
}
.list-group-item {
background-color: #10151A;
}
h1 {
font-size: 1.4em;
padding-top: 10px;
color: #DC4F9C;
}
h2 {
font-size: 1.1em;
padding-top: 10px;
color: #6FCCDD;
}
h3 {
font-size: 1.1em;
padding-top: 10px;
color: white;
}
.plotly {
margin: 30px;
}
.rt-page-button-current {
color: #FFF;
}
.rt-thead {
background-color: #10151A;
color: #FFFFFF;
text-align: center;
vertical-align: middle;
}
.rt-th-content {
text-align: center;
vertical-align: middle;
}
.ReactTable {
background-color: #171e25;
color: #C4CDD5;
border: none;
font-family: Roboto Mono;
font-size: 0.8em;
}
.rt-th {
border: 0px solid #000000 !important;
padding-top: 15px;
padding-bottom: 15px;
font-weight: 400;
font-family: Inter;
}
.rt-tr {
padding-top: 5px;
padding-bottom: 5px;
}
.rt-pagination {
margin: 0;
background: #171e25;
opacity: 0.5;
border-bottom: 1px solid #C4CDD5;
border-top: 1px solid #C4CDD5;
}
.btn {
color: #FFF;
background: none;
border: none;
padding: 0;
}
#TOC {
margin: 71px 0px 20px 0px;
}

17
template.Rmd Normal file
View File

@ -0,0 +1,17 @@
---
title: " Title "
author: " Author "
date: "`r Sys.Date()`"
output:
html_document:
css: "styles.css"
includes:
in_header: header.html
code_folding: hide
toc: true
toc_float: true
editor_options:
chunk_output_type: console
---
# Intro