Skip to content

ons

0.1.3

Download Data from the 'Office for National Statistics'

0packages depend
2Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Charles CoverdaleFirst published 2026-03-122 releasesCRAN page ↗GitHub ↗

Provides functions to download and tidy statistical data published by the 'Office for National Statistics' <https://www.ons.gov.uk>. Covers GDP, inflation (CPI, CPIH, RPI), unemployment, employment, wages, trade, retail sales, house prices, productivity, population, and public sector finances. Most series are fetched from the 'ONS' website using its CSV time series endpoint. House price data is sourced from 'HM Land Registry' <https://www.gov.uk/government/organisations/land-registry>. Data is cached locally between sessions.

Install

Health

CRAN checks
13OK
Code health
Yes
Tests · ratio 0.28
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
Yes
README
3
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-13
    2 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2K
CRAN downloads in the past year
Rank #7,842 · ~6/day · ~170/mo
46130 days
1.5K90 days
2K1 year
Also on32 r2u11 autocran
Source & community
GitHub ↗

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (3)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code

2,436Lines of code
16Exported functions

Line coverage

Expression

Tests / Examples

Functions

29 16 exported

Complexity

2.9 avg / 13 max

Call network

29 nodes / 28 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Maintainer
Release timeline

2 releases. Pick two to compare their code metrics; R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.3Latest
    2026-03-18 · current release
  • 0.1.0
    2026-03-12

Package metadata

First published
2026-03-12
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet