https://github.com/centerforthebuiltenvironment/r-for-building-science

https://github.com/centerforthebuiltenvironment/r-for-building-science

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 4 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.8%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: CenterForTheBuiltEnvironment
  • License: gpl-3.0
  • Language: HTML
  • Default Branch: main
  • Size: 88.1 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of theRosyProject/R-for-Building-Science
Created almost 4 years ago · Last pushed almost 4 years ago
Metadata Files
Readme License

README.md

R for Building Science

This repo contains the materials for the ARCH 249 Module 3.

Week 1 April 08 - Introduction to R (Tom Parkinson, Carlos Duarte, Federico Dallo; 3 hours)

This class will introduce you to the R programming language and Jupyter Notebooks. We’ll briefly cover fundamentals like syntax, data types, functions, packages, and development environments. We’ll also walk through the philosophy of the Tidyverse collection of packages, including data visualizations with ggplot2. By the end of the class you’ll be able to write, edit and run a basic R script in Jupyter Notebooks.

Readings:

  • Choosing Python or R for Data Analysis? An Infographic
  • Wickham H. & Grolemund, G. (2022) R for Data Science [Chapters 1 to 8]
  • Wickham H. (2021) The tidyverse style guide
  • RStudio Cheatsheets
  • Awesome R Learning Resources
  • Wickham, H. (2022) ggplot2: Elegant Graphics for Data Analysis
  • The R Graph Gallery

Week 2 April 15 - Working with survey data in R (Tom Parkinson; 3 hrs)

In this class you’ll learn how to analyse responses to survey questions. We’ll establish a workflow for importing data into R, data wrangling, producing summary statistics, and simple visualizations. Specifically, we’ll work with categorical data from the CBE Occupant Survey with a focus on strings and factors. By the end of the class you’ll be familiar with basic data wrangling and working with different data types in R.

Readings:

  • Graham, L. T., Parkinson, T., & Schiavon, S. (2021). Lessons learned from 20 years of CBE’s occupant surveys. Buildings and Cities, 2(1), 166–184.
  • Pew Research Center, Writing Survey Questions
  • [Optional] Leaman, A., & Bordass, B. (2001). Assessing building performance in use 4: The Probe occupant surveys and their implications. Building Research & -Information, 29(2), 129–143.
  • Wickham H. & Grolemund, G. (2022) R for Data Science [Chapters 9 to 15]
  • Engel, C. (2021) Data Wrangling with R
  • RStudio Cheatsheets for dplyr, tidyr, stringr, and forcats

Week 3 April 22 - Time-series data analysis in R (Federico Dallo; 3 hrs)

During the class will be shown how to work with date and time with R. We will use the Tidyverse programming style and deepen the lubridate library tools to:

1) describe a date-time object properties (e.g. format, time-zone, etc.); 2) create a date-time object for time series analysis in R; 3) manipulate time series data and its limitations (e.g. downscale to monthly averaging, upscaling using interpolation techniques *seasonality); 4) predict new data using a forecasting model (e.g. ARIMA); 5) visualization of time series data using the ggplot2 library. During the class we will use some real-world example dataset (e.g. NOAA, WMO, EPlus).

Readings:

  • H. Wickham & G. Grolemund, R for Data Science. O’Reilly. https://www.tidyverse.org/learn/
  • https://r4ds.had.co.nz/dates-and-times.html
  • https://otexts.com/fpp3/

Week 4 April 29 - Whole Building Simulation and Analysis in R(Carlos Duarte; 3 hrs)

In this class you will learn how to create building performance data and apply your timeseries analysis techniques learned in previous classes to help you design high performance buildings. We will use the eplusr package to import an EnergyPlus model file, modify it to create a parametric study, retrieve simulation outputs, and analyze them to make informed building design decisions.

Readings:

  • Jia, H., and A. Chong. 2021. Eplusr: A Framework for Integrating Building Energy Simulation and Data-Driven Analytics. Energy and Buildings 237 (April): 110757. https://linkinghub.elsevier.com/retrieve/pii/S0378778821000414.
  • Duarte, C., P. Raftery, S. Schiavon, and F. Bauman. 2018. How High Can You Go? Determining the Highest Supply Water Temperature for High Thermal Mass Radiant - Cooling Systems in California. In Proceedings of the 4th International Conference On Building Energy & Environment 2018, 585–590. Melbourne, Australia. https://escholarship.org/uc/item/0s06q03g.

Resources:

  • EnergyPlus Input Output Reference
  • eplusr user’s manual
  • Annual weather files for simulation

Owner

  • Name: CenterForTheBuiltEnvironment
  • Login: CenterForTheBuiltEnvironment
  • Kind: organization
  • Location: Berkeley, CA

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 75
  • Total Committers: 4
  • Avg Commits per committer: 18.75
  • Development Distribution Score (DDS): 0.16
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Federico Dallo 3****t 63
tom-parkinson t****n@b****u 5
Carlos Duarte c****e@b****u 5
Tom Parkinson 4****n 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels