Filter for when position X raised pre flop?

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Filter for when position X raised pre flop?

Postby Zangeeph » Sat Jul 30, 2011 4:58 pm

For a custom report (holdem tournament) I want to only see player statistics where position X raised first in (I would input X). I've been unable to figure out how to do this the way I wanted using the standard pokertracker filters. I think I would need a filter expression of some kind. How could this be done?
Zangeeph
 
Posts: 205
Joined: Thu Jun 23, 2011 6:27 pm

Re: Filter for when position X raised pre flop?

Postby WhiteRider » Sun Jul 31, 2011 4:10 am

Assuming that you mean stats for a player when a different player raises first in from position X... (?)

This can't be done in PT3, but will be possible in PT4.
In PT3 we only have information about the position of the last player to raise, not the first.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Filter for when position X raised pre flop?

Postby Zangeeph » Sun Jul 31, 2011 8:07 am

I just have a general report for VPIP, PFR etc, for all players and I want to see how those change when it's known that a player from position X raises first in. Isn't there a way to filter it out using the RFI stat? Something like "If position=X and RFI = true, include statistics for this hand, else exclude statistics from this hand". But I don't yet understand how pokertracker 3 language works. With that filter expresssioin I believe could use the standard pokertracker filter "Position = X" to get statistics for that particular player if i desired.
Zangeeph
 
Posts: 205
Joined: Thu Jun 23, 2011 6:27 pm

Re: Filter for when position X raised pre flop?

Postby kraada » Sun Jul 31, 2011 8:43 am

You can do this with the following advanced filter - put in the the blue Filters section.

holdem_hand_player_statistics.id_hand in (SELECT hhps.id_hand from holdem_hand_player_statistics hhps where hhps.flg_p_first_raise and hhps.position = X)

where X is the position number you want - 0 is button, 1 is cutoff, etc (but 8 is always BB and 9 is always SB)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests