R Functions for processing Climo data.
Contact: Shrikanth Yadav yshrikanth@iisc.ac.in
This repository contains functions for working on Climo Data that was collected outside the Robert Bosch Center, Indian Institute of Science.
There are two main data sets used
- August dataset: Carbon Monoxide concentration that is used only for working on weekly seasonality.
- September dataset: CO, wind direction, wind speed and temperature data.
- The file
AQM Functions Summary.mdis a tutorial for the data processing functions. Use-cases are presented when necessary. - The file
main.mdpresents all the plots of the analysis on the sample data set. To perform the analysis on your own data set, you will have to run themain.RmdusingR. - The
Raw Sensor Datadirectory contains the main datasets. - The
TSA Cache Datadirectory functions as cache. Computations like seasonality and downsampling performed in the main function for unique averaging times will be saved here for future reference--to prevent recomputation. There are two types of .csv files-- The master data frames over which we perform the analysis. The
xxinmaster_sep_xx.csvrepresents the averaging time in munitues. - The sesonality computed from the August dataset. The
xxinsea_CO_aug_xx.csvrepresents the averaging time in munitues.
- The master data frames over which we perform the analysis. The
- The
plotsdirectory contains folders based on the plotting function name. Each subdirectory will store the respective plots in PNG and PDF formats.
- The
TSA Data Source.Rcontains functions that work on the cache data. - The
srcdirectory contains the 2 classes of source filesTSA Source.Rcontains the data prcessing functions.plotting_functions.Rcontains the plotting functions.
- library(png)
- library(grid)
- library(highfrequency)
- library(quantreg)
- library(TTR)
- library(stats)
- library(lubridate)
- library(timeSeries)
- library(dplyr)
- library(ggplot2)
- library("gridExtra")
- library("cowplot")
- library(reshape2)
- library(scales)