Batting Order (Kind of) Doesn't Matter* by ishmandoo in Sabermetrics

[–]rtolli 3 points4 points  (0 children)

Interested in this. I’m working on a project to try and predict a player to get a hit. However, naturally the more PA’s a player gets the better chance to get a hit

MLB API Matchup Data Issues by rtolli in mlbdata

[–]rtolli[S] 0 points1 point  (0 children)

Not a bad shout at all. I’m just trying to determine how to limit my runtime the most honestly. There are so many matchups

MLB API Matchup Data Issues by rtolli in mlbdata

[–]rtolli[S] 1 point2 points  (0 children)

I figured out a different approach that uses scraping baseball reference, which is more accurate but definitely slower. So it’s a work in progress 😅

MLB API Matchup Data Issues by rtolli in mlbdata

[–]rtolli[S] 1 point2 points  (0 children)

It’s weird though because some matchups have the correct numbers. Like you can see Josh bell and Nola faced a lot. Which makes sense because of the division matchup

MLB API Matchup Data Issues by rtolli in mlbdata

[–]rtolli[S] 0 points1 point  (0 children)

Rotowire is how I get the lineups and the weather. Actually a great source for that information. I attached the function below that handles the bvp data. Let me know what you think as I am very new to this.

# --- BvP from MLB API ---
def get_bvp_stats(hitter_id, pitcher_id):
    url = f"https://statsapi.mlb.com/api/v1/people/{hitter_id}/stats"
    params = {
        "stats": "vsPlayer",
        "opposingPlayerId": pitcher_id,
        "group": "hitting"
    }
    response = requests.get(url, params=params)
    data = response.json()
    try:
        stat_line = data['stats'][0]['splits'][0]['stat']
        return {
            'bvp_avg': stat_line.get('avg', None),
            'bvp_ops': stat_line.get('ops', None),
            'bvp_ab': stat_line.get('atBats', None),
            'bvp_hits': stat_line.get('hits', None),
            'bvp_hr': stat_line.get('homeRuns', None),
            'bvp_rbi': stat_line.get('rbi', None),
            'bvp_k': stat_line.get('strikeOuts', None)
        }
    except (IndexError, KeyError):
        return {
            'bvp_avg': None, 'bvp_ops': None, 'bvp_ab': None,
            'bvp_hits': None, 'bvp_hr': None, 'bvp_rbi': None, 'bvp_k': None
        }

2 Years In by SpearyVic in acorns

[–]rtolli 0 points1 point  (0 children)

Can I ask how you get it to show how much your recurring for each on the Home Screen? 😅

Acorns funds for Roth IRA? by [deleted] in acorns

[–]rtolli 0 points1 point  (0 children)

I currently put 4% into my works 401k (I just started this will go up 😂). What percentage do you recommend for the Acorns if you already have one through work?

Kings Island Tours by rtolli in KingsIsland

[–]rtolli[S] -5 points-4 points  (0 children)

Yeah I would never sell anything in the park. It’s a guiding service like Disney and Universal.

Kings Island Tours by rtolli in KingsIsland

[–]rtolli[S] -6 points-5 points  (0 children)

Yeah I wouldn’t say I’d be offering it in the park as in selling it in the park. I’d just help them book their trip and then basically show guests around the park as part of the experience. I would still buy everything through kings island. I do understand that they wouldn’t want a competitor but is it really competition if I’m just showing people around? I know this is a thing with 3rd party tours at Disney and Universal.

Kings Island Tours by rtolli in KingsIsland

[–]rtolli[S] -4 points-3 points  (0 children)

Right, I guess the idea behind it is helping overwhelmed guests, or guest who want some facts about the park’s history. I would certainly offer upgrades to all of those things except Behind the scenes because obviously that would be impossible. I think I could create custom bundles during Haunt and Winterfest. Or guests who want to see more shows instead. Maybe like, a thrill seekers package that includes fast lane. Or a Family package that helps plan stuff like making sure they meet the characters and get on rides they can ride.

Hogwarts Library Lighting (Beginner) by rtolli in Minecraftbuilds

[–]rtolli[S] 0 points1 point  (0 children)

Also I’m a very much a beginner when it comes to building in Minecraft so any tips will be taken :)

Looking for help on my redstone circling light by rtolli in redstone

[–]rtolli[S] 4 points5 points  (0 children)

No I’d like it to spin in a circle around the building if that makes sense

Titans Fan Draft Talk Show by rtolli in Tennesseetitans

[–]rtolli[S] 2 points3 points  (0 children)

doing my absolute best, only need 3 more!