Running LCZ4r in Posit Cloud
Max Anjos
March 10, 2025
Source:vignettes/posit_cloud.Rmd
posit_cloud.Rmd
Welcome to the LCZ4r package demonstration on Posit Cloud! This guide will walk you through the steps to run LCZ4r and explore its powerful tools for Local Climate Zone (LCZ) analysis.
Getting Started
To run LCZ4r in Posit Cloud, follow these steps:
1. Access the Posit Workspace: Click on the following link to access the LCZ4r workspace: LCZ4r::demo General and Local Functions: https://posit.cloud/content/9921467
2. Log in or create an account (It’s free!):
If you don’t already have a Posit Cloud account, create one. Log in to your account to access the workspace.
3. Make a Permanent Copy:
Make sure to make a Permanent Copy of the project and workspace in your Posit Cloud account.
4. Explore the R Scripts: The project contains three R scripts:
general_functions.R: Demonstrates general functions for LCZ analysis, such as downloading and visualizing LCZ maps.
local_functions.R: Focuses on localized LCZ analysis, including advanced geostatistical methods.
modelling_temperature.R: Focuses on temperature interpolation and Urban Heat Island analysis.
5.Run the Scripts:
The LCZ4r package and all dependencies are already installed in the Posit Cloud environment, so you’re ready to go!
Simply open the scripts, run the code, and explore the results.