Skip to content

Instantly share code, notes, and snippets.

View BaseLayout.astro
---
import HeaderLayout from "./HeaderLayout.astro"
import FooterLayout from "./FooterLayout.astro"
const {title} = Astro.props;
---
<!doctype html>
<html lang="us-en">
<head>
<title>{title} | MITH</title>
<link rel="stylesheet" href="/styles/global.css" />
@trevormunoz
trevormunoz / load_and_migrate.py
Created May 3, 2021
Example usage of umd-mith/veefor
View load_and_migrate.py
#%%
from dataclasses import asdict, fields
from datetime import datetime
import pytz
import json
import re
from collections import Counter
import ulid
from pydantic import ValidationError
import lakeland_db_migrate_v4 as lv4
@trevormunoz
trevormunoz / finding-cluster-breaks.ipynb
Created Jul 23, 2017
Trying to find "bins" representing columns using math.
View finding-cluster-breaks.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View basic_plots_shared.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View genius-api.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / get-atl-base-geometries.ipynb
Created Mar 11, 2017
Exploring Python tools for geospatial data
View get-atl-base-geometries.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / mapzen_api_demo.ipynb
Created Mar 9, 2017
Using the Mapzen API to geocode locations
View mapzen_api_demo.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / geopandas_lyttonsville.ipynb
Last active Mar 6, 2017
Recalculating centroids using Geopandas
View geopandas_lyttonsville.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / crge_convert.ipynb
Created Nov 18, 2016
CRGE Intersectional Research Database scrape
View crge_convert.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trevormunoz
trevormunoz / kap-metadata-sample.json
Last active Aug 29, 2015
Sample KAP Project Metadata
View kap-metadata-sample.json
{
"creator_viaf_id": "56620604",
"shelfmark": {
"subseries": "6",
"box": "65",
"folder": "1",
"series": "1",
"item": "31"
},
"location": {