<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>BaSQL - new forum threads</title>
		<link>http://basql.wikidot.com/forum/start</link>
		<description>Threads in forums of the site &quot;BaSQL&quot;</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://basql.wikidot.com/forum/t-183483</guid>
				<title>Requery the GameDay Fielder code?</title>
				<link>http://basql.wikidot.com/forum/t-183483/requery-the-gameday-fielder-code</link>
				<description></description>
				<pubDate>Sat, 19 Sep 2009 23:53:07 +0000</pubDate>
				<wikidot:authorName>kelakos</wikidot:authorName>				<wikidot:authorUserId>379139</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I ran Colin's GameDay fielder code after loading RecentGames.bat into my gameday database from BBOS just to see what it did. Then, I loaded AllAvailableGames.bat into my gameday database to get all the BBOS games. When I look in gameday.event_player table ( that Colin's code created), there are only games from the RecentGames load. What do I need to do to have it include all the new games in my database?</p> <p>Also, how would I retrieve batted ball x,y locations prior to the Pitch F/X GameDay XML data ~2006?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://basql.wikidot.com/forum/t-136412</guid>
				<title>using retrosheet to figure total pitches thrown by pitcher</title>
				<link>http://basql.wikidot.com/forum/t-136412/using-retrosheet-to-figure-total-pitches-thrown-by-pitcher</link>
				<description></description>
				<pubDate>Sat, 07 Mar 2009 12:49:17 +0000</pubDate>
				<wikidot:authorName>chiefjamesp</wikidot:authorName>				<wikidot:authorUserId>244386</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello! I was wondering if anyone could suggest some simple ways to get a txt file created using bevent into a database…I used bevent to print the pitch sequence and pitcher for each at bat…I was gonna import it into excel and use the len function to count the length of each pitch sequence (which would give me a list of pitcher and number pitches for each at bat) and then load it into my database and use sqlyog to sum pitches by pitcher id…I guess I am wondering if there is a way to just import the txt as a table into sql, and sum the pitches by pitcher id? Hope I explained my question almost clearly…sorry otherwise!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://basql.wikidot.com/forum/t-135425</guid>
				<title>Weather Data</title>
				<link>http://basql.wikidot.com/forum/t-135425/weather-data</link>
				<description></description>
				<pubDate>Wed, 04 Mar 2009 00:35:11 +0000</pubDate>
				<wikidot:authorName>xeifrank</wikidot:authorName>				<wikidot:authorUserId>246076</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Are there any databases available that have weather data for each game?<br /> Temperate and wind vector.<br /> vr, Xei</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://basql.wikidot.com/forum/t-116356</guid>
				<title>Adding CSV to existing database</title>
				<link>http://basql.wikidot.com/forum/t-116356/adding-csv-to-existing-database</link>
				<description></description>
				<pubDate>Tue, 30 Dec 2008 20:20:20 +0000</pubDate>
				<wikidot:authorName>TucsonRoyal</wikidot:authorName>				<wikidot:authorUserId>244147</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have a new CSV I want to add to an existing database (sql database created with the help of Colin's articles), what is the easiest way to do this? The first row of data is the columns headings.</p> <p>primary pos data from: <a href="http://tangotiger.net/bdb/">http://tangotiger.net/bdb/</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://basql.wikidot.com/forum/t-116004</guid>
				<title>sql for positional adjustments?</title>
				<link>http://basql.wikidot.com/forum/t-116004/sql-for-positional-adjustments</link>
				<description></description>
				<pubDate>Mon, 29 Dec 2008 05:03:01 +0000</pubDate>
				<wikidot:authorName>chiefjamesp</wikidot:authorName>				<wikidot:authorUserId>244386</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I was trying to figure positional adjustments, but got hung up on the command to use. I was basically trying to do something like (Innings/162) * (if pos='c',12.5, if pos='ss',7.5 etc…), if that makes any sense (I'm obviously quite the sql noob)…there is obviously a much better way to do this that eludes me…</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://basql.wikidot.com/forum/t-115934</guid>
				<title>SQL Command Help</title>
				<link>http://basql.wikidot.com/forum/t-115934/sql-command-help</link>
				<description></description>
				<pubDate>Sun, 28 Dec 2008 18:31:44 +0000</pubDate>
				<wikidot:authorName>John Signore</wikidot:authorName>				<wikidot:authorUserId>244976</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hey guys I was wondering if you could help me with what is probably a simple SQL query. What I was wanting to do was to get a listing of all pitchers ERA in year 1 as well as the same pitchers ERA in year 2. What I was wanting to do is have some cutoff (say greater than 150 innings pitched each season) so that I'm only getting pitchers that have pitched 150+ in each season. How would I go about this?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://basql.wikidot.com/forum/t-112200</guid>
				<title>Help with SQL command</title>
				<link>http://basql.wikidot.com/forum/t-112200/help-with-sql-command</link>
				<description></description>
				<pubDate>Wed, 10 Dec 2008 16:14:40 +0000</pubDate>
				<wikidot:authorName>TucsonRoyal</wikidot:authorName>				<wikidot:authorUserId>244147</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I want to get all the retired pitchers that pitched greater than 160 between 1985 and current . The problem is that when I sum the innings, games and GS, the sum is only for the seasons that the pitcher pitched over 160 innings, not all seasons. Can some look to see what I am doing wrong. Thanks -Jeff</p> <p>Select<br /> sp.nameFirst,<br /> sp.nameLast,<br /> p.playerID,<br /> sp.playerID,<br /> sp.college,<br /> sp.birthYear,<br /> c.yearMin,<br /> c.yearMax,<br /> year (sp.debut),<br /> year (sp.finalGame),<br /> Count(p.YearID) as YS,<br /> SUM(p.G) as G,<br /> sum(p.GS) as GS,<br /> sum(p.IPouts/3) as IP<br /> from pitching p<br /> join master sp on p.playerID=sp.playerID<br /> left join schoolsplayers c on c.playerID=sp.playerID<br /> where (p.yearID &gt; "1985"<br /> and (p.IPouts/3) &gt; "160"<br /> and birthCountry = 'USA'<br /> and finalGame is not null)<br /> group by p.playerID<br /> ;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://basql.wikidot.com/forum/t-110238</guid>
				<title>Importing Retrosheet and Gameday Data into MySQL</title>
				<link>http://basql.wikidot.com/forum/t-110238/importing-retrosheet-and-gameday-data-into-mysql</link>
				<description></description>
				<pubDate>Tue, 02 Dec 2008 23:52:04 +0000</pubDate>
				<wikidot:authorName>gophsfan31</wikidot:authorName>				<wikidot:authorUserId>243982</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm having trouble importing Retrosheet and Gameday Data into MySQL. Could someone just tell me how to do this so I can see what I'm doing wrong?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://basql.wikidot.com/forum/t-109268</guid>
				<title>New subjects</title>
				<link>http://basql.wikidot.com/forum/t-109268/new-subjects</link>
				<description></description>
				<pubDate>Sat, 29 Nov 2008 16:59:51 +0000</pubDate>
				<wikidot:authorName>xeifrank</wikidot:authorName>				<wikidot:authorUserId>246076</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Is it possible to add another subject matter area to the Wiki? I'd like to see a programming area that relates to writing Perl scripts which interface with MySQL or other databases. There are other programming languages which can be used to interface with a DB, so feel free to organize it however you'd like.<br /> vr, Xei</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://basql.wikidot.com/forum/t-108577</guid>
				<title>Quick Question about the Primary Position Table</title>
				<link>http://basql.wikidot.com/forum/t-108577/quick-question-about-the-primary-position-table</link>
				<description></description>
				<pubDate>Thu, 27 Nov 2008 02:46:49 +0000</pubDate>
				<wikidot:authorName>John Signore</wikidot:authorName>				<wikidot:authorUserId>244976</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I was trying to follow the wOBA thread on the BOOK blog. I'm doing this in MySQL so I used the SQL on this page for the primpos table instead of tango's but I think its giving me different results.</p> <p>For instance in 2006 for RperOut instead of .182 that he gets, im getting .185. I'm wondering if the difference between Colin's table and Tango's for primpos is why there's a difference?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://basql.wikidot.com/forum/t-108203</guid>
				<title>Initial goals of BaSQL?</title>
				<link>http://basql.wikidot.com/forum/t-108203/initial-goals-of-basql</link>
				<description></description>
				<pubDate>Tue, 25 Nov 2008 19:15:34 +0000</pubDate>
				<wikidot:authorName>lar</wikidot:authorName>				<wikidot:authorUserId>244123</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>First off, thanks to Colin for setting this up. If this wiki gets the attention and detail that it *could*, then this will be a great resource for anyone interested in studying baseball statistics. I'm eager to help however I can.</p> <p>I was wondering if people wanted to chime in with their ideas on what should be included in BaSQL, and what kind of content and features we hope to see. I know Colin said, in his post on statspeak, that he hopes it will be the "<em>central clearinghouse for information on how to commit sabermetrics using a relational database.</em>" There's a lot of room for what can fit under that, though, and I figured it might be good to list some of those thoughts.</p> <p>Are there thoughts on: what topics need to be addressed first (mysql vs. access vs others? implementing Win Shares/other advanced stats? connecting bdb data with retrosheet data? many others?) ? What features might be nice to implement, if possible (spotlight articles? beginning tutorials? downloadable files? data hosting?) ? How active people might want to communicate with each other (this forum? mailing list? private messages?) ? I'm sure there are other questions I'm forgetting here…</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>