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

Found 185 packages in 0.06 seconds

aemo — by Charles Coverdale, 2 months ago

Download Australian Energy Market Operator Data

Fetch Australian Energy Market Operator (AEMO) public data from 'NEMweb' < http://nemweb.com.au> and the Market Management System Data Model (MMSDM) historical archive. Provides tidy access to 5-minute and 30-minute wholesale electricity prices, regional demand, dispatch-unit output, interconnector flows, rooftop photovoltaic generation, generator bids, predispatch forecasts, frequency control ancillary services markets, and gas market data across the National Electricity Market (NEM) regions. Data is published by AEMO under its Copyright Permissions Notice < https://www.aemo.com.au/privacy-and-legal-notices/copyright-permissions>.

ons — by Charles Coverdale, 5 months 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.

ivcheck — by Charles Coverdale, 2 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.

comtrade — by Charles Coverdale, 4 months ago

Access and Analyse UN Comtrade International Trade Data

Download and analyse international merchandise and services trade data from the United Nations Comtrade database < https://comtradeplus.un.org/>. Retrieve bilateral trade flows, compute trade analytics (revealed comparative advantage, trade concentration, trade balance), and convert between commodity classifications (HS, SITC, BEC). Covers 200+ reporter countries, 60+ years of goods trade data (1962-present), and services trade via EBOPS. Works without registration for basic queries. A free API key from < https://comtradedeveloper.un.org/> unlocks full access.

cer — by Charles Coverdale, 3 months 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, 3 months 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) .

ato — by Charles Coverdale, 3 months ago

Download and Tidy Australian Taxation Office Data

Fetch Australian Taxation Office ('ATO') Taxation Statistics and related datasets via the 'data.gov.au' Comprehensive Knowledge Archive Network ('CKAN') API < https://data.gov.au/data/api/3/>. Provides tidy access to individual, company, superannuation, goods and services tax ('GST'), fringe benefits tax ('FBT'), Voluntary Tax Transparency Code ('VTTC'), Pay As You Go ('PAYG') withholding, charity, excise, and Corporate Tax Transparency data, plus Division 293, Petroleum Resource Rent Tax, Medicare Levy Surcharge, fuel tax credits, compliance, and Working Holiday Maker aggregates. Includes reproducibility helpers (snapshot pinning, SHA-256 cache integrity, session manifest, optional 'Zenodo' deposit), classification crosswalks ('ANZSIC' 2006 to 2020, 'ANZSCO' 2013 to 2021), panel harmonisation, reconciliation against Final Budget Outcome totals, and real-terms and per-capita helpers backed by bundled Australian Bureau of Statistics ('ABS') Consumer Price Index and Estimated Resident Population series. Bridges to the 'taxstats' 2 per cent microdata sample via column-schema mapping. Data is published by the Australian Taxation Office under Creative Commons Attribution 2.5 Australia or 3.0 Australia licences (dataset-dependent).

readimf — by Charles Coverdale, 2 months ago

Access International Monetary Fund Data via the 'SDMX' 3.0 API

Download macroeconomic and financial statistics from the International Monetary Fund data portal (< https://data.imf.org>), served through an 'SDMX' 3.0 REST API. Provides a tidy interface to the Fund's flagship databases, beginning with the World Economic Outlook, and reads the compact 'SDMX-CSV' representation of each query for fast, dependency-light parsing.

ukhousing — by Charles Coverdale, 4 months ago

Access UK Housing Data from Land Registry, EPC, and Planning

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/>, domestic and non-domestic Energy Performance Certificates from the 'MHCLG' Open Data service < https://epc.opendatacommunities.org/>, and planning application, brownfield land, and local plan data from 'planning.data.gov.uk' < https://www.planning.data.gov.uk/>. 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.

yieldcurves — by Charles Coverdale, 4 months ago

Yield Curve Fitting, Analysis, and Decomposition

Fits yield curves using Nelson-Siegel (1987) , Svensson (1994) , and cubic spline methods. Extracts forward rates, discount factors, and par rates from fitted curves. Computes duration and convexity risk measures. Computes Z-spread and key rate durations. Provides principal component decomposition following Litterman and Scheinkman (1991) , carry and roll-down analysis, and slope measures. All methods are pure computation with no external dependencies beyond base R; works with yield data from any source.