{"id":46415911,"url":"https://github.com/ucdavisdatalab/workshop_coordinate_reference_systems","last_synced_at":"2026-03-05T14:14:37.423Z","repository":{"id":117059534,"uuid":"360276654","full_name":"ucdavisdatalab/workshop_coordinate_reference_systems","owner":"ucdavisdatalab","description":"DEPRECIATED - This workshop discusses coordinate reference systems (projections) and gives examples in R. It can be expanded to give examples in other tools.","archived":false,"fork":false,"pushed_at":"2023-09-21T19:08:17.000Z","size":22336,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-01-29T20:42:12.200Z","etag":null,"topics":["coordinate-reference-system","gis","gis-data","projections","r","spatial-data"],"latest_commit_sha":null,"homepage":"https://ucdavisdatalab.github.io/workshop_coordinate_reference_systems/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ucdavisdatalab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-04-21T19:00:03.000Z","updated_at":"2023-09-21T19:07:11.000Z","dependencies_parsed_at":"2023-09-25T06:57:22.098Z","dependency_job_id":null,"html_url":"https://github.com/ucdavisdatalab/workshop_coordinate_reference_systems","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"4f32e419b29227621b97c7d61b71441fabea2149"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ucdavisdatalab/workshop_coordinate_reference_systems","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucdavisdatalab%2Fworkshop_coordinate_reference_systems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucdavisdatalab%2Fworkshop_coordinate_reference_systems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucdavisdatalab%2Fworkshop_coordinate_reference_systems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucdavisdatalab%2Fworkshop_coordinate_reference_systems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ucdavisdatalab","download_url":"https://codeload.github.com/ucdavisdatalab/workshop_coordinate_reference_systems/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucdavisdatalab%2Fworkshop_coordinate_reference_systems/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30130037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T12:40:50.676Z","status":"ssl_error","status_checked_at":"2026-03-05T12:39:32.209Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coordinate-reference-system","gis","gis-data","projections","r","spatial-data"],"created_at":"2026-03-05T14:14:36.632Z","updated_at":"2026-03-05T14:14:37.408Z","avatar_url":"https://github.com/ucdavisdatalab.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"**UPDATE:** This workshop is no long being developed here. Please use the [Projections Workshop](https://github.com/ucdavisdatalab/workshop-projections) instead.\n\n# Workshop: Coordinate Reference Sytems\n\n_[UC Davis DataLab](https://datalab.ucdavis.edu/)_  \n_Spring 2021_  \n_Instructor: Michele Tobias, PhD \u003c\u003cmmtobias@ucdavis.edu\u003e\u003e_  \n\n* [Reader](https://ucdavisdatalab.github.io/workshop_coordinate_reference_systems/)\n* [Event Page](https://datalab.ucdavis.edu/eventscalendar/maptimedavis-projected-coordinate-systems-in-r/)\n\n## Description \nIn this workshop, participants will learn about projected coordinate reference systems (CRS, commonly called “projections”) and how to apply them in R to spatial data. We will discuss the components of a CRS, how to apply them, how to translate your data into a different CRS, and how to choose a CRS.\n\n## Learning Objectives\nBy the end of this workshop, participants will have a better understanding of what a projected coordinate system is, why you would choose one over another, and how to apply them correctly to geospatial data in R.\n\n## Prerequisites\nParticipants should have a basic understanding of R (for example, be able to create variables and load common data formats like a CSV) and a basic understanding of GIS data formats (e.g., raster and vector data). Participants should also install R and RStudio.\n\n\n## Contributing\n\nThe course reader is a live webpage, hosted through GitHub, where you can enter\ncurriculum content and post it to a public-facing site for learners.\n\nTo make alterations to the reader:\n\n1.  Run `git pull`, or if it's your first time contributing, see\n    [Setup](#setup).\n\n2.  Edit an existing chapter file or create a new one. Chapter files are R\n    Markdown files (`.Rmd`) at the top level of the repo. Enter your text,\n    code, and other information directly into the file. Make sure your file:\n\n    - Follows the naming scheme `##_topic-of-chapter.Rmd` (the only exception\n      is `index.Rmd`, which contains the reader's front page).\n    - Begins with a first-level header (like `# This`). This will be the title\n      of your chapter. Subsequent section headers should be second-level\n      headers (like `## This`) or below.\n    - Uses caching for resource-intensive code (see [Caching](#caching)).\n\n    Put any supporting resources in `data/` or `img/`. For large files, see\n    [Large Files](#large-files). You do not need to\n    add resources generated by your R code (such as plots). The knit step saves\n    these in `docs/` automatically.\n\n3.  Run `knit.R` to regenerate the HTML files in the `docs/`. You can do this\n    in the shell with `./knit.R` or in R with `source(\"knit.R\")`.\n\n4.  Run `renv::snapshot()` in an R session at the top level of the repo to\n    automatically add any packages your code uses to the project package\n    library.\n\n5.  When you're finished, `git add`:\n    - Any files you added or edited directly, including in `data/` and `img/`\n    - `docs/` (all of it)\n    - `_bookdown_files/` (contains the **knitr** cache)\n    * `renv.lock` (contains the **renv** package list)\n    - `.gitattributes` (contains the Git LFS file list)\n\n    Then `git commit` and `git push`. The live web page will update\n    automatically after 1-10 minutes.\n\n\n### Caching\n\nIf one of your code chunks takes a lot of time or memory to run, consider\ncaching the result, so the chunk won't run every time someone knits the\nreader. To cache a code chunk, add `cache=TRUE` in the chunk header. It's\nbest practice to label cached chunks, like so:\n\n````\n```{r YOUR_CHUNK_NAME, cache=TRUE}\n# Your code...\n```\n````\n\nCached files are stored in the `_bookdown_files/` directory. If you ever want\nto clear the cache, you can delete this directory (or its subdirectories).\nThe cache will be rebuilt the next time you knit the reader.\n\nBeware that caching doesn't work with some packages, especially packages that\nuse external libraries. Because of this, it's best to leave caching off for\ncode chunks that are not resource-intensive.\n\n\n### Large Files\n\nIf you want to include a large file (say over 1 MB), you should use git LFS.\nYou can register a large file with git LFS with the shell command:\n\n```sh\ngit lfs track YOUR_FILE\n```\n\nThis command updates the `.gitattributes` file at the top level of the repo. To\nmake sure the change is saved, you also need to run:\n\n```sh\ngit add .gitattributes\n```\n\nNow that your large is registered with git LFS, you can add, commit, and push\nthe file with git the same way you would any other file, and git LFS will\nautomatically intercede as needed.\n\nGitHub provides 1 GB of storage and 1 GB of monthly bandwidth free per repo for\nlarge files. If your large file is more than 50 MB, check with the other\ncontributors before adding it.\n\n\n## Setup\n\n\n### Git LFS\n\nThis repo uses [Git Large File Storage][git-lfs] (git LFS) for large files. If\nyou don't have git LFS installed, [download it][git-lfs] and run the installer.\nThen in the shell (in any directory), run:\n\n```sh\ngit lfs install\n```\n\nThen your one-time setup of git LFS is done. Next, clone this repo with `git\nclone`. The large files will be downloaded automatically with the rest of the\nrepo.\n\n[git-lfs]: https://git-lfs.github.com/\n\n\n### R Packages\n\nThis repo uses [**renv**](https://rstudio.github.io/renv/) for package\nmanagement. Install **renv** according to the installation instructions on\ntheir website.\n\nThen open an R session at the top level of the repo and run:\n\n```r\nrenv::restore()\n```\n\nThis will download and install the correct versions of all the required\npackages to **renv**'s package library. This is separate from your global R\npackage library and will not interfere with other versions of packages you have\ninstalled.\n\n[Back to Top](#top)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucdavisdatalab%2Fworkshop_coordinate_reference_systems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fucdavisdatalab%2Fworkshop_coordinate_reference_systems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucdavisdatalab%2Fworkshop_coordinate_reference_systems/lists"}