Comments (3)
Heya, thanks for this idea!
Here's what I got to so far:
SELECT
g.id game_id,
g.startTime game_start_time,
ROUND(TIMESTAMP_DIFF(g.endTime, g.startTime, SECOND)/60, 1) game_duration_minutes,
g.replayUrl game_replay_url,
ARRAY_LENGTH(g.playerStats_gamePlayerStats) game_total_players,
validity game_validity,
mapVersion_mapVersion.map_map.displayName map_name,
faf.GEOMETRY_NAME(mapVersion_mapVersion.width, mapVersion_mapVersion.height) map_geometry,
mapVersion_mapVersion.thumbnailUrlLarge map_thumbnail,
ps.result player_result,
faf.FACTION_NAME(ps.faction) player_faction,
ps.player_player.id player_id,
ps.player_player.login player_login,
ROUND(ps.beforeMean - 3 * ps.beforeDeviation, 1) player_before_rating,
ROUND(ps.afterMean - 3 * ps.afterDeviation, 1) player_after_rating,
FROM `fafalytics.faf.games_denorm` g
CROSS JOIN UNNEST(playerStats_gamePlayerStats) ps
WHERE featuredMod_featuredMod.displayName = "Coop"
This yields this data, which is quite surprising. Not that many games, and for example the top rated coop game is missing (!).
That's good, because you probably helped me find a problem in how I scraped data from FAF servers, but it will take me some time to look into what did I screw up and fix it. :)
from fafanalysis.
OK, I found the problem; the games_denorm
view was using an INNER JOIN
on the map, and apparently many coop games don't have a map associated with them (for reasons I still don't understand; but you can see that the top rated game from before has null
for a mapversion relationship).
Once I switched to using LEFT JOIN
, I found ~1.3M games with the above query, which makes a lot more sense. I'll let you know when might I finish the associated analyses (processing replays for 1.3M games might be a challenge).
from fafanalysis.
I appreciate the work your doing. I will be waiting for the analyses. Thanks again.
from fafanalysis.
Related Issues (15)
- win rate of first team building a nuke VS numbers of players in the game HOT 6
- Relationship between faction, rating, and victory rate (in 1v1 games)
- Head-to-head factions to see which factions are stronger, and see if this changes when balance patches are released. Is this ranking dependent? HOT 1
- Hotkey layout and usage compared to rank / winrate. HOT 1
- Effect of early death in full-share teamgames
- Effectiveness of Radar, Subs, Novax, and Harms HOT 2
- Army mix per tier for high level players vs low level players
- Engineer unit ratio vs rating
- Amount of SCU (support commander units) vs win ratio
- Higher tier mex: building vs upgrading
- Time to upgrade to T2 factory
- ACU upgrade selected per rating
- Nr of assist commands per rating
- For a few standard maps, heat maps of: army unit deaths, reclaim orders, ACU explosions, nuke impacts etc?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fafanalysis.