almartin82 / mapvizieR

visualizations and reports for the NWEA MAP assessment in R
Other
17 stars 6 forks source link

breaking changes introduced by upstream package upgrades #293

Closed almartin82 closed 8 years ago

almartin82 commented 8 years ago

@chrishaid I can't figure out if this is dplyr or something else, but it seems to be related to assumptions around column types.

this is from college_plots.R in one of the template functions

Browse[2]> rbind(e$norms_dense, placeholder1, placeholder2)
             measurementscale fallwinterspring grade         RIT          
             Character,10750  Character,10750  Numeric,10750 Numeric,10750
placeholder1 Character,255    Character,255    Numeric,255   Numeric,255  
placeholder2 Character,271    Character,271    Numeric,271   Numeric,271  
             student_percentile school_percentile grade_level_season
             Integer,10750      Numeric,10750     Numeric,10750     
placeholder1 Integer,255        Numeric,255       Numeric,255       
placeholder2 Integer,271        Numeric,271       Numeric,271       
             rn_up         rn_down      
             Numeric,10750 Numeric,10750
placeholder1 Numeric,255   Numeric,255  
placeholder2 Numeric,271   Numeric,271

the rbind call is succeeding, but instead of getting back a clean data frame I'm getting a matrix back with different types.

almartin82 commented 8 years ago

From the RStudio blog: "The select() helper functions starts_with(), ends_with(), etc are now real exported functions. This means that they have better documentation, and there’s an extension mechnaism if you want to write your own helpers."