Skip to content

Commit 908138a

Browse files
authored
Merge pull request #217 from ropensci/links-in-README
Fix links in README and add ropensci CoC
2 parents 458d5e6 + 8a2c2d5 commit 908138a

File tree

1 file changed

+28
-21
lines changed

1 file changed

+28
-21
lines changed

README.md

+28-21
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
# mapmetadata <a href="https://aim-rsf.github.io/mapmetadata/"><img src="man/figures/logo.png" align="right" height="180" alt="mapmetadata website" /></a>
1+
2+
# mapmetadata <a href="https://ropensci.github.io/mapmetadata/"><img src="man/figures/logo.png" align="right" height="180" alt="mapmetadata website" /></a>
23

34
<!-- badges: start -->
45
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14605021.svg)](https://doi.org/10.5281/zenodo.10581499)
56
[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)
67
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
78
[![Status at rOpenSci Software Peer Review](https://badges.ropensci.org/674_status.svg)](https://github.com/ropensci/software-review/issues/674)
8-
[![R-CMD-check](https://github.com/aim-rsf/mapmetadata/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/aim-rsf/mapmetadata/actions/workflows/R-CMD-check.yaml)
9-
[![pkgcheck](https://github.com/aim-rsf/mapmetadata/workflows/pkgcheck/badge.svg)](https://github.com/aim-rsf/mapmetadata/actions?query=workflow%3Apkgcheck)
10-
[![codecov](https://codecov.io/gh/aim-rsf/mapmetadata/graph/badge.svg?token=59S2QVG7CQ)](https://codecov.io/gh/aim-rsf/mapmetadata)
9+
[![R-CMD-check](https://github.com/ropensci/mapmetadata/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ropensci/mapmetadata/actions/workflows/R-CMD-check.yaml)
10+
[![pkgcheck](https://github.com/ropensci/mapmetadata/workflows/pkgcheck/badge.svg)](https://github.com/ropensci/mapmetadata/actions?query=workflow%3Apkgcheck)
11+
[![codecov](https://codecov.io/gh/ropensci/mapmetadata/graph/badge.svg?token=59S2QVG7CQ)](https://codecov.io/gh/ropensci/mapmetadata)
1112
<!-- badges: end -->
1213

1314
## What is the `mapmetadata` package?
1415

15-
For researchers working with health datasets, there are many great resources that summarise features about these datasets (often termed metadata) and how to access them. Access to metadata can help researchers plan projects prior to gaining full access to health datasets. Learn more about health metadata in our [Health Metadata article hosted on the package website](https://aim-rsf.github.io/mapmetadata/articles/HealthMetadata.html).
16+
For researchers working with health datasets, there are many great resources that summarise features about these datasets (often termed metadata) and how to access them. Access to metadata can help researchers plan projects prior to gaining full access to health datasets. Learn more about health metadata in our [Health Metadata article hosted on the package website](https://docs.ropensci.org/mapmetadata/articles/HealthMetadata.html).
1617

1718
One comprehensive open resource is the [Health Data Research Gateway](https://healthdatagateway.org/search?search=&datasetSort=latest&tab=Datasets), managed by [Health Data Research UK](https://www.hdruk.ac.uk/) in collaboration with the [UK Health Data Research Alliance](https://ukhealthdata.org/). The gateway can help a researcher address questions such as: *What datasets are available? What are the features of these datasets? Which datasets fit my research? How do I access these datasets? How have these datasets been used by the community before, and do they link to others? What publications, or other resources exist, using these datasets?*
1819

@@ -24,11 +25,10 @@ Secondly, it helps the researcher address the question *Which variables map onto
2425

2526
### Installation and set-up
2627

27-
Run in the R console:
28+
Run in the R console:
2829

29-
``` r
30-
install.packages("pak")
31-
pak::pak("aim-rsf/mapmetadata")
30+
```r
31+
install.packages("mapmetadata", repos = "https://ropensci.r-universe.dev")
3232
```
3333

3434
Load the library:
@@ -41,7 +41,7 @@ library(mapmetadata)
4141

4242
There are three main functions you can interact with: `metadata_map`, `map_compare`, and `map_convert`. For more information on any function, type `?function_name`.
4343

44-
The main function is `metadata_map` and you can run it in demo mode using the files located in the [inst/inputs](https://github.com/aim-rsf/mapmetadata/tree/main/inst/inputs) directory:
44+
The main function is `metadata_map` and you can run it in demo mode using the files located in the [inst/inputs](https://github.com/ropensci/mapmetadata/tree/main/inst/inputs) directory:
4545

4646
``` r
4747
metadata_map()
@@ -63,7 +63,7 @@ Enter the table number you want to process:
6363

6464
You can exit here (with Clt-C or Esc) to just get this summary plot, which is saved to your project directory. All outputs from this `metadata_map` function are saved to your project directory. You can change the save location by adjusting the `output_dir` argument (an argument means the information given to a function, to alter how it runs). For example `metadata_map(output_dir = 'username/sub_directory')`.
6565

66-
<img src="https://raw.githubusercontent.com/aim-rsf/mapmetadata/main/inst/outputs/BAR_360_NCCHD_2025-02-14-18-14-01.png" alt="example bar plot showing number of variables for each table alongside counts of whether variables have missing descriptions">
66+
<img src="https://raw.githubusercontent.com/ropensci/mapmetadata/main/inst/outputs/BAR_360_NCCHD_2025-02-14-18-14-01.png" alt="example bar plot showing number of variables for each table alongside counts of whether variables have missing descriptions">
6767

6868
If you continue to the mapping stage, you will see all the tables in this dataset are listed. Select the 4th table for demo purposes:
6969

@@ -86,7 +86,7 @@ Add a note for processing this table:
8686
8787
Optional note about this table: Demo run
8888
```
89-
This table has 35 variables (see 'n of 35' below) but the demo run will only process the first 5 variables (by default). If it skips over a variable (as is the case with 1, 2 and 3) this means it has been auto-categorised. Variable 4 has not been auto-categorised and is asking you to categorise it. You will be asked to categorise a variable with one (or more) of the numbers shown in the [key that has appeared in your plots tab](https://github.com/aim-rsf/mapmetadata/tree/main/inst/outputs/plots_tab_demo_domains.png). We input '8' which means 'Health Info' as defined by the key. The demo simplifies domains for demonstration purposes; for a research study, your domains are likely to be much more specific e.g. ‘Prenatal, antenatal, neonatal and birth’ or ‘Health behaviours and diet’.
89+
This table has 35 variables (see 'n of 35' below) but the demo run will only process the first 5 variables (by default). If it skips over a variable (as is the case with 1, 2 and 3) this means it has been auto-categorised. Variable 4 has not been auto-categorised and is asking you to categorise it. You will be asked to categorise a variable with one (or more) of the numbers shown in the [key that has appeared in your plots tab](https://github.com/ropensci/mapmetadata/tree/main/inst/outputs/plots_tab_demo_domains.png). We input '8' which means 'Health Info' as defined by the key. The demo simplifies domains for demonstration purposes; for a research study, your domains are likely to be much more specific e.g. ‘Prenatal, antenatal, neonatal and birth’ or ‘Health behaviours and diet’.
9090

9191
```
9292
ℹ Table variable 1 of 35 (5 left to process)
@@ -112,13 +112,20 @@ Repeat the categorisation for the 5th variable to finish. You will then be asked
112112

113113
- Second, you will be asked if you want to review your own categorisations. Select Yes(1) and follow the instructions.
114114

115-
You can use the output file from the `metadata_map()` function as input for subsequent analysis to filter and visualise variables by research domain. For more information on custom inputs (metadata file, domain list and lookup) and how to understand the outputs, see the [mapmetadata tutorial](https://aim-rsf.github.io/mapmetadata/articles/mapmetadata.html) page on the package website.
115+
You can use the output file from the `metadata_map()` function as input for subsequent analysis to filter and visualise variables by research domain. For more information on custom inputs (metadata file, domain list and lookup) and how to understand the outputs, see the [mapmetadata tutorial](https://ropensci.github.io/mapmetadata/articles/mapmetadata.html) page on the package website.
116116

117117
## License
118118

119-
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](https://github.com/aim-rsf/mapmetadata/blob/main/LICENSE.md) file for details.
119+
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](https://github.com/ropensci/mapmetadata/blob/main/LICENSE.md) file for details.
120120
For more information, refer to [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html).
121121

122+
## Code of Conduct
123+
124+
Please note that this package is released with a [Contributor
125+
Code of Conduct](https://ropensci.org/code-of-conduct/).
126+
By
127+
contributing to this project, you agree to abide by its terms.
128+
122129
## Citation
123130

124131
To cite `mapmetadata` in publications:
@@ -139,10 +146,10 @@ A BibTeX entry for LaTeX users:
139146

140147
## Contributing
141148

142-
We welcome contributions to `mapmetadata`. Please read our [Contribution Guidelines](https://github.com/aim-rsf/mapmetadata/blob/main/CONTRIBUTING.md) for details on how to contribute.
149+
We welcome contributions to `mapmetadata`. Please read our [Contribution Guidelines](https://github.com/ropensci/mapmetadata/blob/main/CONTRIBUTING.md) for details on how to contribute.
143150

144-
- **Report Issues**: Found a bug? Have a feature request? Report it on [GitHub Issues](https://github.com/aim-rsf/mapmetadata/issues).
145-
- **Submit Pull Requests**: Follow our [Contribution Guidelines](https://github.com/aim-rsf/mapmetadata/blob/main/CONTRIBUTING.md) for pull requests.
151+
- **Report Issues**: Found a bug? Have a feature request? Report it on [GitHub Issues](https://github.com/ropensci/mapmetadata/issues).
152+
- **Submit Pull Requests**: Follow our [Contribution Guidelines](https://github.com/ropensci/mapmetadata/blob/main/CONTRIBUTING.md) for pull requests.
146153
- **Feedback**: Share your thoughts by opening an issue.
147154

148155
### Contributors ✨
@@ -155,12 +162,12 @@ Thanks go to these wonderful people ([emoji key](https://allcontributors.org/doc
155162
<table>
156163
<tbody>
157164
<tr>
158-
<td align="center" valign="top" width="14.28%"><a href="http://linkedin.com/in/rstickland-phd"><img src="https://avatars.githubusercontent.com/u/50215726?v=4?s=100" width="100px;" alt="Rachael Stickland"/><br /><sub><b>Rachael Stickland</b></sub></a><br /><a href="#content-RayStick" title="Content">🖋</a> <a href="https://github.com/aim-rsf/mapmetadata/commits?author=RayStick" title="Documentation">📖</a> <a href="#maintenance-RayStick" title="Maintenance">🚧</a> <a href="#ideas-RayStick" title="Ideas, Planning, & Feedback">🤔</a> <a href="#projectManagement-RayStick" title="Project Management">📆</a> <a href="https://github.com/aim-rsf/mapmetadata/pulls?q=is%3Apr+reviewed-by%3ARayStick" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/aim-rsf/mapmetadata/commits?author=RayStick" title="Code">💻</a></td>
159-
<td align="center" valign="top" width="14.28%"><a href="https://batool-almarzouq.netlify.app/"><img src="https://avatars.githubusercontent.com/u/53487593?v=4?s=100" width="100px;" alt="Batool Almarzouq"/><br /><sub><b>Batool Almarzouq</b></sub></a><br /><a href="#userTesting-BatoolMM" title="User Testing">📓</a> <a href="https://github.com/aim-rsf/mapmetadata/pulls?q=is%3Apr+reviewed-by%3ABatoolMM" title="Reviewed Pull Requests">👀</a> <a href="#ideas-BatoolMM" title="Ideas, Planning, & Feedback">🤔</a> <a href="#projectManagement-BatoolMM" title="Project Management">📆</a> <a href="https://github.com/aim-rsf/mapmetadata/commits?author=BatoolMM" title="Documentation">📖</a></td>
160-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Rainiefantasy"><img src="https://avatars.githubusercontent.com/u/43926907?v=4?s=100" width="100px;" alt="Mahwish Mohammad"/><br /><sub><b>Mahwish Mohammad</b></sub></a><br /><a href="#userTesting-Rainiefantasy" title="User Testing">📓</a> <a href="https://github.com/aim-rsf/mapmetadata/pulls?q=is%3Apr+reviewed-by%3ARainiefantasy" title="Reviewed Pull Requests">👀</a> <a href="#ideas-Rainiefantasy" title="Ideas, Planning, & Feedback">🤔</a></td>
165+
<td align="center" valign="top" width="14.28%"><a href="http://linkedin.com/in/rstickland-phd"><img src="https://avatars.githubusercontent.com/u/50215726?v=4?s=100" width="100px;" alt="Rachael Stickland"/><br /><sub><b>Rachael Stickland</b></sub></a><br /><a href="#content-RayStick" title="Content">🖋</a> <a href="https://github.com/ropensci/mapmetadata/commits?author=RayStick" title="Documentation">📖</a> <a href="#maintenance-RayStick" title="Maintenance">🚧</a> <a href="#ideas-RayStick" title="Ideas, Planning, & Feedback">🤔</a> <a href="#projectManagement-RayStick" title="Project Management">📆</a> <a href="https://github.com/ropensci/mapmetadata/pulls?q=is%3Apr+reviewed-by%3ARayStick" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/ropensci/mapmetadata/commits?author=RayStick" title="Code">💻</a></td>
166+
<td align="center" valign="top" width="14.28%"><a href="https://batool-almarzouq.netlify.app/"><img src="https://avatars.githubusercontent.com/u/53487593?v=4?s=100" width="100px;" alt="Batool Almarzouq"/><br /><sub><b>Batool Almarzouq</b></sub></a><br /><a href="#userTesting-BatoolMM" title="User Testing">📓</a> <a href="https://github.com/ropensci/mapmetadata/pulls?q=is%3Apr+reviewed-by%3ABatoolMM" title="Reviewed Pull Requests">👀</a> <a href="#ideas-BatoolMM" title="Ideas, Planning, & Feedback">🤔</a> <a href="#projectManagement-BatoolMM" title="Project Management">📆</a> <a href="https://github.com/ropensci/mapmetadata/commits?author=BatoolMM" title="Documentation">📖</a></td>
167+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Rainiefantasy"><img src="https://avatars.githubusercontent.com/u/43926907?v=4?s=100" width="100px;" alt="Mahwish Mohammad"/><br /><sub><b>Mahwish Mohammad</b></sub></a><br /><a href="#userTesting-Rainiefantasy" title="User Testing">📓</a> <a href="https://github.com/ropensci/mapmetadata/pulls?q=is%3Apr+reviewed-by%3ARainiefantasy" title="Reviewed Pull Requests">👀</a> <a href="#ideas-Rainiefantasy" title="Ideas, Planning, & Feedback">🤔</a></td>
161168
<td align="center" valign="top" width="14.28%"><a href="https://github.com/DDelbarre"><img src="https://avatars.githubusercontent.com/u/108824056?v=4?s=100" width="100px;" alt="Daniel Delbarre"/><br /><sub><b>Daniel Delbarre</b></sub></a><br /><a href="#ideas-DDelbarre" title="Ideas, Planning, & Feedback">🤔</a> <a href="#userTesting-DDelbarre" title="User Testing">📓</a></td>
162169
<td align="center" valign="top" width="14.28%"><a href="https://github.com/NidaZiaS"><img src="https://avatars.githubusercontent.com/u/142920412?v=4?s=100" width="100px;" alt="NidaZiaS"/><br /><sub><b>NidaZiaS</b></sub></a><br /><a href="#ideas-NidaZiaS" title="Ideas, Planning, & Feedback">🤔</a></td>
163-
<td align="center" valign="top" width="14.28%"><a href="https://masalmon.eu/"><img src="https://avatars.githubusercontent.com/u/8360597?v=4?s=100" width="100px;" alt="Maëlle Salmon"/><br /><sub><b>Maëlle Salmon</b></sub></a><br /><a href="#ideas-maelle" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/aim-rsf/mapmetadata/commits?author=maelle" title="Code">💻</a></td>
170+
<td align="center" valign="top" width="14.28%"><a href="https://masalmon.eu/"><img src="https://avatars.githubusercontent.com/u/8360597?v=4?s=100" width="100px;" alt="Maëlle Salmon"/><br /><sub><b>Maëlle Salmon</b></sub></a><br /><a href="#ideas-maelle" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/ropensci/mapmetadata/commits?author=maelle" title="Code">💻</a></td>
164171
<td align="center" valign="top" width="14.28%"><a href="https://philosopher-analyst.netlify.app/"><img src="https://avatars.githubusercontent.com/u/39963221?v=4?s=100" width="100px;" alt="Zoë Turner"/><br /><sub><b>Zoë Turner</b></sub></a><br /><a href="#ideas-Lextuga007" title="Ideas, Planning, & Feedback">🤔</a> <a href="#userTesting-Lextuga007" title="User Testing">📓</a></td>
165172
</tr>
166173
<tr>

0 commit comments

Comments
 (0)