{
  "_id": "6a1ef94bb401979e73417fbd",
  "Package": "readsdr",
  "Type": "Package",
  "Title": "Translate Models from System Dynamics Software into 'R'",
  "Version": "0.3.0.9001",
  "Authors@R": "person(\"Jair\", \"Andrade\", email = \"jair.albert.andrade@gmail.com\", \nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-1412-7868\"))",
  "Description": "The goal of 'readsdr' is to bridge the design capabilities\nfrom specialised System Dynamics software with the powerful\nnumerical tools offered by 'R' libraries. The package\naccomplishes this goal by parsing 'XMILE' files ('Vensim' and\n'Stella') models into 'R' objects to construct networks (graph\ntheory); 'ODE' functions for 'Stan'; and inputs to simulate via\n'deSolve' as described in Duggan (2016)\n<doi:10.1007/978-3-319-34043-2>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.1",
  "BugReports": "https://github.com/jandraor/readsdr/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://jandraor.r-universe.dev",
  "Date/Publication": "2024-05-25 18:51:26 UTC",
  "RemoteUrl": "https://github.com/jandraor/readsdr",
  "RemoteRef": "HEAD",
  "RemoteSha": "5cba7ef2d9cdca426bed4d2d2836ebeab1cf58eb",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 10:39:26 UTC",
    "User": "root"
  },
  "Author": "Jair Andrade [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1412-7868>)",
  "Maintainer": "Jair Andrade <jair.albert.andrade@gmail.com>",
  "MD5sum": "97a60a64de2faabad1b440f8c45e2f4b",
  "_user": "jandraor",
  "_type": "src",
  "_file": "readsdr_0.3.0.9001.tar.gz",
  "_fileid": "7816759dfac3853c37b191a16def809151dbfc533314c6a421b204fd149cee2c",
  "_filesize": 513905,
  "_sha256": "7816759dfac3853c37b191a16def809151dbfc533314c6a421b204fd149cee2c",
  "_created": "2026-05-18T10:39:26.000Z",
  "_published": "2026-06-02T15:39:55.215Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79110607241,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7055648748"
    },
    {
      "job": 79110607246,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055638025"
    },
    {
      "job": 79110607442,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7055647104"
    },
    {
      "job": 79110607156,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055625751"
    },
    {
      "job": 79110606380,
      "time": 203,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055588058"
    },
    {
      "job": 79110606274,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7362557862"
    },
    {
      "job": 79110606960,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7055626637"
    },
    {
      "job": 79110608305,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7075731794"
    },
    {
      "job": 79110607680,
      "time": 200,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055660555"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jandraor/actions/runs/26028269215",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jandraor/readsdr",
  "_commit": {
    "id": "5cba7ef2d9cdca426bed4d2d2836ebeab1cf58eb",
    "author": "Jair Andrade <jair.albert.andrade@gmail.com>",
    "committer": "Jair Andrade <jair.albert.andrade@gmail.com>",
    "message": "Allow constraning pars from other pars in sd_Bayes\n",
    "time": 1716663086
  },
  "_maintainer": {
    "name": "Jair Andrade",
    "email": "jair.albert.andrade@gmail.com",
    "login": "jandraor",
    "linkedin": "in/jandraor",
    "orcid": "0000-0002-1412-7868",
    "twitter": "@jandraor",
    "description": "Postdoctoral researcher at University of Cambridge.\n\n",
    "uuid": 11306509
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "deSolve",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "truncnorm",
      "role": "Suggests"
    }
  ],
  "_owner": "jandraor",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "stan",
    "system-dynamics"
  ],
  "_stars": 20,
  "_contributors": [
    {
      "user": "jandraor",
      "count": 323,
      "uuid": 11306509
    }
  ],
  "_userbio": {
    "uuid": 11306509,
    "type": "user",
    "name": "Jair Andrade",
    "description": "Postdoctoral researcher at University of Cambridge.\r\n\r\n"
  },
  "_downloads": {
    "count": 223,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/readsdr"
  },
  "_devurl": "https://github.com/jandraor/readsdr",
  "_searchresults": 60,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/readsdr.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jandraor/readsdr",
  "_realowner": "jandraor",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-06-12"
    },
    {
      "version": "0.2.0",
      "date": "2021-01-08"
    },
    {
      "version": "0.3.0",
      "date": "2024-04-05"
    }
  ],
  "_exports": [
    "%>%",
    "create_stan_function",
    "expit",
    "extract_timeseries_stock",
    "extract_timeseries_var",
    "inv",
    "logit",
    "read_xmile",
    "sd_Bayes",
    "sd_conf_intervals",
    "sd_constants",
    "sd_data_generator_fun",
    "sd_fixed_delay",
    "sd_impact_inputs",
    "sd_interpret_estimates",
    "sd_loglik_fun",
    "sd_measurements",
    "sd_net_change",
    "sd_posterior_fun",
    "sd_prior",
    "sd_prior_checks",
    "sd_pulse_s",
    "sd_pulse_train",
    "sd_pulse_v",
    "sd_sensitivity_run",
    "sd_simulate",
    "sd_stocks",
    "sd_what_if_from_time",
    "stan_ode_function",
    "timestep",
    "xmile_to_deSolve"
  ],
  "_datasets": [
    {
      "name": "Maryland",
      "title": "Influenza in Maryland during the 1918 pandemic",
      "object": "Maryland",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Date",
        "Baltimore",
        "Cumberland",
        "Lonaconing",
        "Frederick",
        "Salisbury"
      ],
      "rows": 91,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "create_stan_function",
      "title": "Create a Stan's ODE function from an XMILE file",
      "topics": [
        "create_stan_function"
      ]
    },
    {
      "page": "expit",
      "title": "Expit transformation",
      "topics": [
        "expit"
      ]
    },
    {
      "page": "extract_timeseries_stock",
      "title": "Extract the values over time of a stock from a Stan fit",
      "topics": [
        "extract_timeseries_stock"
      ]
    },
    {
      "page": "extract_timeseries_var",
      "title": "Extract the values over time of a variable from a Stan fit",
      "topics": [
        "extract_timeseries_var"
      ]
    },
    {
      "page": "inv",
      "title": "Inverse of a number",
      "topics": [
        "inv"
      ]
    },
    {
      "page": "logit",
      "title": "Logit transformation",
      "topics": [
        "logit"
      ]
    },
    {
      "page": "Maryland",
      "title": "Influenza in Maryland during the 1918 pandemic",
      "topics": [
        "Maryland"
      ]
    },
    {
      "page": "read_xmile",
      "title": "Read an XMILE file into R",
      "topics": [
        "read_xmile"
      ]
    },
    {
      "page": "sd_Bayes",
      "title": "Create Stan file for Bayesian inference",
      "topics": [
        "sd_Bayes"
      ]
    },
    {
      "page": "sd_conf_intervals",
      "title": "Calculate confidence intervals",
      "topics": [
        "sd_conf_intervals"
      ]
    },
    {
      "page": "sd_constants",
      "title": "Summarise the information of a model's constants in a data frame",
      "topics": [
        "sd_constants"
      ]
    },
    {
      "page": "sd_data_generator_fun",
      "title": "Function factory for SBC",
      "topics": [
        "sd_data_generator_fun"
      ]
    },
    {
      "page": "sd_fixed_delay",
      "title": "Fixed delay",
      "topics": [
        "sd_fixed_delay"
      ]
    },
    {
      "page": "sd_impact_inputs",
      "title": "Construct inputs for performing structural analysis via the impact method",
      "topics": [
        "sd_impact_inputs"
      ]
    },
    {
      "page": "sd_interpret_estimates",
      "title": "Interpret estimates",
      "topics": [
        "sd_interpret_estimates"
      ]
    },
    {
      "page": "sd_loglik_fun",
      "title": "Generate a log-likelihood function for an SD model",
      "topics": [
        "sd_loglik_fun"
      ]
    },
    {
      "page": "sd_measurements",
      "title": "Generate measurements",
      "topics": [
        "sd_measurements"
      ]
    },
    {
      "page": "sd_net_change",
      "title": "Estimate the net change of a stock in discrete times",
      "topics": [
        "sd_net_change"
      ]
    },
    {
      "page": "sd_posterior_fun",
      "title": "Posterior function",
      "topics": [
        "sd_posterior_fun"
      ]
    },
    {
      "page": "sd_prior",
      "title": "Specify priors for the estimated parameters.",
      "topics": [
        "sd_prior"
      ]
    },
    {
      "page": "sd_prior_checks",
      "title": "Prior predictive checks",
      "topics": [
        "sd_prior_checks"
      ]
    },
    {
      "page": "sd_pulse_s",
      "title": "Replicate the behaviour of the PULSE function from Stella",
      "topics": [
        "sd_pulse_s"
      ]
    },
    {
      "page": "sd_pulse_train",
      "title": "PULSE TRAIN",
      "topics": [
        "sd_pulse_train"
      ]
    },
    {
      "page": "sd_pulse_v",
      "title": "Replicate the behaviour of the PULSE function from Vensim",
      "topics": [
        "sd_pulse_v"
      ]
    },
    {
      "page": "sd_sensitivity_run",
      "title": "Perform a sensitivity run on a System Dynamics model",
      "topics": [
        "sd_sensitivity_run"
      ]
    },
    {
      "page": "sd_simulate",
      "title": "Simulate a System Dynamics model",
      "topics": [
        "sd_simulate"
      ]
    },
    {
      "page": "sd_stocks",
      "title": "Summarise the information of a model's stocks in a data frame",
      "topics": [
        "sd_stocks"
      ]
    },
    {
      "page": "sd_what_if_from_time",
      "title": "What if from time t we change the value of some parameters",
      "topics": [
        "sd_what_if_from_time"
      ]
    },
    {
      "page": "stan_ode_function",
      "title": "Create Stan ODE function",
      "topics": [
        "stan_ode_function"
      ]
    },
    {
      "page": "xmile_to_deSolve",
      "title": "Parse XMILE to deSolve components",
      "topics": [
        "xmile_to_deSolve"
      ]
    }
  ],
  "_readme": "https://github.com/jandraor/readsdr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "deSolve",
    "digest",
    "dplyr",
    "future",
    "future.apply",
    "generics",
    "globals",
    "glue",
    "lifecycle",
    "listenv",
    "magrittr",
    "parallelly",
    "pillar",
    "pkgconfig",
    "progressr",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "Introduction_to_readsdr.Rmd",
      "filename": "Introduction_to_readsdr.html",
      "title": "Introduction to readsdr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model: SIR"
      ],
      "created": "2020-04-06 22:18:57",
      "modified": "2024-04-05 15:31:13",
      "commits": 10
    }
  ],
  "_score": 5.778151250383644,
  "_indexed": true,
  "_nocasepkg": "readsdr",
  "_universes": [
    "jandraor"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0.9001",
      "date": "2026-05-18T10:42:05.000Z",
      "distro": "noble",
      "commit": "5cba7ef2d9cdca426bed4d2d2836ebeab1cf58eb",
      "fileid": "1f30758588b58972f142122b3296e345ef326dd4f4b01fe4efbf74d5937b211e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jandraor/actions/runs/26028269215"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0.9001",
      "date": "2026-05-18T10:41:38.000Z",
      "distro": "noble",
      "commit": "5cba7ef2d9cdca426bed4d2d2836ebeab1cf58eb",
      "fileid": "a125ea16c15e8460c75f41574a442a228302d04036add5fa38f6318f38e52640",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jandraor/actions/runs/26028269215"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0.9001",
      "date": "2026-05-18T10:42:00.000Z",
      "commit": "5cba7ef2d9cdca426bed4d2d2836ebeab1cf58eb",
      "fileid": "999466077528ae493fd6a43fe3b46332da29a09e54d7d1164e0f1c61cb58aba2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jandraor/actions/runs/26028269215"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0.9001",
      "date": "2026-05-18T10:41:12.000Z",
      "commit": "5cba7ef2d9cdca426bed4d2d2836ebeab1cf58eb",
      "fileid": "4163a8def98877a6bf609a86ccd5b7c96732c793f59df1c5e9aa2b6a137c74b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jandraor/actions/runs/26028269215"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0.9001",
      "date": "2026-05-18T10:40:54.000Z",
      "commit": "5cba7ef2d9cdca426bed4d2d2836ebeab1cf58eb",
      "fileid": "c803da8cb453e78b0b8ac0cd1746653e2996c2de6136fb601882fc4ade10adff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jandraor/actions/runs/26028269215"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0.9001",
      "date": "2026-05-19T05:42:11.000Z",
      "commit": "5cba7ef2d9cdca426bed4d2d2836ebeab1cf58eb",
      "fileid": "764f64e8c5fe46a92768c737ef44617a5d3dd56885ed0db9b3fe03b1524d0aab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jandraor/actions/runs/26028269215"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0.9001",
      "date": "2026-05-18T10:42:25.000Z",
      "commit": "5cba7ef2d9cdca426bed4d2d2836ebeab1cf58eb",
      "fileid": "464e8f7b6f07b87e7eb0a9eed1dd367bc190ffee82acb376550a9f50303860a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jandraor/actions/runs/26028269215"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0.9001",
      "date": "2026-06-02T15:39:40.000Z",
      "commit": "5cba7ef2d9cdca426bed4d2d2836ebeab1cf58eb",
      "fileid": "714f46893f33298d3f3284dcd7422ece3320730ecf8ddb2c9f48445bc8fb00ee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jandraor/actions/runs/26028269215"
    }
  ]
}