Skip to content

Instantly share code, notes, and snippets.

View blu3r4d0n's full-sized avatar

Philip Nelson blu3r4d0n

View GitHub Profile
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Philip Nelson",
"label": "Data Analyst & IT Specialist",
"email": "[email protected]",
"summary": "Results-driven Data Analyst and IT Specialist with expertise in automation, data analysis, and cloud technologies. Proven ability to streamline workflows, improve data accessibility, and drive data-driven decision-making.",
"location": {
"countryCode": "US",
"region": "South Carolina"
@blu3r4d0n
blu3r4d0n / get_opinion_parties.py
Last active August 11, 2024 04:46
This is a quick and dirty script to get a dataframe of parties to SC Supreme Court cases that have filed opinions. This is the first step to extracting information about opinions filed by the Court. NOT ALL EDGE CASES ARE HANDLED YET.
import pandas as pd
import requests
from io import BytesIO
import urllib
from pathlib import Path
import pdfplumber
headers = {'user-agent': 'INSERT YOUR DESIRED USER AGENT HERE'):
def extract_text_between(start_text, stop_text, full_text):
start_index = full_text.find(start_text) + len(start_text)
@blu3r4d0n
blu3r4d0n / get_contributions.py
Created April 3, 2023 02:27
Dump SC Ethics Filing campaign contributions
import requests
url = "https://ethicsfiling.sc.gov/api/Candidate/Contribution/Search/"
payload = {
"amountMin": 0,
"amountMax": 0,
"officeRun": "",
"candidate": "",
"contributorName": "",
"contributorOccupation": "",
"contributionDescription": "",
@blu3r4d0n
blu3r4d0n / whole-foods-geocode.json
Created March 27, 2022 21:06
Whole Foods geojson layer
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.