Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
218 changes: 109 additions & 109 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,109 +1,109 @@
# D-Lab [WorkshopName] Workshop

[![DataHub](https://img.shields.io/badge/launch-datahub-blue)](DATAHUB_LINK_HERE)
[![Binder](https://mybinder.org/badge_logo.svg)](BINDER_LINK_HERE)
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC_BY_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)

This repository contains the materials for D-Lab [WorkshopName] workshop. We
recommend attending [D-LabWorkshop1](D-LabWorkshop1Link),
[D-LabWorkshop2](D-LabWorkshop2Link), and
[AdditionalWorkshopsAsNeeded](LinksToWorkshops) prior to this workshop.

## Workshop Goals

In this workshop, we provide [WorkshopGoal]. First, we’ll cover [Aim1]. Then,
we’ll explore [Aim2].

_Only if necessary:_ If you are not familiar with material in
[D-LabWorkshop1](D-LabWorkshop1Link), [D-LabWorkshop2](D-LabWorkshop2Link), and
[AdditionalWorkshopsAsNeeded](LinksToWorkshops), we recommend attending those
workshops first.

## Learning Objectives

After this workshop, you will be able to:

- [LearningObjective1].
- [LearningObjective2].
- [LearningObjective3].

This workshop does not cover the following:

- [NotCovered1]. These are covered in [D-LabWorkshopName](URL).
- [NotCovered2]. These are covered in [D-LabWorkshopName](URL).


## Installation Instructions

We will use [RStudio/Python] to go through the workshop materials, which requires installation of [Software]. Complete the following steps:

1. This step(s) details software to download, with a link.
2. Download these workshop materials:
* Click the green "Code" button in the top right of the repository information.
* Click "Download Zip".
* Extract this file to a folder on your computer where you can easily access it (we recommend Desktop).
3. Optional: if you’re familiar with git, you can instead clone this repository by opening a terminal and entering [GitCloneCommand].

## Is [Language] not Working on Your Computer?

If you do not have [Language] installed and the materials loaded on your
workshop by the time it starts, we *strongly* recommend using the UC Berkeley
Datahub to run the materials for these lessons. You can access the DataHub by
clicking the following button:

[![DataHub](https://img.shields.io/badge/launch-datahub-blue)](DATAHUB_LINK_HERE)

The DataHub downloads this repository, along with any necessary packages, and
allows you to run the materials in an RStudio instance on UC Berkeley's servers.
No installation is necessary from your end - you only need an internet browser
and a CalNet ID to log in. By using the DataHub, you can save your work and come
back to it at any time. When you want to return to your saved work, just go
straight to the [D-Lab DataHub](https://dlab.datahub.berkeley.edu), sign in, and
you click on the `[Workshop-Name]` folder.

If you don't have a Berkeley CalNet ID, you can still run these lessons in the cloud, by clicking this button:

[![Binder](https://mybinder.org/badge_logo.svg)](BINDER_LINK_HERE)

By using this button, however, you cannot save your work.


## Run the Code

Now that you have all the required software and materials, you need to run the code:

Provide instructions on running the code, including how to load relevant software (RStudio, Jupyter Notebooks, etc.) and which file to open up. See other repositories for examples.

Additionally, provide instructions on how to run code once it’s open (running Jupyter cells, RMarkdown cells, etc.).

# Additional Resources

Check out the following resources to learn more about [Workshop topics]:

* [Resource1](LinkToResource1): _Explain Resource 1_
* [Resource2](LinkToResource2): _Explain Resource 2_
* [...]


# About the UC Berkeley D-Lab

D-Lab works with Berkeley faculty, research staff, and students to advance data-intensive social science and humanities research. Our goal at D-Lab is to provide practical training, staff support, resources, and space to enable you to use R for your own research applications. Our services cater to all skill levels and no programming, statistical, or computer science backgrounds are necessary. We offer these services in the form of workshops, one-to-one consulting, and working groups that cover a variety of research topics, digital tools, and programming languages.

Visit the [D-Lab homepage](https://dlab.berkeley.edu/) to learn more about us. You can view our [calendar](https://dlab.berkeley.edu/events/calendar) for upcoming events, learn about how to utilize our [consulting](https://dlab.berkeley.edu/consulting) and [data](https://dlab.berkeley.edu/data) services, and check out upcoming [workshops](https://dlab.berkeley.edu/events/workshops).

# Other D-Lab [Language] Workshops

Here are other [Language] workshops offered by the D-Lab:

## Basic Competency

**Provide a list of workshops here.**

## Intermediate/Advanced Competency

**Provide a list of workshops here.**

# Contributors

**Provide a list of contributors here, with links to their webpages (D-Lab or
private).**
# D-Lab Python Geospatial Workshop
[![DataHub](https://img.shields.io/badge/launch-datahub-blue)](https://datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fmeiqingli%2FPython-Geospatial-Fundamentals-Pilot&branch=main&urlpath=tree%2FPython-Geospatial-Fundamentals-Pilot%2F)
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC_BY_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
This repository contains the materials for D-Lab [WorkshopName] workshop. We
recommend attending [D-LabWorkshop1](D-LabWorkshop1Link),
[D-LabWorkshop2](D-LabWorkshop2Link), and
[AdditionalWorkshopsAsNeeded](LinksToWorkshops) prior to this workshop.
## Workshop Goals
In this workshop, we provide [WorkshopGoal]. First, we’ll cover [Aim1]. Then,
we’ll explore [Aim2].
_Only if necessary:_ If you are not familiar with material in
[D-LabWorkshop1](D-LabWorkshop1Link), [D-LabWorkshop2](D-LabWorkshop2Link), and
[AdditionalWorkshopsAsNeeded](LinksToWorkshops), we recommend attending those
workshops first.
## Learning Objectives
After this workshop, you will be able to:
- Recognize different forms of geospatial data and coordinate reference system (CRS).
- Use `GeoPandas` and `matplotlib` libraries to map and analyze spatial data.
- Apply more advanced Python libraries for interactive visualization.
- Choose domain-specific spatial datasets to create your own maps.
This workshop does not cover the following:
- [NotCovered1]. These are covered in [D-LabWorkshopName](URL).
- [NotCovered2]. These are covered in [D-LabWorkshopName](URL).
## Installation Instructions
We will use Python to go through the workshop materials, which requires installation of [Software]. Complete the following steps:
1. This step(s) details software to download, with a link.
2. Download these workshop materials:
* Click the green "Code" button in the top right of the repository information.
* Click "Download Zip".
* Extract this file to a folder on your computer where you can easily access it (we recommend Desktop).
3. Optional: if you’re familiar with git, you can instead clone this repository by opening a terminal and entering [GitCloneCommand].
## Is [Language] not Working on Your Computer?
If you do not have [Language] installed and the materials loaded on your
workshop by the time it starts, we *strongly* recommend using the UC Berkeley
Datahub to run the materials for these lessons. You can access the DataHub by
clicking the following button:
[![DataHub](https://img.shields.io/badge/launch-datahub-blue)](https://datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fmeiqingli%2FPython-Geospatial-Fundamentals-Pilot&branch=main&urlpath=tree%2FPython-Geospatial-Fundamentals-Pilot%2F)
The DataHub downloads this repository, along with any necessary packages, and
allows you to run the materials in an RStudio instance on UC Berkeley's servers.
No installation is necessary from your end - you only need an internet browser
and a CalNet ID to log in. By using the DataHub, you can save your work and come
back to it at any time. When you want to return to your saved work, just go
straight to the [D-Lab DataHub](https://dlab.datahub.berkeley.edu), sign in, and
you click on the `[Workshop-Name]` folder.
If you don't have a Berkeley CalNet ID, you can still run these lessons in the cloud, by clicking this button:
[![Binder](https://mybinder.org/badge_logo.svg)](BINDER_LINK_HERE)
By using this button, however, you cannot save your work.
## Run the Code
Now that you have all the required software and materials, you need to run the code:
Provide instructions on running the code, including how to load relevant software (RStudio, Jupyter Notebooks, etc.) and which file to open up. See other repositories for examples.
Additionally, provide instructions on how to run code once it’s open (running Jupyter cells, RMarkdown cells, etc.).
# Additional Resources
Check out the following resources to learn more about [Workshop topics]:
* [Resource1](LinkToResource1): _Explain Resource 1_
* [Resource2](LinkToResource2): _Explain Resource 2_
* [...]
# About the UC Berkeley D-Lab
D-Lab works with Berkeley faculty, research staff, and students to advance data-intensive social science and humanities research. Our goal at D-Lab is to provide practical training, staff support, resources, and space to enable you to use R for your own research applications. Our services cater to all skill levels and no programming, statistical, or computer science backgrounds are necessary. We offer these services in the form of workshops, one-to-one consulting, and working groups that cover a variety of research topics, digital tools, and programming languages.
Visit the [D-Lab homepage](https://dlab.berkeley.edu/) to learn more about us. You can view our [calendar](https://dlab.berkeley.edu/events/calendar) for upcoming events, learn about how to utilize our [consulting](https://dlab.berkeley.edu/consulting) and [data](https://dlab.berkeley.edu/data) services, and check out upcoming [workshops](https://dlab.berkeley.edu/events/workshops).
# Other D-Lab [Language] Workshops
Here are other [Language] workshops offered by the D-Lab:
## Basic Competency
**Provide a list of workshops here.**
## Intermediate/Advanced Competency
**Provide a list of workshops here.**
# Contributors
**Provide a list of contributors here, with links to their webpages (D-Lab or
private).**
57 changes: 57 additions & 0 deletions data/California_County_Boundaries/California_County_Boundaries.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?><metadata>
<idinfo>
<descript>
<abstract>In late 1996, the Dept of Conservation (DOC) surveyed state
and federal agencies about the county boundary coverage they used. As a
result, DOC adopted the 1:24,000 (24K) scale U.S. Bureau of Reclamation
(USBR) dataset (USGS source) for their Farmland Mapping and Monitoring
Program (FMMP) but with several modifications. Detailed documentation of
these changes is provided by FMMP and included in the lineage section
of the metadata.A
dataset was made available (approximately 2004) through CALFIRE - FRAP
and the California Spatial Information Library (CaSIL), with additional
updates throughout subsequent years. More recently, an
effort was made to improve the coastal linework by using the previous
interior linework from the 24k data, but replacing the coastal linework
based on NOAA's ERMA coastal dataset (which used NAIP 2010). In
this dataset, all bays (plus bay islands and constructed features) are
merged into the mainland, and coastal features (such as islands and
constructed features) are not included, with the exception of the
Channel Islands which ARE included.This service represents the latest released version, and is updated when new versions are released. As of June, 2019 it
represents cnty19_1.</abstract>
<purpose>California County Boundaries. This layer provides an initial offering as "best available" at 1:24,000 scale. Hosted on CAL FIRE AGOL.</purpose>
</descript>
<keywords>
<theme>
<themekt>None</themekt>
<themekey>California</themekey>
<themekey>Counties</themekey>
<themekey>County</themekey>
<themekey>CAL FIRE</themekey>
<themekey>FRAP</themekey>
<themekey>Boundaries</themekey>
<themekey>Boundaries and Ownership</themekey>
<themekey>CAOpenData</themekey>
<themekey>California Department of Forestry and Fire Protection</themekey>
</theme>
</keywords>
<accconst>None</accconst>
<useconst>The State of California and the Department of Forestry and
Fire Protection make no representations or warranties regarding the accuracy of data or maps.
Neither the State nor the Department shall be liable under any circumstances for any direct, special,
incidental, or consequential damages with respect to any claim by any user or third party on account of,
or arising from, the use of data or maps.
For more information about this product, date or terms of use,
contact calfire.egis@fire.ca.gov.



</useconst>
<datacred>U.S. Bureau of Reclamation, California Department of Conservation, California Department of Fish and Game, California Department of Forestry and Fire Protection, National Oceanic and Atmospheric Administration </datacred>
</idinfo>
<metainfo>
<metstdn>FGDC Content Standard for Digital Geospatial Metadata</metstdn>
<metstdv>FGDC-STD-001-1998</metstdv>
<mettc>local time</mettc>
</metainfo>
</metadata>
1 change: 1 addition & 0 deletions data/California_County_Boundaries/cnty19_1.cpg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UTF-8
Binary file added data/California_County_Boundaries/cnty19_1.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions data/California_County_Boundaries/cnty19_1.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]
Binary file added data/California_County_Boundaries/cnty19_1.shp
Binary file not shown.
Binary file added data/California_County_Boundaries/cnty19_1.shx
Binary file not shown.
1 change: 1 addition & 0 deletions data/alameda_county.cpg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ISO-8859-1
Binary file added data/alameda_county.dbf
Binary file not shown.
7 changes: 7 additions & 0 deletions data/alameda_county.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions data/alameda_county.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]
Binary file added data/alameda_county.shp
Binary file not shown.
Binary file added data/alameda_county.shx
Binary file not shown.
Empty file removed data/dataset.csv
Empty file.
Binary file added images/Berkeley Map.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/CRS.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/UC Berkeley.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/projected-coordinate-systems.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/raster_vector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading