phsopendata
Extract from the Scottish Health and Social Care Open Data Platform
Description
Extract and interact with data from the Scottish Health and Social Care Open Data platform <https://www.opendata.nhs.scot>.
Downloads
223
Last 30 days
22014th
681
Last 90 days
21.2K
Last year
Trend: -14.2% (30d vs prior 30d)
0
Last 30 days
25
Last 90 days
92
Last year
Trend: -100% (30d vs prior 30d)
3
Last 7 days
8
Last 30 days
1
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 25, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 24, 2026
examples
Running examples in ‘phsopendata-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_dataset_additional_info
> ### Title: get a datasets additional info
> ### Aliases: get_dataset
...[truncated]...
rl::curl_fetch_memory(url, handle = handle) :
Failure when receiving data from the peer [www.opendata.nhs.scot]:
Recv failure: Connection reset by peer
Calls: withAutoprint ... get_dataset_additional_info -> phs_GET -> <Anonymous>
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code & tests
Open call graph →Code intelligence has not been computed for this package yet.
Code
Structure
Lines of code
3,102
Files
61
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
8
Internal functions
14
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.95
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
0%
Roxygen coverage
87.5%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
80%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
–
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
5
First release
2025-09-01
Latest release
2026-05-06
Avg cadence
75 days
Cold removal rate
–
Dep drift
2
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.