day. If there is no # price data on a day, we know that price did not change on that day, so its takes the previous value. For example, for # game 730 (Counter-Strike: Global Offensive). The price was
We need to clean the price change data to get daily prices. For a game-date combination, if the game_price_changes # data has an observation on that day, the $price variable in that data measures the price on that day. If there is no # price data on a day, we know that price did not change on that day, so its takes the previous value. For example, for # game 730 (Counter-Strike: Global Offensive). The price was changed to $9.99 on 2012-11-01. Then it was changed again # to $11.24 on 2012-11-22. This means that before the change on 2012-11-22, the price stayed at $9.99. # By the end of this step, you should have a price data at the level of game-date. There should be no gap in dates unless # for specific reasons that lead to missing data. You should then be able to merge the players data with the price data.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps