ReproducibleQM / NES

The National Eutrophication Survey: lake characteristics and historical nutrient concentrations
https://doi.org/10.5063/F1CZ35HF
Mozilla Public License 2.0
4 stars 4 forks source link

Create 3 Tables of Summary Statistics #11

Closed dustinkincaid closed 7 years ago

dustinkincaid commented 7 years ago

Create tables of summary statistics (mean, sd, n) for each region and lake type. The tables will be separated by physical, chemical, and loading variables.

dustinkincaid commented 7 years ago

I created R code for the summary statistics. Dumb dumb over here doesn't know how to read a file directly from GitHub so need to change code to do that.

jsta commented 7 years ago

I made some adjustments to the table code. Among other things, it now prints the table output to a file in the 07_tables folder.

jsta commented 7 years ago

This process would be a bit simpler if we switched to using Rmarkdown.

nagelkirk commented 7 years ago

I'd be for that

On Tue, Apr 11, 2017 at 11:48 AM, Joseph Stachelek <notifications@github.com

wrote:

This process would be a bit simpler if we switched to using Rmarkdown.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ReproducibleQM/NES/issues/11#issuecomment-293306618, or mute the thread https://github.com/notifications/unsubscribe-auth/APJKe_2YNcYvyrOEkhgECpd0WtNFePCFks5ru6CwgaJpZM4MfcfQ .

jsta commented 7 years ago

Ok, I went ahead and dropped the lake_type distinction from the tables. This makes it possible to combine all the tables on to one page (see 07_tables/big_table.pdf). I can revert to the old style if we like that better.

jsta commented 7 years ago

We might want to consider remaking our table with https://github.com/kaz-yos/tableone

jsta commented 7 years ago

I am thinking of remaking the table with one of the tools mentioned in github.com/ropensci/unconf17/issues/69. Also I am going to explore splitting out the sample size (n) info to a separate table.