Git Product home page Git Product logo

560-project2's Introduction

560-project2

Final Project for stats 560

Getting Started

First, you will have to clone or download this repository.

Open R studio and do the following:

Update Hurdat2

If the Hurdat2 data has changed, and the scripts fail, you may need to update the locations of the two files in get_data.R.

Update repository

You will also need to update the location of the downloaded or cloned repository here run_hurr.R.

Once updated, copy and paste the first 14 lines so the interactive pieces on this guide work properly run_hurr.R.

repo_loc <- "/Update to location of the repository on your computer/560-project2"

maps_dir <- paste(repo_loc,"maps", sep = "/")
maps_storm_dir <- paste(repo_loc,"maps","storm", sep = "/")
charts_dir <- paste(repo_loc,"charts", sep = "/")
charts_storm_dir <- paste(repo_loc,"charts","storm", sep = "/")
data_dir <- paste(repo_loc,"data", sep = "/")

#image defaults
theme_base_size <- 9
image_width <- 4
image_xwidth <- 5
image_height <- 3

Run the R scripts

In R studio run

Get the hurdat2 data from the NOAA website, clean it up, and reformat it for analysis

source(paste(repo_loc,"run_hurr.R", sep = "/"))

Run all final paper data and charts

source(paste(repo_loc,"final_report_charts.R", sep = "/"))

NOTE when NOAA updates the hurdat2 data after this year the hurdat2 file names WILL CHANGE and this will need to be updated - get_data.R

560-project2's People

Contributors

daveism avatar

Watchers

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