GithubHelp home page GithubHelp logo

drjohan / monash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from numbats/monash

0.0 1.0 0.0 31.44 MB

A utility R-package with consolidated tools and templates for staffs at Monash University

Home Page: https://numbats.github.io/monash

License: GNU General Public License v3.0

R 1.87% CSS 17.27% JavaScript 69.35% HTML 0.63% TeX 10.88%

monash's Introduction

monash

The monash R-package is a utility package with consolidated tools and templates for staffs at Monash University. The package contains three primary themes:

  • workflow: automating repetitive tasks, particularly teaching related activities;
  • template: Monash branded R Markdown templates for teaching, presentation, etc; and
  • data: easy access to relevant information (may require access privileges).

Installation

You can install monash R-package as below:

# install.packages("remotes")
remotes::install_github("numbats/monash")

Get Monash logo

You can get a copy of the logo into the directory you wish with below.

# default logo
monash::logo_get(path = "man/figures")
#> ✔ The 'monash-stacked-blue-rgb.png' is now in 'man/figures/'
#> man/figures/monash-stacked-blue-rgb.png
# black and white & one-line version of the logo
monash::logo_get(path = "man/figures", color = "black", stack = FALSE, filename = "monash-logo-black.png")
#> ✔ The 'monash-logo-black.png' is now in 'man/figures/'
#> man/figures/monash-logo-black.png

And then you can reference the logo file that you copied.

Get Monash brand colors

These are handy commands to quickly see Monash brand colors and be able to copy-and-paste the hex color codes.

monash::color_show()

#>      blue     black     white    gray80    gray50    gray10      blue    purple 
#> "#006DAE" "#000000" "#FFFFFF" "#5A5A5A" "#969696" "#E6E6E6" "#027EB6" "#746FB2" 
#>   fuchsia      ruby      pink       red    orange     umber     olive     green 
#> "#9651A0" "#C8008F" "#ee64a4" "#EE0220" "#D93F00" "#795549" "#6F7C4D" "#008A25"

Settings

(WIP) The monash package makes use of some values, listed below, from your R profile. You can modify this by using usethis::edit_r_profile() and adding below with values modified to your own values.

options(monash.full_name = "Emi Tanaka",
        monash.email = "[email protected]",
        monash.orgunit = "Department of Econometrics and Business Statistics",
        monash.teaching_dir = "~/teaching/monash/",
        monash.workshop_dir = "~/workshop/")

Teaching

(WIP) create_teaching_directory("ETCXXXX") would create a skeleton directory with folder and file structure below for development of teaching material. What is the advantage of this structure? It’s designed to be synced with a private github repository and the materials in the release folder are automatically pushed using Github Repository to the public github repository for public release. The website associated with it will be also be built automatically as well. The website format will closely resemble ETC5512: Wild-Caught Data.

(WIP) release_tutorial(1) moves tutorial-01.html (and .Rmd) to the appropriate place in the release folder.

(WIP) Tutorial, slides and other templates for teaching.

├── ETCXXXX.Rproj
├── .git
├── data
│   └── data01.csv
├── lectures
│   ├── assets
│   │   ├── monash-brand.css
│   │   └── monash-font.css  
│   ├── images
│   │   ├── lecture-01-image01.png
│   │   └── lecture-02-image01.png  
│   ├── lecture-01.Rmd
│   ├── lecture-02.Rmd
│   └── lecture-03.Rmd
├── tutorials
│   ├── images
│   │   ├── tutorial-01-image01.png
│   │   └── tutorial-02-image01.png 
│   ├── tutorial-01.Rmd
├── assessments
│   ├── assignment-01.Rmd
│   └── quiz-01.Rmd
├── release # for public release
│   ├── site
│   │   └── _site.yml
│   ├── data
│   ├── lectures
│   ├── tutorials

monash's People

Contributors

emitanaka avatar mitchelloharawild avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.