Giter Site home page Giter Site logo

parkr's Introduction

parkR: Functions I find helpful in R

The parkR package contains functions which I find useful as I’m working in R, especially when making reports. Included are some functions for quickly setting up HTML notebooks with {rmarkdown} and {bookdown}, and some helpful functions for applying Markdown, LaTeX commands, or HTML tags to text data in R.

Installation

You can install the development version of parkR using the devtools package:

devtools::install_github(repo = "simpar1471/parkR")

Useful functions

use_rmd_html()

This function generates a main .rmd file, either with or without children, and sets some nice defaults for its use. This .rmd file will knit to HTML.

use_bibliography()

This function generates a folder containing a .bib and .csl file for including citations in R Markdown documents. I’ve written this as I often need to cite sources in my work, but the basic R Markdown project setup in PyCharm does not include these features.

use_rmd_sections()

This function generates a folder containing child .rmd files. These can be included in the parent rmd. file using the knitr chunk option child = ... and a suitable use of base::list.files().

Plans for updates

  • Add use_rmd_pdf(), use_rmd_powerpoint() and friends to automate these tasks as well.
  • Increase coverage of {testthat}-based unit testing.
  • Add a function for setting my preferred {ggplot2}
  • Write out the use_hex_sticker() function, for use during package development.

Feedback

Feedback is greatly appreciated, and should be done on the GitHub issues page. Please be kind.

parkr's People

Contributors

simpar1471 avatar

Watchers

 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.