Skip to content

Instantly share code, notes, and snippets.

View dwilson1988's full-sized avatar

Daniel WIlson dwilson1988

View GitHub Profile
@dwilson1988
dwilson1988 / parcel_datasets.py
Last active December 26, 2023 19:05
Parcel Datasets
import geodesic
_ = geodesic.set_active_project('test')
# Create a dataset from a flat GeoJSON file of Cook County Parcels
parcels_dataset = geodesic.Dataset.from_tabular_data(
name="cook-county-parcels",
alias="Cook County Parcel Data",
description="Parcel Data (polygons) for Cook County",
url="gs://geodesic-data/datasets/cook-county-parcels/cook_county_parcels_2022.geojson",
feature_limit=10000
### Keybase proof
I hereby claim:
* I am dwilson1988 on github.
* I am harenil (https://keybase.io/harenil) on keybase.
* I have a public key ASAQW-XXxAB4_Y3TI0fqod1Rwk3wfk-7z_jSWrVyN-xqMQo
To claim this, I am signing this object:
@dwilson1988
dwilson1988 / episode_200.gif
Last active July 31, 2018 14:55
rl_example
episode_200.gif
val stringify = udf(
(vs: Seq[String]) => {
val str = Option(vs)
.getOrElse(Seq(""))
.mkString("|")
s"""${str}"""
}
)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.