The purpose of this project is to find trends in crowdfunding campaigns. Some questions to be investigated include:
- What countries have the most successful campaigns?
- Which categories of campaigns have the most/least success?
- Any contacts trying to lead multiple campagins under different company names?
* ETL_Mini_project_JShulyak.ipynb -> Python script to extract, transform, and load data
* crowdfunding_db_schema.sql -> schema to build tables in PostgreSQL
* crowdfunding_exploration.sql -> data exploration through SQL queries
* Resources
* campaign.csv
* category.csv
* contacts.csv
* contacts.xlsx
* crowdfunding.xlsx
* subcategory.csv
* Images
* crowdfunding_db_ERD.png
* postgres_tables_select_statements.png
The crowdfunding.xlsx and contacts.xlsx files were loaded into Pandas Dataframes. The dataframes were cleaned and transformed into four organize dataframes. The transformations that occurred included breaking apart columns, converting the date data to datetime format, dropping unwanted fields, and creating primary keys. The transformed dataframes:
- category:
- category_id (string)
- category (string)
- subcategory:
- subcategory_id (string)
- subcategory (string)
- campaign:
- cf_id (integer)
- contact_id (integer)
- company_name (string)
- description (string)
- goal (float)
- pledged (float)
- backers_count (integer)
- country (string)
- currency (string)
- launch_date (date)
- end_date (date)
- category_id (string)
- subcategory_id (string)
- contact:
- contact_id (integer)
- first_name (string)
- last_name (string)
- email (string)
The four transformed dataframes were written as csv files to load into a PostgreSQL database.
Schema written in PostgreSQL to build and populate tables (one for each transformed csv).
Schema written to answer questions and explore data.
-
What countries have the most successful campaigns?
- The country with the most campaigns is the United States with 763 and the success rate of the campaigns is 57.14%.
- The country with the highest success rate is Great Britain with a rate of 58.33% for 48 campaigns.
- The country with the worst success rate is Canada with 50% out of 44 campaigns.
-
Which categories of campaigns have the most/least success?
- 100% of journalism campaigns have been successful, but there have only been 4 journalism campaigns total.
- Technology canpaigns are the next most successful with a success rate of 66.67% from a sample of 96 technology campaigns.
- Game campaigns have been the least successful with a success rate of 43.75% from a sample of 48 campaigns.
-
Any contacts trying to lead multiple campagins under different company names?
- There are not any scammers! There are not multiple campaigns with the same contact information. However, there are some companies with multiple campaigns.
-
There are companies with multiple campaigns. Did they have 2nd attempts at fundraising after intially failing?
- There are 24 companies with more than one campaign.
- Approximately 63% of the companies who started a second campaign had a successful first campaign.
- Of the 14 companies with a successful first campaign, only 8 had a successful second campaign.
- Of the 10 companies with a failed first campaign, 70% had a successful second campaign.