You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Reorganize documentation for clarity and maintainability (#101)
This commit reorganizes the documentation to improve clarity, reduce
duplication, and make it easier to maintain.
The key changes are:
- The main README.md has been simplified to provide a concise project
overview, installation instructions, and a link to the full
documentation.
- Detailed CLI documentation has been moved from the README.md to a
dedicated `docs/user_guide` section.
- The `mkdocs.yml` file has been updated to reflect the new, nested
documentation structure.
- A new `docs/about.md` file has been created to provide information
about the documentation's structure.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+6-133Lines changed: 6 additions & 133 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@
2
2
3
3
# Reproschema Python library and Command Line Interface (CLI)
4
4
5
+
The `reproschema-py` library provides a Python interface and a command-line tool to work with ReproSchema, a YAML-based framework for creating and managing reproducible research protocols.
6
+
7
+
For more information, see the [full documentation](https://ReproNim.github.io/reproschema-py/).
-`<input_dir_path>`: The path to the root folder of a protocol. For example, to convert the reproschema-demo-protocol provided by ReproNim, you can use the following commands:
The `redcap2reproschema` function is designed to process a given REDCap CSV file and YAML configuration to generate the output in the reproschema format.
102
-
103
-
### Prerequisites
104
-
Before the conversion, ensure you have the following:
105
-
106
-
**YAML Configuration File**:
107
-
- Download [templates/redcap2rs.yaml](templates/redcap2rs.yaml) and fill it out with your protocol details.
108
-
109
-
### YAML File Configuration
110
-
In the `templates/redcap2rs.yaml` file, provide the following information:
111
-
112
-
-**protocol_name**: A unique identifier for your protocol. Use underscores for spaces and avoid special characters.
113
-
-**protocol_display_name**: Name that will appear in the application.
114
-
-**protocol_description**: A brief description of your protocol.
115
-
-**redcap_version**: Version of your redcap file (you can customize it).
116
-
117
-
Example:
118
-
```yaml
119
-
protocol_name: "My_Protocol"
120
-
protocol_display_name: "Assessment Protocol"
121
-
protocol_description: "This protocol is for assessing cognitive skills."
122
-
redcap_version: "X.XX.X"
123
-
```
124
-
### CLI Usage
125
-
126
-
The `redcap2reproschema` function has been integrated into a CLI tool, use the following command:
The `reproschema2fhir` function is designed to convert reproschema activities and items into a FHIR Questionnaire resource as seen [here](reproschema/example/fhir).
159
-
160
-
### CLI Usage
161
-
162
-
The `reproschema2fhir` function has been integrated into a CLI tool, use the following command:
For full documentation visit [Reproschema-py](https://github.com/ReproNim/reproschema-py).
4
-
reproschema requires Python 3.10+
5
-
6
-
## Project layout
7
-
mkdocs.yml # The configuration file.
8
-
docs/
9
-
index.md # The documentation homepage.
10
-
installation.md #A tutorial for installation.
11
-
cli_usage.md #Notes on CLI usage
12
-
reproschema2redcap.md #How to convert from reproschema to redcap
13
-
redcap2reproschema.md #How to convert from redcap to reproschema
14
-
output2redcap.md #How to convert the output into redcap
15
-
reproschema2fhir.md #How to convert the reproschema into an FHIR Questionnaire Resource
3
+
The `reproschema-py` library provides a Python interface and a command-line tool to work with ReproSchema, a YAML-based framework for creating and managing reproducible research protocols.
4
+
5
+
This documentation will guide you through the installation process, explain how to use the command-line interface, and provide information for developers who want to contribute to the project.
6
+
7
+
## Getting Started
8
+
9
+
If you are new to `reproschema-py`, we recommend starting with the **[Installation](installation.md)** guide, followed by the **[User Guide](user_guide/index.md)** to learn about the available commands.
0 commit comments