Skip to content

Instantly share code, notes, and snippets.

View lecy's full-sized avatar

Jesse Lecy lecy

View GitHub Profile
@lecy
lecy / ValidateOpen311GeoReportBulk.r
Created December 15, 2022 19:41 — forked from technickle/ValidateOpen311GeoReportBulk.r
R validator script for Open311 GeoReport Bulk specification compatibility
# this R script evaluates a data file for compatibility with the Open311 GeoReport Bulk specification.
# see here for the most recent version of the specification:
# http://wiki.open311.org/GeoReport/bulk
#
# it implements nearly all of the checks identified in this document
# https://docs.google.com/document/d/1GLRniiT3xvmG-i6PPeZPZDK_FhBDGCpuVh5fCexEiys/preview
# however, it is very bare bones and the results need to be interpreted.
#
# written by Andrew Nicklin (@technickle) with contributions from the Open311 community.
#
@lecy
lecy / datausa_census_api.md
Last active August 29, 2022 14:54
Building Census Dataset in R Using datausa.io API

Using the dataUSA.io API for Census Data in R

This gist contains some notes on constructing a query for census and economic data from the DataUSA.io site. This is a quick-start guide to their API; for in-depth documentation check out their API documentation.

A great way to learn how to structure a query is to visit a specific datausa.io page and click on the "Options" button on top of any graph, then select "API" to see the query syntax that created the graph.

Analytics

Example Use

@lecy
lecy / Downtown_Syracuse.geojson
Created July 22, 2016 18:30
Tax parcel data for downtown Syracuse, NY
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lecy
lecy / Regression_in_R.Rmd
Last active July 15, 2016 16:11
Example of basic regression functions in R
---
title: "Regression in R"
output: html_notebook: default
---
# create some fake data