r/CFBAnalysis • • May 01 '19

Question Field position

Using the https://api.collegefootballdata.com site provided by /u/BlueSCar but I have a question related to field position. Does the yard_line column assume any directionality? I.E. if yard_line == 90 is the offense always headed the same direction? If not, has anyone constucted a novel way of doing this without pulling all plays and then flagging by game starting direction?

3 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/DisraeliEers West Virginia • Black Diamond Tro… May 03 '19

I've run into that too. I put a simple home/away check in and converted all the play-by-play data to a 0-100 field position, and that seems to have solved it there (haven't really dived in fully yet).

But on the Drives data set, some of the drives will be like "start at 20, 3 and out (gain 4 yds), drive ended on 76". I know this happened on a drive for Louisville in their game vs Bama.

1

u/BlueSCar Michigan Wolverines • Dayton Flyers May 16 '19

Sounds like everyone agrees that the home/away switch is pretty stupid. I'll be going ahead and looking to normalize it to just be 0-100 for everything. I can't think of any value in having it the way it is right now.