Giter Site home page Giter Site logo

damense / targets-four-minutes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wlandau/targets-four-minutes

0.0 0.0 0.0 136 KB

Get started with the {targets} R package in four minutes

Home Page: https://vimeo.com/700982360

License: Other

R 100.00%

targets-four-minutes's Introduction

Get started with targets in 4 minutes

cloud

The targets R package is a pipeline tool for reproducible computation in statistics and data science. This short example is the one from the 4-minute video on getting started with targets. It also comes up in the walkthrough and functions chapters of the user manual.

Try it out

Visit https://rstudio.cloud/project/3946303 to try out the code in a web browser. No download or installation required.

Files

  • data.csv: the airquality dataset from the datasets package.
  • R/functions.R: custom R functions you define for the analysis.
  • _targets.R: a special script to configure and define the pipeline.

Usage

  1. install.packages("targets") to install the package.
  2. tar_manifest() and tar_visnetwork() to check the pipeline for correctness.
  3. tar_make() or similar to run the pipeline.
  4. tar_read() to read target output.

Changes

  • Rerun tar_make() after changing nothing else. All targets will be skipped.
  • Change the contents of data.csv and then rerun tar_make(). All the targets will rerun.
  • Change only the plot_model() function in R/function.R and then rerun tar_make(). Only the plot target will rerun, and the rest will be skipped.

targets-four-minutes's People

Contributors

wlandau-lilly avatar wlandau 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.