Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.9%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: WelCode99
  • License: other
  • Language: Python
  • Default Branch: main
  • Size: 770 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created 9 months ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.md


Data and Code Repository for the Article [ARTICLE TITLE]

This repository contains the data and analysis code for the article titled "[ARTICLE TITLE]" submitted to the Cureus journal.

Repository Structure

  • /data: Contains the dataset used in the analysis.
    • FraturasCorrigido.csv: The processed dataset.
    • Fraturas.csv: Raw dataset extracted from DATASUS (generated by the R script).
  • /scripts: Contains the extraction and analysis scripts.
    • extracao_microdatasus.R: R script to extract and preprocess data from SIH-DATASUS.
    • analise.py: Python script to perform the descriptive analysis and generate the plots.
  • /documents: Contains supplementary documents.
    • ResultadosDaAnaliseArtigo.pdf: PDF with the detailed results of the analysis.
    • document.pdf: Article manuscript.
    • Código inicial de analise 20b1cce9e5718010aafeedd9b99b64b7.md: Original analysis code.
    • Differential Mortality Risk and Healthcare Costs Associated with Fragility Fracture Types.docx: Article manuscript (DOCX format).

How to Reproduce the Analysis

Prerequisites

  • Python 3.8 or higher.
  • R 4.0 or higher (only if you wish to run the data extraction from DATASUS).
  • The Python libraries listed in the requirements.txt file.
  • R packages: microdatasus, dplyr, readr (for extraction only).

Execution Steps

  1. Clone the repository:

    bash git clone https://github.com/WelCode99/CureusArticleFractures.git cd CureusArticleFractures

  2. For Python analysis:

    a. Create and activate a virtual environment (highly recommended):

    ```bash

    For macOS/Linux

    python3 -m venv venv source venv/bin/activate

    For Windows

    python -m venv venv .\venv\Scripts\activate ```

    b. Install the dependencies:

    bash pip install -r requirements.txt

    c. Run the analysis script:

    bash python scripts/analise.py

    The plots generated by the analysis will be displayed on the screen during the script's execution.

  3. For data extraction from DATASUS (optional):

    This step is only necessary if you wish to recreate the dataset from the original sources.

    ```bash

    In R or RStudio

    Rscript scripts/extracao_microdatasus.R ```

    Note: This process can take several hours, depending on your internet connection, as it downloads and processes data for 60 months (2019-2023).

Data Citation

If you use this data or code in your research, please cite the original article (once published) and this data repository.

Article Citation:

Author(s). (Year). Article Title. Cureus. DOI: [DOI_TO_BE_ASSIGNED]

Data Repository Citation:

Author(s). (Year). Data and Code for: "Article Title" [Data and software repository]. Zenodo. DOI: 10.5281/zenodo.15650904

License

The code in this repository is under the MIT license. The data is available under the Creative Commons Attribution 4.0 International (CC-BY-4.0) license. See the LICENSE file for more details.

Owner

  • Name: Welisson Barbosa Costa
  • Login: WelCode99
  • Kind: user
  • Location: Foz do Iguaçu, Paraná
  • Company: @UNILA

Practice medicine and love AI

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this repository, please cite it as below."
authors:
  - family-names: "Costa"
    given-names: "Welisson"
    orcid: "https://orcid.org/0000-0000-0000-0000" # Replace with your ORCID
title: "Data and Code for: Analysis of Fragility Fractures in Brazil"
version: 1.0.0
date-released: 2023-07-24
url: "https://github.com/WelCode99/CureusArticleFractures"
repository-code: "https://github.com/WelCode99/CureusArticleFractures"
doi: "10.5281/zenodo.15650904"
license:
  - MIT
  - CC-BY-4.0
keywords:
  - fragility fractures
  - epidemiology
  - datasus
  - public health
  - brazil

GitHub Events

Total
  • Release event: 1
  • Push event: 12
  • Create event: 1
Last Year
  • Release event: 1
  • Push event: 12
  • Create event: 1

Dependencies

requirements.txt pypi
  • matplotlib >=3.4.0
  • numpy >=1.21.0
  • openpyxl >=3.0.0
  • pandas >=1.3.0
  • seaborn >=0.11.0