https://github.com/aariq/cupcakes-vs-muffins

Are cupcakes empirically different than muffins? Let's find out!

https://github.com/aariq/cupcakes-vs-muffins

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.2%) to scientific vocabulary

Keywords

data-wrangling multivariate-data recipes webscraping
Last synced: 6 months ago · JSON representation

Repository

Are cupcakes empirically different than muffins? Let's find out!

Basic Info
  • Host: GitHub
  • Owner: Aariq
  • Default Branch: master
  • Size: 1.34 MB
Statistics
  • Stars: 1
  • Watchers: 3
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
data-wrangling multivariate-data recipes webscraping
Created about 8 years ago · Last pushed about 3 years ago
Metadata Files
Readme

README.md

Cupcakes vs. Muffins

Are cupcakes empirically different than muffins? Let's find out!

This repository contains the following R notebooks:

  1. 1-web-scraping.Rmd: Contains code for scraping ingredients lists, calories, and numbers of servings from www.allrecipes.com for both cupcakes and muffins. Exports muffin_raw.rds and cupcake_raw.rds
  2. 2-wrangling.Rmd: Extracts ingredients, units, and amounts from raw ingredient lists. Converts amounts/units of all ingredients into cups or ounces. Filters data in various ways to ensure integrity of data. Imports muffin_raw.rds and cupcake_raw.rds, exports recipes_tidy.rds and nofrosting_tidy.rds
  3. 3-EDA-outlier-removal.Rmd: Does some exploratory data analysis to detect anomalies and outliers. Exports recipes_wide.rds

And the following .rds files:

  1. cupcake_raw.rds: a list of data frames of raw ingredients lists, servings, and calories from cupcake recipes.
  2. muffin_raw.rds: a list of data frames of raw ingredients lists, servings, and calories from muffin recipes.
  3. recipes_tidy.rds: finalized dataframe containing all acceptable muffin and cupcake recipes with ingredients categorized and amounts summarized by recipe (e.g. if there are two kinds of sugar, they are added together). This dataframe also contains number of servings and calories.
  4. nofrosting_tidy.rds: obviously cupcakes have frosting and muffins do not. In this dataset, frosting and decoration ingredients are removed, as is the calories column since it is no longer accurate.
  5. recipes_wide.rds: A wide data frame (each ingredient in its own column) ready for multivariate analysis.
  6. nofrosting_wide.rds: A wide version of nofrosting_tidy.rds.

Owner

  • Name: Eric R. Scott
  • Login: Aariq
  • Kind: user
  • Company: University of Arizona, @cct-datascience

Scientific Programmer & Educator at University of Arizona

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels