BoulderCodeHub / RWDataPlyr

R package to read and manipulate data from RiverWareTM
3 stars 5 forks source link

improve the data frame returned by getDataForAllScenarios #50

Closed rabutler closed 6 years ago

rabutler commented 7 years ago

Two overall ideas:

  1. make the columns as similar to the csv from RiverSMART/RiverWare as possible
  2. store more information about the original data

For 1.

rabutler commented 7 years ago

in a 1 million row tbl fromgetDataForAllScens(), adding a second character column adds 25% onto the size of the tbl; same is true for one with ~500,000 rows. The above data are stored as attributes and we will provide lookup of either the original slot name or the original scenario folder

rabutler commented 7 years ago

For rdf files, Scenario has to be created from R with dimensions provided to it. The dimensions have to be pasted in the same order as they are in RiverSMART for the Scenario's to match exactly.

rabutler commented 6 years ago

Will not update data frame returned by getDataForAllScens(), since it is being replaced by rw_scen_aggregate()