Package: RWDataPlyr 0.6.4

Alan Butler

RWDataPlyr: Read and Manipulate Data from 'RiverWare'

A tool to read and manipulate data generated from 'RiverWare'(TM) <http://www.riverware.org/> simulations. 'RiverWare' and 'RiverSMART' generate data in "rdf", "csv", and "nc" format. This package provides an interface to read, aggregate, and summarize data from one or more simulations in a 'dplyr' pipeline.

Authors:Alan Butler [aut, cre], Cameron Bracken [aut]

RWDataPlyr_0.6.4.tar.gz
RWDataPlyr_0.6.4.zip(r-4.5)RWDataPlyr_0.6.4.zip(r-4.4)RWDataPlyr_0.6.4.zip(r-4.3)
RWDataPlyr_0.6.4.tgz(r-4.4-x86_64)RWDataPlyr_0.6.4.tgz(r-4.4-arm64)RWDataPlyr_0.6.4.tgz(r-4.3-x86_64)RWDataPlyr_0.6.4.tgz(r-4.3-arm64)
RWDataPlyr_0.6.4.tar.gz(r-4.5-noble)RWDataPlyr_0.6.4.tar.gz(r-4.4-noble)
RWDataPlyr_0.6.4.tgz(r-4.4-emscripten)RWDataPlyr_0.6.4.tgz(r-4.3-emscripten)
RWDataPlyr.pdf |RWDataPlyr.html
RWDataPlyr/json (API)
NEWS

# Install 'RWDataPlyr' in R:
install.packages('RWDataPlyr', repos = c('https://bouldercodehub.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/bouldercodehub/rwdataplyr/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • keyRdf - Example rdf file with monthly data.
  • scen_data - Example aggregated scenario data
  • sysRdf - Example rdf file with annual data.

On CRAN:

data-manipulationriverware

5.54 score 3 stars 77 scripts 232 downloads 41 exports 28 dependencies

Last updated 2 years agofrom:663ec12db7. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-win-x86_64NOTENov 01 2024
R-4.5-linux-x86_64NOTENov 01 2024
R-4.4-win-x86_64NOTENov 01 2024
R-4.4-mac-x86_64NOTENov 01 2024
R-4.4-mac-aarch64NOTENov 01 2024
R-4.3-win-x86_64NOTENov 01 2024
R-4.3-mac-x86_64NOTENov 01 2024
R-4.3-mac-aarch64NOTENov 01 2024

Exports:as_rwd_aggas.rwd_aggcreateSlotAggListgetDataForAllScensgetMaxAnnValuegetMinAnnValuegetSlotsInRdfgetWYFromYearmonis_rdfis_rwd_aggis_slot_agg_listis.rdfis.rwd_aggis.slot_agg_listmakeAllScenNamesrdf_aggregaterdf_get_slotrdf_get_timespanrdf_slot_namesrdf_to_rwtblrdf_to_rwtbl2rdfSlotToMatrixread_rdfread_rw_csvread_rwd_aggread.rdfread.rdf2rw_scen_aggregaterw_scen_gen_namesrwd_aggrwd_agg_templaterwslot_annual_maxrwslot_annual_minrwslot_annual_sumrwslot_fwaacrwtbl_get_scen_folderrwtbl_slot_namesrwtbl_var_to_slotslot_agg_listsumMonth2Annualym_get_wateryear

Dependencies:clicpp11data.tabledplyrfansifeathergenericsgluehmslatticelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangstringistringrtibbletidyrtidyselectutf8vctrswithrxtszoo

RWDataPlyr Workflow

Rendered fromrwdataplyr-workflow.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2020-04-16
Started: 2018-04-10

Readme and manuals

Help Manual

Help pageTopics
Coerce lists, matrices, and data.frames to RiverWare data aggregatorsas.rwd_agg as_rwd_agg as_rwd_agg.data.frame as_rwd_agg.default as_rwd_agg.list as_rwd_agg.matrix
Creates a list for use by 'getDataForAllScens'.createSlotAggList
Get and aggregate data from an rdf file(s)getDataForAllScens
Test if the object is an rdfis.rdf is_rdf
Test if the object is a rwd_aggis.rwd_agg is_rwd_agg
Test if the object is a slot_agg_listis.slot_agg_list is_slot_agg_list
Example rdf file with monthly data.keyRdf
Combine RiverWare data aggregatorscbind.rwd_agg rbind.rwd_agg
Aggregate RiverWare output for one or more scenariosrdf_aggregate rw_scen_aggregate
Get a slot out of an rdf objectrdfSlotToMatrix rdf_get_slot
Returns the simulation timespan from an rdfrdf_get_timespan
Returns all slots contained in an rdf file.getSlotsInRdf rdf_slot_names
Convert an rdf to a tibblerdf_to_rwtbl rdf_to_rwtbl2
Read RiverWare/RiverSMART produced csv filesread_rw_csv
Read in a rwd_agg fileread_rwd_agg
Read an rdf file into R.read.rdf read.rdf2 read_rdf
Create a vector of scenarios from different dimensionsmakeAllScenNames rw_scen_gen_names
Class to specify how to aggregate RiverWare datarwd_agg
Create a 'rwd_agg' templaterwd_agg_template
Simple aggregation functions for monthly matrix datagetMaxAnnValue getMinAnnValue rwslot_annual_max rwslot_annual_min rwslot_annual_sum rwslot_fwaac sumMonth2Annual
Map a scenario name to the original scenario folderrwtbl_get_scen_folder
List the slot names in a tbl_dfrwtbl_slot_names
Map a variable name to the RiverWare slot namerwtbl_var_to_slot
Example aggregated scenario datascen_data
A class to control how RiverWare data are aggregatedslot_agg_list
Example rdf file with annual data.sysRdf
Get the water year from a year-month (yearmon) valuegetWYFromYearmon ym_get_wateryear