Giter VIP home page Giter VIP logo

irsupportr's Introduction

IRsupportR

The objective of this package is to compile and evaluate historic water quality data to verify if the data supports impairments attributed to toxics. In order to accomplish this objective, data from various datasets are compiled and processed into one consistent dataset for comparing to numeric water quality criteria. Exceedances of the water quality criteria are determined and categorization reevaluation decisions are proposed based on the implementation of an approved decision logic.

Installation

You can install the development version of IRsupportR from GitHub with:

# install.packages("devtools")
devtools::install_github("LimnoTech/IRsupportR")

The repository can also be downloaded as a zip file by clicking on the green β€˜code’ dropdown button.

Using the Package

This package contains several functions that encompass the analysis for reevaluating toxic impairments in District of Columbia waterbodies.

Data Processing

The original formatted data used for this analysis can be found in the data-raw folder. Data was compiled for seven different datasets and formatting was standardized across the datasets. The all_processed_data.R script is used to further process the data. The final output of the script is saved as all_processed_data.rda in the data folder.

Lookup Tables

In addition to the input data, the data folder contains various lookup tables used throughout the analysis. The package utilizes the .rda files. For ease of reference, .xlsx files have also been included for each lookup table.

Data Analysis

The steps for the data analysis can be found in the worflow.R file. Source the contents of this document to complete the analysis. Functions are run to evaluate criteria, perform summary statistics, execute decision logic, and compile results tables.

Outputs

Multiple tables and spreadsheets are produced from the analysis and saved in the output folder. They include the following:

  • Intermediate results with criteria evaluated

    • criteria_results.csv
  • Final results as CSVs

    • results_class_c.csv

    • results_class_d.csv

  • Final results with merged cell formatting. Excel files required for merged cells. Csv files used for dataset parts with no merged cells

    • Class C

      • results_class_c_merge_part1.xlsx

      • results_class_c_merge_part2.xlsx

      • results_class_c_merge_part3.csv

    • Class D

      • results_class_d_merge_part1.xlsx

      • results_class_d_merge_part2.csv

  • Final results as combined Excel spreadsheets. Includes merged cell formatting. Combined manually

    • merge_parts_manual/results_class_c_merged_all.xlsx
    • merge_parts_manual/results_class_d_merged_all.xlsx

irsupportr's People

Contributors

shannarucker avatar benjamincrary avatar diteran avatar

Watchers

Anthony Aufdenkampe avatar Tad Slawecki avatar Dan Rucinski avatar Todd Redder avatar Hua Tao 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.