Skip to content

Workshop materials for the October 23rd, 2024 workshop for MSGIC.

Notifications You must be signed in to change notification settings

R-ArcGIS/2024-10-23-msgic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to the R-ArcGIS Bridge

This repository contains the contents from MSGIC workshop hosted on October 23rd, 2024.

Getting started

The majority of the workshop focuses on the use of the {arcgis} metapackage. First, you must install the R packages.

install.packages(
  "arcgis",
  repos = c("https://r-arcgis.r-universe.dev", "https://cloud.r-project.org")
)

For more information, see our installation instructions here.

Additional packages that will be used in the workshop:

install.packages(c("shiny", "bslib", "leaflet", "bsicons", "dplyr", "ggplot2", "plotly", "lubridate"))

Downloading this repository

If you are familiar with Git and GitHub, please clone or fork the repository.

Otherwise, download the folder using this link.

  • Unzip the main.zip folder in a location you can find again.
    • Give the folder a meaningful name e.g. 2024-10-23-msgic
  • Open RStudio
  • Create a new project from Existing Directory
  • Select the folder you unzipped

You now how an RStudio project for this workshop.

Configuring your credentials

This workshop assumes you have an ArcGIS Online account with the ability to publish content.

You can get a 21 day trial here.

These steps below are described in detail on the documentation site Authentication Overview, Storing Credentials, and Authenticating with R.

  • Open the .Renviron file
  • Replace yourusername with the username you use to login to ArcGIS Online
  • Replace yourpassword with the password you use to sign into ArcGIS Online
  • Optionally, if you use ArcGIS Enterprise, uncomment ARCGIS_HOST and provide the url of your portal.
  • Save the file
  • Restart R

About

Workshop materials for the October 23rd, 2024 workshop for MSGIC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages