pharmaverseraw
Test raw data for use within the pharmaverse family of packages
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.7%) to scientific vocabulary
Repository
Test raw data for use within the pharmaverse family of packages
Basic Info
- Host: GitHub
- Owner: pharmaverse
- License: apache-2.0
- Language: R
- Default Branch: main
- Homepage: https://pharmaverse.github.io/pharmaverseraw/
- Size: 6.15 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
- Releases: 0
Metadata Files
README.md
pharmaverseraw 
Raw data for domains in the pharmaversesdtm package
Purpose {#purpose}
To provide raw datasets which can be used to generate SDTM datsets in the pharmaversesdtm package. The raw dataset does not align with any EDC (Electronic Data Capture) systems, meaning that are EDC agnostic. The raw datasets are also data standards agnostic, meaning some of the raw datasets are in CDASH (Clinical Data Acquisition Standards Harmonization) and some are not in CDASH format. We have created such examples to showcase the edc and standards agnostic features of sdtm.oak. The annotated case report forms corresponding to the raw datasets are also present in the inst\acrf folder.
Installation {#installation}
The package is available from CRAN and can be installed by running install.packages("pharmaverseraw"). To install the latest development version of the package directly from GitHub use the following code:
``` r if (!requireNamespace("remotes", quietly = TRUE)) { install.packages("remotes") }
remotes::install_github("pharmaverse/pharmaverseraw", ref = "main") # This command installs the latest development version directly from GitHub. ```
Data Sources {#data-sources}
Raw datasets are created based upon the SDTM domains in pharmaversesdtm package.
Naming Conventions {#naming}
Datasets are named following the associated SDTM domain names with a "raw" appended.
For example, the raw data used to create subject disposition DS domain
is named as "dsraw".
How To Update {#how-to-update}
Firstly, make a GitHub issue in {pharmaverseraw} with the planned updates. Then there are two main ways to extend the test data: either by adding new datasets or extending existing datasets with new records/variables. Whichever method you choose, it is worth noting the following:
- Programs that generate raw data are stored in the
data-raw/folder. - Each of these programs is written as a standalone R script: if any packages need to be loaded for a given program, then call
library()at the start of the program (but please do not calllibrary(pharmaverseraw)). - When you have created a program in the
data-raw/folder, you need to run it as a standalone R script, in order to generate a raw dataset that will become part of the{pharmaverseraw}package, but you do not need to build the package. - Following best practice, each dataset is stored as a
.rdafile whose name is consistent with the name of the dataset, e.g., datasetxx_rawis stored asxx_raw.rda. The easiest way to achieve this is to useusethis::use_data(xx_raw) - The programs in
data-raw/are stored within the{pharmaverseraw}GitHub repository, but they are not part of the{pharmaverseraw}package--thedata-raw/folder is specified in.Rbuildignore. - When you run a program that is in the
data-raw/folder, you generate a dataset that is written to thedata/folder, which will become part of the{pharmaverseraw}package. - The names and sources of raw datasets are specified in
R/*.R, for the purpose of generating documentation in theman/folder. - The generated raw datasets should adhere with the structure and content in the corresponding sdtm domain in
pharmaversesdtmpackage.
Adding New Raw Datasets
- Create a program in the
data-raw/folder, named<name>.R, where<name>should follow the naming convention, to generate the raw data and output<name>.rdato thedata/folder.- Note that no personal data should be used as part of this package, even if anonymized.
- Run the program.
- Reflect this update by documenting the dataset in the
R/*.Rfile. - Run
devtools::document()in order to updateNAMESPACEand update the.Rdfiles inman/. - Add your GitHub handle to
.github/CODEOWNERS. - Update
NEWS.md.
Updating Existing SDTM Datasets
- Locate the existing program
<name>.Rin thedata-raw/folder, update it accordingly. - Reflect this update by updating the corresponding script in the
R/*.Rfile. - Run the program, and output updated
<name>.rdato thedata/folder. - Run
devtools::document()in order to updateNAMESPACEand update the.Rdfiles inman/. - Add your GitHub handle to
.github/CODEOWNERS. - Update
NEWS.md.
Owner
- Name: pharmaverse
- Login: pharmaverse
- Kind: organization
- Location: Switzerland
- Repositories: 25
- Profile: https://github.com/pharmaverse
GitHub Events
Total
- Issues event: 10
- Watch event: 1
- Issue comment event: 1
- Member event: 3
- Push event: 41
- Pull request review comment event: 4
- Pull request review event: 5
- Pull request event: 10
- Create event: 8
Last Year
- Issues event: 10
- Watch event: 1
- Issue comment event: 1
- Member event: 3
- Push event: 41
- Pull request review comment event: 4
- Pull request review event: 5
- Pull request event: 10
- Create event: 8
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Shiyu Chen | c****u@h****m | 19 |
| Adam Foryś | a****s@g****m | 6 |
| Rammprasad Ganapathy | g****d@g****m | 3 |
| Ross Farrugia | 8****a | 1 |
| Edoardo Mancini | e****i@r****m | 1 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 5
- Total pull requests: 5
- Average time to close issues: 3 days
- Average time to close pull requests: 1 day
- Total issue authors: 3
- Total pull request authors: 3
- Average comments per issue: 0.0
- Average comments per pull request: 0.2
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 5
- Pull requests: 5
- Average time to close issues: 3 days
- Average time to close pull requests: 1 day
- Issue authors: 3
- Pull request authors: 3
- Average comments per issue: 0.0
- Average comments per pull request: 0.2
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ShiyuC (3)
- rammprasad (2)
- rossfarrugia (1)
Pull Request Authors
- ShiyuC (5)
- rammprasad (4)
- manciniedoardo (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 466 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: pharmaverseraw
Raw Data for 'pharmaversesdtm' Package
- Homepage: https://pharmaverse.github.io/pharmaverseraw/
- Documentation: http://cran.r-project.org/web/packages/pharmaverseraw/pharmaverseraw.pdf
- License: Apache License (≥ 2.0)
-
Latest release: 0.1.1
published 11 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 4.1 depends
- admiral >= 1.0.0 imports
- admiraldev >= 1.0.0 imports
- dplyr >= 1.0.5 imports
- hms >= 0.5.3 imports
- lifecycle >= 0.1.0 imports
- lubridate >= 1.7.4 imports
- magrittr >= 1.5 imports
- purrr >= 0.3.3 imports
- rlang >= 0.4.4 imports
- stringr >= 1.4.0 imports
- tidyr >= 1.0.2 imports
- tidyselect >= 1.1.0 imports
- DT * suggests
- diffdf * suggests
- htmltools * suggests
- knitr * suggests
- methods * suggests
- pharmaversesdtm >= 0.2.0 suggests
- reactable * suggests
- readxl * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests
- tibble * suggests