Skip to contents

A collection of spatial datasets containing information about health facilities in Thailand's Region 12 (Southern Border Provinces) for the year 2020 (B.E. 2563). The data is split into two complementary datasets: primary health centers (PHC) and hospitals.

Format

Both datasets are sf objects with point geometry (UTM zone 47N, EPSG:32647) containing the following variables:

id

Unique identifier for each facility (unordered!)

hoslvl

Factor indicating facility level: "1-Community", "2-General", "3-Regional"

bed

Number of hospital beds

s_doc

Number of doctors

s_dent

Number of dentists

s_nurse

Number of nurses

s_hv

Number of health volunteers

d_pop_moph

Total population in service area

d_pop_moph_60

Population aged 60 and above in service area

d_pop_moph_05

Population aged 0-5 in service area

geometry

Point geometry representing facility location

Source

Office of the Permanent Secretary, Ministry of Public Health. (2020). Government Open Data Services. Retrieved December 19, 2024, from https://opendata.moph.go.th

The dataset combines three main data sources from the MoPH API:

  • Facility locations and characteristics (GIS service)

  • Healthcare provider statistics

  • Population and service area statistics

Details

The data is split into two datasets:

hc12_phc: Primary Health Centers (n=819)

  • All facilities are level "1-Community"

  • No inpatient beds (bed = 0)

  • Typically staffed by 1-4 healthcare providers

  • Strong health volunteer presence (s_hv > 0)

  • Serves defined population catchments

hc12_hos: Hospitals (n=77)

  • Includes general (level 2) and regional hospitals (level 3)

  • Has inpatient beds (30-591 beds)

  • Larger healthcare workforce

  • Limited health volunteer involvement

  • Population data not available at facility level

Note

Variables are prefixed to indicate their type:

  • 's_': Supply indicators (healthcare workforce)

  • 'd_': Demand indicators (population statistics)

Examples

if (FALSE) { # \dontrun{
# Load the datasets
data(hc12_phc)
data(hc12_hos)

# Compare facility distributions
table(hc12_hos$hoslvl)

# Summary of healthcare workforce
summary(hc12_phc[c("s_doc", "s_nurse", "s_hv")])
summary(hc12_hos[c("s_doc", "s_nurse", "s_hv")])

# Plot facilities by type
library(ggplot2)
ggplot() +
  geom_sf(data = hc12_phc, aes(color = "PHC")) +
  geom_sf(data = hc12_hos, aes(color = "Hospital")) +
  scale_color_manual(values = c("PHC" = "blue", "Hospital" = "red")) +
  theme_minimal()
} # }