GithubHelp home page GithubHelp logo

nandigama / learningr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jaredlander/learningr

0.0 2.0 0.0 17 KB

Code to get started with a new RStudio project along with data

License: GNU Affero General Public License v3.0

R 100.00%

learningr's Introduction

Live Training

This is an empty repo for to initialize an R project for training courses organized by Lander Analytics.

Packages

To get started run the following code to install the latest version of the necessary packages.

packages <- c('caret', 'coefplot','DBI', 'dbplyr', 'doParallel', 'foreach', 
              'ggthemes', 'glmnet', 'jsonlite', 'leaflet', 'odbc', 
              'recipes', 'rmarkdown', 'rprojroot', 'RSQLite', 'rvest', 
              'tidyverse', 'threejs', 'usethis', 'UsingR', 'xgboost', 'XML', 
              'xml2')
install.packages(packages)

Project Structure

Making use of RStudio projects greatly improves the user experience. To facilitate this users should run the following code which will recreate this package on their computer. Be sure to select the positive prompts such as yes, yeah, etc.

newProject <- usethis::use_course('https://github.com/jaredlander/LearningR/archive/master.zip')

After that runs successfully you will have a new folder holding the R project that looks like this.

If a new project did not open automatically, either double-click the file called LearningR.Rproj or run the following line of code.

rstudioapi::openProject(newProject)

After running this code, or double-clicking that file, you will be in an RStudio Project called LearningR. You can see this in the top right of RStudio.

Clone this Repo

Alternatively, if you use git then please clone this repo then open it as an RStudio Project.

# if using SSH
git clone [email protected]:jaredlander/LearningR.git

# if using https
git clone https://github.com/jaredlander/LearningR.git

Data

Data for the class is kept at data.world. You can sign up for a free account or run the following code. This requires that you are using an RStudio Project setup exactly like this repo, which is done if you followed the preceding code.

source('prep/DownloadData.r')

learningr's People

Contributors

jaredlander avatar

Watchers

Murali Nandigama avatar 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.