Prerequisites - install Ruby and Bundler globally for your user.
This is the version that runs on GH Pages.
# ipak function: install and load multiple R packages. | |
# check to see if packages are installed. Install them if they are not, then load them into the R session. | |
ipak <- function(pkg){ | |
new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])] | |
if (length(new.pkg)) | |
install.packages(new.pkg, dependencies = TRUE) | |
sapply(pkg, require, character.only = TRUE) | |
} |
--- | |
title: "Codebook template" | |
author: "Your name here" | |
date: "The date here" | |
output: | |
html_document: | |
keep_md: yes | |
--- | |
## Project Description |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>...</title> | |
<meta name="description" content="..."> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | |
<meta name="author" content="bartek.bobko@gmail.com"> | |
<link rel="shortcut icon" href="favicon.ico"> | |
</head> |
Prerequisites - install Ruby and Bundler globally for your user.
This is the version that runs on GH Pages.
I'd like to share some ideas & practices that I have come to adopt in organizing my projects.
This is NOT a definitive guide to organizing a data project; rather, tips that you can adapt to your own projects.
I found several locations where some good discussions are held on the topic.