beanumber / openWARData

An R package consisting of data associated with openWAR
7 stars 1 forks source link

extra variable in MLBAM2016 #12

Open beanumber opened 6 years ago

beanumber commented 6 years ago
  ds <- list(MLBAM2012, 
             MLBAM2013,
             MLBAM2014,
             MLBAM2015,
             MLBAM2016,
             MLBAM2017)
  sapply(ds, dim)
       [,1]   [,2]   [,3]   [,4]   [,5]   [,6]
[1,] 184739 185273 184450 180836 157457 185704
[2,]     62     62     62     62     63     62
> setdiff(names(MLBAM2016), names(MLBAM2017))
[1] "X10"

Too many columns and not enough rows.

@gjm112 can you re-download the data from 3c650fa?

beanumber commented 6 years ago
> lapply(ds, class)
[[1]]
[1] "GameDayPlays" "data.frame"  

[[2]]
[1] "GameDayPlays" "data.frame"  

[[3]]
[1] "GameDayPlays" "data.frame"  

[[4]]
[1] "GameDayPlays" "data.frame"  

[[5]]
[1] "GameDayPlays" "data.frame"  

[[6]]
[1] "GameDayPlays" "tbl_df"       "tbl"          "data.frame"