Skip to content

Commit

Permalink
added example data
Browse files Browse the repository at this point in the history
  • Loading branch information
Zack-83 committed Jul 12, 2018
1 parent 361a60e commit 34aacfb
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
^.*\.Rproj$
^\.Rproj\.user$
^LICENSE\.md$
^data-raw$
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ Description: More about what it does (maybe more than one line)
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.0.1
12 changes: 12 additions & 0 deletions data-raw/fetch_data.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

inflammation <- read.csv("https://raw.githubusercontent.com/TIBHannover/FAIR-R/gh-pages/_episodes_rmd/inflammation.csv", header=FALSE)

library(dplyr)
library(tidyr)

inflammation_long <- inflammation %>%
tbl_df() %>%
mutate(PatientID = 1:n()) %>%
gather(Time, InflammationScore, -PatientID)

devtools::use_data(inflammation, overwrite = TRUE)
Binary file added data/inflammation.rda
Binary file not shown.
1 change: 1 addition & 0 deletions maRgheRitaR.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ StripTrailingWhitespace: Yes
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace
22 changes: 22 additions & 0 deletions man/center.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions man/rescale.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 34aacfb

Please sign in to comment.