Git Product home page Git Product logo

mvde_rkosar's Introduction

What's in this repo?

This repo supports a presentation I gave to the fall 2023 Multivariate Density Estimation course at Rice university. It's about some software tools I wish I'd known more about in grad-school including:

  • spark
  • docker
  • r packaging
  • ray
  • git/github
  • sql
  • automated testing

How does the repo work?

I only covered half the topics as I split it with another alumnus. The repo is an example of using spark, docker, and ray to explore the tax filings of nonprofits. Here are the main pieces:

Parsing the data

  1. Run bash download_2023.sh to download the 2023 tax filings.
  2. Use either of python/parse_irs_xml.py or r/xml_benchmark.R to parse the data.
  3. The point of these files is to show that there are low-effort ways to greatly speed up parsing, not to be exemplary parsing code.

Further analysis using spark

Build an analysis docker

docker build --rm -t my_docker ./docker

Launch a local standalone spark cluster and the analysis image

docker-compose spark/docker-compose.yml up

Start an analysis shell

docker exec -it spark-rclient-1 /bin/bash

The data will be in the app directory. Play with the data as desired. There are some examples in r/spark_exploration.

mvde_rkosar's People

Contributors

r-kosar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.