Giter Site home page Giter Site logo

gofundme's Introduction

GoFundMe

This is an ongoing project (I need to refactor code and add more documentation) to examine what types of GoFundMe projects are successful as well which GoFundMe pages are scams or undeserving of donations. GoFundMe does not provide an API for obtaining data from GoFundMe pages; therefore, this project is a web scraper utilizing selenium and chromedriver to navigate through the GoFundMe website to extract the top GoFundMe urls. I then use requests and BeautifulSoup to parse the raw html of each url in a systematic fashion. I can either directly extract information from the urls using regex and BeautifulSoup, or engineer features for the dataset (such as getting the latitudes and longitudes from the city where the user has created the GoFundMe).

The dataset can be accessed easily either by downloading raw tab-delimited GFM_data.csv or by loading the clean_GFM_data.RData file by installing the R package (to include roxygen2 documentation) with the following command:

devtools::install_github("lmeninato/GoFundMe")

A lot of information can be found on every GoFundMe url. Here is a sample GFM page: sample GFM url

From this we can extract several data points, such as the number of "hearts" a page has, how much money was fundraised by how many different people, text summarizing the cause of the fundraising, etc. Here I highlight how this can be done:

sample scrape of url

As long as the information is in a consistent location for each url (extracted by navigating the GoFundMe website using selenium for each category) I can have various attributes for each observation (each scraped url).

gofundme's People

Contributors

liebscher avatar lmeninato avatar

Watchers

 avatar  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.