Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • CONSORT Diagram

    Dear Statalist,

    Is is possible to create a CONSORT flow diagram in stata without specifying the coordinates of the box, arrows and the other objects?

    Thanks

  • #2
    Since you don't acknowledge it in your question, the output of
    Code:
    search consort
    matches the community contributed flowchart package, and clicking on the package name brings up the description, which tells us " The final diagram will be similar in style to the ones used in the CONSORT 2010 Statement or STROBE Statement Reporting Guidelines." But perhaps you are aware of it and looking for an alternative.

    Comment


    • #3
      You may also want to take a look at the consort package, which you can access from my Github repository:
      Code:
      net from "https://szabobarnaki.github.io/consort/"
      The package allows you to easily build a flowchart, node by node, without specifying the exact coordinates for the boxes. It allows a flexible number of parallel arms, optional exit branches for exclusions at every level, and adding custom arrows or any added plot you may need. You can format all text using the full spectrum of smcl codes available in graphs, with a small add-on for line breaks using {break} (see in the help file).

      The output is a regular Stata graph, created using twoway. You can export it in any file format that Stata supports, without the need of an external conversion program.

      Although I developed it primarily for creating a CONSORT flowchart, it can be used for any type of patient allocation diagram, like a STROBE flowchart with no splits but with the possibility to mark excluded subjects at each level of analysis, or you can create a custom, simple trial-design figure or decision tree. On Github (https://github.com/szabobarnaKI/consort), you can see some examples on how it looks like.

      Comment


      • #4
        There is also Tim Copeland's GitHub which has, among the other recently released group of packages, a consort diagram tool. I discovered this perusing his GitHub repo yesterday (though have not tried it myself). See https://github.com/tpcopeland/Stata-...e/main/consort

        Comment


        • #5
          Just wanted to note my package has Python dependency, but it makes it extremely easy to use, so I thought it was worth the bit of extra trouble!

          Comment

          Working...
          X