Examples: visualization, C++, networks, data cleaning, html widgets, ropensci.

Found 189 packages in 0.01 seconds

carbondata — by Charles Coverdale, a month ago

Access Carbon Market Data from Emissions Trading Systems and Voluntary Registries

Unified access to carbon market data from compliance emissions trading systems ('EU ETS', 'UK ETS', 'RGGI', California Cap-and-Trade) and voluntary carbon markets (Verra, Gold Standard, American Carbon Registry, Climate Action Reserve, via the Berkeley Voluntary Registry Offsets Database and the 'CarbonPlan' 'OffsetsDB' API). Includes cross-market price data from the 'International Carbon Action Partnership' ('ICAP') Allowance Price Explorer < https://icapcarbonaction.com/en/ets-prices>, global carbon pricing from the World Bank Carbon Pricing Dashboard < https://carbonpricingdashboard.worldbank.org/>, and the historical 'RFF' World Carbon Pricing Database following Dolphin, Pollitt and Newbery (2020) . Data is downloaded from public sources on first use and cached locally.

hmrc — by Charles Coverdale, a month ago

Download and Tidy 'HMRC' Statistical Data

Provides functions to download, parse, and tidy statistical data published by 'HM Revenue and Customs' ('HMRC') on 'GOV.UK'. Returns annotated 'hmrc_tbl' data frames with provenance metadata (source URL, publication date, fetch time, cell methods) for reproducible fiscal research. Covers monthly tax receipts (42 series), 'VAT' (from 1973), fuel duties (from 1990), tobacco duties (from 1991), 'Corporation Tax' receipts, stamp duty, research and development tax credits (from 2000), tax gap estimates (from 2005), 'Income Tax' liabilities by income range, Capital Gains Tax, Inheritance Tax, the Patent Box, creative industries reliefs, and monthly property transaction counts. File URLs are resolved at runtime via the 'GOV.UK' Content API < https://www.gov.uk/api/content>, so data is always current without hardcoded URLs. Files are cached locally between sessions.

cer — by Charles Coverdale, 25 days ago

Download and Tidy Australian Clean Energy Regulator Data

Fetch Australian Clean Energy Regulator data on carbon credits, safeguard mechanism facilities, renewable energy certificates, and greenhouse gas reporting. Provides tidy access to the Australian Carbon Credit Unit (ACCU) Scheme project register, Safeguard Mechanism baselines and covered emissions, Large-scale Renewable Energy Target (LRET) power station accreditations, Small-scale Renewable Energy Scheme (SRES) installation data, the National Greenhouse and Energy Reporting (NGER) scheme, and Quarterly Carbon Market Reports < https://cer.gov.au/markets/reports-and-data>. Includes a post-Chubb ACCU integrity layer (Chubb 2022 Independent Review), Safeguard reform handling (declining industry baselines from July 2023), National Greenhouse and Energy Reporting scope discipline (Scope 1 / Scope 2 market vs location / Climate Active), reconciliation against the Quarterly Carbon Market Report, and reproducibility helpers (snapshot pinning, SHA-256 cache integrity, session manifest, optional Zenodo deposit). Data is published by the Clean Energy Regulator under a Creative Commons Attribution 4.0 International licence.

climatekit — by Charles Coverdale, a month ago

Unified Climate Indices for Temperature, Precipitation, and Drought

Compute the standard suite of climate indices from daily weather observations. Provides the canonical 'ETCCDI' 27 (Expert Team on Climate Change Detection and Indices), the 'ET-SCI' heatwave and cold-wave families plus the Excess Heat Factor of Nairn and Fawcett (2013), and agroclimatic, drought, and human-comfort families. Drought indices ('SPI', 'SPEI') accept a choice of distribution (gamma or Pearson III for SPI; log-logistic or generalised extreme value for SPEI). Reference evapotranspiration is available via Hargreaves and the FAO-56 Penman-Monteith method (Allen et al. 1998). Percentile-based indices support the Zhang (2005) in-base bootstrap. Daily inputs are numeric vectors plus a 'Date' vector; outputs are tidy data frames. Optional gridded support via 'terra' applies any index over a 'SpatRaster' and reads 'netCDF' input. No external API calls; pairs with data packages such as 'readnoaa'. References: Alexander et al. (2006) ; Zhang et al. (2011) ; Zhang et al. (2005) .

ons — by Charles Coverdale, a month ago

Download Data from the 'Office for National Statistics'

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.

inflationkit — by Charles Coverdale, a month ago

Inflation Decomposition, Core Measures, and Trend Estimation

Tools for analysing inflation dynamics. Computes weighted contributions of price index components, core inflation measures (trimmed mean, weighted median, exclusion-based) following Bryan and Cecchetti (1994), inflation persistence via sum-of-AR-coefficients, diffusion indices, Phillips curve estimation, breakeven inflation, and trend inflation using the Beveridge-Nelson decomposition and Hodrick-Prescott filter. All functions are pure computation and work with price data from any source.

boe — by Charles Coverdale, 4 months ago

Download Data from the 'Bank of England' Statistical Database

Provides functions to download and tidy statistical data published by the 'Bank of England' < https://www.bankofengland.co.uk>. Covers Bank Rate, 'SONIA', gilt yields, exchange rates, mortgage rates, mortgage approvals, consumer credit, and money supply. Series are fetched from the 'Bank of England Interactive Statistical Database' using its CSV endpoint. Data is cached locally between sessions.

ivcheck — by Charles Coverdale, 6 months ago

Tests for Instrumental Variable Validity

Implements tests for the identifying assumptions of instrumental variable models, the local exclusion restriction and monotonicity conditions required for local average treatment effect identification. Covers Kitagawa (2015) , Mourifie and Wan (2017) , and Frandsen, Lefgren, and Leslie (2023) . Includes a one-shot wrapper that runs all applicable tests on a fitted instrumental variable model. Dispatches on 'fixest' and 'ivreg' model objects.

ukhousing — by Charles Coverdale, 24 days ago

Access UK Housing Data from Land Registry, Planning, and 'ONS'

Fetch UK housing data from official sources. Access the UK House Price Index and Price Paid Data from 'HM Land Registry' < https://landregistry.data.gov.uk/>, planning application, brownfield land, and local plan data from 'planning.data.gov.uk' < https://www.planning.data.gov.uk/>, and the Price Index of Private Rents from the 'Office for National Statistics'. Data covers all 441 UK local authorities from 1995 to the present. Functions accept flexible filters (postcode, local authority, property type, date range) and return tidy data frames. Downloaded data is cached locally for subsequent calls.

debtkit — by Charles Coverdale, a month ago

Debt Sustainability Analysis and Fiscal Risk Assessment

Analyses government debt sustainability using the standard debt dynamics framework from Blanchard (1990) and the IMF Debt Sustainability Analysis methodology (IMF, 2013) and the Sovereign Risk and Debt Sustainability Framework (IMF, 2022). Projects debt-to-GDP paths, decomposes historical debt changes into interest, growth, and primary balance contributions, and estimates fiscal reaction functions following Bohn (1998) . Produces stochastic fan charts via Monte Carlo simulation, standardised stress tests, and IMF- style heat map risk assessments. Computes S1/S2 sustainability gap indicators used by the European Commission. All methods are pure computation with no external dependencies beyond base R; works with fiscal data from any source.