Skip to content

JKolodny/BaseballFaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

image

Motivation

  • Lately, when trying to work on sports analytics projects, I realize that a big bottleneck (at least for me) is getting my hands on data. In effect, this makes it so that when I want to start a project, I try to re-learn a little about web scraping for a day or two, and then quit soon after that.

  • The value I'm trying to create here is the ability to generate simple, probably not great, but reasonable fake data for use in projects before committing to developing web scraping pipelines.

Usage

Open In Colab

from baseballfaker.baseball import batting

batting(CAREER_LENGTH=10, 
        skill_level=.9)
  • Example Output:
    • see example.ipynb:
      • image

License

License: MIT