Skip to content

ByMaxAnjos/LCZ4r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

436 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tools for Local Climate Zone and Urban Heat Island Analysis in R

LCZ4r Logo

Lifecycle: experimental

The LCZ4r package provides a comprehensive suite of tools for analyzing and visualizing Local Climate Zones (LCZ) and Urban Heat Islands (UHI) in R. Designed for researchers, urban planners, and climate scientists, LCZ4r simplifies the process of downloading, processing, and interpreting LCZ data.


1. Installation

The LCZ4r package is available on GitHub and can be installed in two ways.
We recommend Option 1 for most users.

Option 1: Install from GitHub (Recommended)

This is the fastest way to get the latest version of the package.

::: callout-tip Prerequisite: If you already have remotes or devtools installed, you can skip this step. :::

if (!require("remotes")) { install.packages("remotes")}
# Install or update directly from GitHub
remotes::install_github("ByMaxAnjos/climasus4r", upgrade = "never")

::: callout-warning Updates: LCZ4r is under active development. To update, simply run the command above again. R will automatically overwrite the previous version. After updating, it is recommended to restart your R session (Session > Restart R). :::

Option 2: Install from Local File (.zip)

This option is recommended for: unstable internet connections, restricted networks (e.g., institutional environments), and training sessions with multiple users.

Steps:

  1. Download the package 👉 https://github.com/ByMaxAnjos/LCZ4r/archive/refs/heads/main.zip

  2. Extract the file 👉 After downloading, extract the .zip file to a local folder (e.g., Downloads or Desktop)

  3. Install locally

# IMPORTANT: Adjust the path to where you extracted the folder
remotes::install_local(
  "C:/Path/to/your/folder/LCZ4r-main", 
  upgrade = "never"
)

::: callout-tip Example: If you downloaded and extracted the file to your Downloads folder:

remotes::install_local(
   "/Users/maxanjos/Downloads/LCZ4r-main",
  upgrade = "never"
)

:::

Loading the package

After installation, load the package whenever you start a new R session:

library(LCZ4r)

--

Posit Cloud

(Click the image to explore the LCZ4r in Posit Cloud.)


Inspiration

The LCZ4r package is inspired by the following works:


Have Feedback or Suggestions?

We value your input! If you have ideas for improvement or spot any issues, please let us know by opening an issue on GitHub.

Open an Issue on GitHub

About

An R Package for Local Climate Zones and Urban Heat Island Analysis

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors