Data + Code for "Evaluating health facility access using Bayesian spatial models and location analysis methods"
Description
These files contain r data objects and R files that represent the key details of the paper, "Evaluating health facility access using Bayesian spatial models and location analysis methods".
The following datasources are available for simulation of some of the ideas in the paper.
- dat_grid_sim: simulated data of the grid and grid cells
- dat_ohca_cv_sim: simulated data containing the cross validated test/training sets of OHCA data
- dat_ohca_sim: simulated OHCA event data
- dat_aed_sim: simulated AED location data
- dat_bldg_sim: simulated building location data
- dat_municipality_sim: simulated municipality information
- table_1: Table 1 information containing key demographic data
These data were produced using the code in 01-create-sim-data.R, and one of the statistical models is demonstrated in 02-demo-inla-model.
In terms of the paper itself, the functions and code used in the manuscript are located in:
* 01_tidy.Rmd - analysis code used to tidy up the data
* 02_fit_fixed_all_cv.Rmd - analysis code used to place AEDs
* 02_model.Rmd - analysis code used to fit the model in INLA
* 03_manuscript.Rmd - Full code and text used to create the paper
* 04_supp_materials.Rmd - full code and text used to create the supplementary materials
The following files are a part of an R package "swatial" that was developed along with the paper. These files are:
* DESCRIPTION
* NAMESPACE
* LICENSE
* LICENSE.md
* decay.R
* spherical-distance.R
* test-figure-data-matches.R
* test-table-data-matches.R
* testthat.R
* tidy-inla.R
* tidy-posterior-coefs.R
* tidy-predictions.R
* utils-pipe.R
* All files that end in .Rd are documentation files for the functions.
In the future, these functions from the paper may be generalised and put into their own package. If that happens, this repository will be updated with a link to updated functions.
Files
LICENSE.md
Files
(2.4 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:191acc263f1c50632321dbdbd44aef8a
|
9.4 kB | Download |
|
md5:e6c76d8cb83bc44e91b036d0feefa903
|
25.0 kB | Download |
|
md5:e85328fff2ca3d4ee11fe83c88e81549
|
1.2 kB | Download |
|
md5:45108054cd5508ae261fed1083d5e151
|
3.7 kB | Download |
|
md5:f909bb54b183af02dadd14aa128e783e
|
7.4 kB | Download |
|
md5:d100e873e7744f958d7aa5fd06ff01bf
|
71.9 kB | Download |
|
md5:66b57f08e38b883cd7a5e27fa191f1fe
|
14.0 kB | Download |
|
md5:fd02bf22ad3f3019eed10d366c49259f
|
5.2 kB | Download |
|
md5:d6121718125532faabd3223f65460c90
|
4.8 kB | Download |
|
md5:2422641bdd8146211f19274b4dffdc4d
|
1.9 MB | Download |
|
md5:d4a41128d676687d817a91609e15d654
|
5.6 kB | Download |
|
md5:1468766155f50d8968ea2c7cd7aefcaf
|
27.3 kB | Download |
|
md5:80814598ba62f662edc34eead01dcf80
|
5.2 kB | Download |
|
md5:f62840664f9efa04dd3055140ef05789
|
1.7 kB | Download |
|
md5:88da81c5a588c4c9e208d809cef99c71
|
2.0 kB | Download |
|
md5:b3e98e15ee68b1c160f9359c9ace9b7f
|
496 Bytes | Download |
|
md5:60acf06ee974f9666a7f52d55d8e09e5
|
46 Bytes | Download |
|
md5:07e09c6e8c34c4eb0a7b16c6a9167929
|
1.1 kB | Preview Download |
|
md5:180a89cfd3dc8cd4c584f5486ce985f5
|
266 Bytes | Download |
|
md5:e3141886a56ec55a93db34385d75ec66
|
46.4 kB | Download |
|
md5:1f7896a1b866ff9ae89ba35be7c7b6f1
|
256 Bytes | Download |
|
md5:0e13e016020eaa78bf5fdd8fbc46e792
|
15.3 kB | Preview Download |
|
md5:732efbee54b10a3a853e9f9643c0588e
|
283.2 kB | Download |
|
md5:622aa5e1029850ef6bd2cd441a7df964
|
10.3 kB | Download |
|
md5:97af9c6e916615da6fabe3ac333e8c5f
|
642 Bytes | Preview Download |
|
md5:c01cb47356b3d2c1f96cb964dafb362e
|
397 Bytes | Download |
|
md5:d6ee643ca2c361254bf81c0e6381cbf3
|
1.7 kB | Download |
|
md5:5d5a7e220161f64482af422d2f2f37b2
|
1.1 kB | Download |
|
md5:37ed1b920cee5326d75a08587be2776f
|
640 Bytes | Download |
|
md5:725562784f137cdef9731586af66921c
|
228 Bytes | Download |
|
md5:a0d9ced98c5593bb779ee6d4e5599bdc
|
340 Bytes | Download |
|
md5:66ea47c8076ff22557a5fd0ff6346572
|
1.7 kB | Download |
|
md5:53d3abf2f0931bc6b6690a861984e7f9
|
1.6 kB | Download |
|
md5:69a416d81c2ad3804265e65da99c120d
|
58 Bytes | Download |
|
md5:004c156c1a3dbe1867692d967678e48e
|
442 Bytes | Download |
|
md5:9e45955b343cac576b110d244eb4be36
|
2.0 kB | Download |
|
md5:5afcec2d60bedfd712495aeda06255cf
|
497 Bytes | Download |
|
md5:79950c39347185c300ed2c53eb990a7d
|
432 Bytes | Download |
|
md5:48b9110c826000eba247c284e0b8e8d7
|
615 Bytes | Download |
|
md5:093fa0a09ff079f3b784d0f0c963bc0f
|
391 Bytes | Download |
|
md5:38e62da8727abbbc5e626d42d5d5b237
|
258 Bytes | Download |