Batch processing of micropem data with datacenter log info

## This script:
# Loads a current .csv spreadsheet of logsheet information from the
data center.
# Finds all the upem processed files in the dropbox and matches the
data file names to the logsheet file names
# Checks a few things in the files before processing. If any of the
errors below are encountered, information about the file is passed to a
separate file, "problem_files":
  ## Does the logsheet info have a matching upem datafile? (If not,
need to locate the data file. File "no_match" is generated to summarize
these.)
  ## Are the dates/times in the data file recognizable? (If not, this
might mistakenly be a raw file labeled as a pre-processed file)
  ## Does the first hepa session end after the data  begins, and does
the second session begin before the data file ends?

# The script then processes the micropem files. This code is copied
from the shiny app. Right now it is only saving the summary and minute
averages for each file, but could easily be tweaked to save plots, etc.
# It also creates a summary table of all the files that were run, and
plots histograms for them.
# If R encounters an error while processing the file, the file is
skipped. Information about the skipped file is passed to
"problem_files".
# All generated files are saved to your default R directory
Fixing micropem logsheet information

# Making summary histograms and diagnosing problems in micropem
processing files
Saves by-day compliance data
plots by-day compliance data
Minor cleanup
Improved troubleshooting, especially RH

Added RH plot with 92% and 100% lines, added lines in summary to help
troubleshooting (# minutes RH >92, # minutes RH>100, # minutes
nephelometer <0)
Added text to RH plot of minutes above 92 and 100%
Code to ID lascar files and remove duplicates
Changes end date to be 10 rows earlier
This file is now outdated - instead see "trycatch"
Outlier identification