The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Package {obrotomierz}


Type: Package
Title: Open Data on Polish Savings Bonds and Retail Government Bonds
Version: 0.1.0
Description: Reads the open datasets published by 'obrotomierz.pl' under the CC BY 4.0 licence https://obrotomierz.pl/en/data/api/: every Polish retail treasury savings bond issue since 1999 with its interest rates and the realised return of every matured series, retail government bonds in all 195 countries with the amounts held by individuals in 16 of them, annual contribution limits for Polish individual retirement accounts (IKE and IKZE) since 2004, interest earned on cash by Polish local governments, and current account fees and opening bonuses at banks in the 27 European Union countries. Each dataset is also archived on 'Zenodo' with a DOI.
License: MIT + file LICENSE
URL: https://obrotomierz.pl/en/data/api/, https://obrotomierz.pl/dane/
Depends: R (≥ 3.5.0)
Imports: utils
Encoding: UTF-8
Language: en-GB
NeedsCompilation: no
Packaged: 2026-11-11 15:39:11 UTC; Lenovo
Author: Rafał Błażewski ORCID iD [aut, cre]
Maintainer: Rafał Błażewski <rafal@blazewski.com>
Repository: CRAN
Date/Publication: 2026-12-02 12:50:15 UTC

Open Data on Polish Savings Bonds and Retail Government Bonds

Description

Reads the open datasets published by ‘⁠obrotomierz.pl⁠’ under the CC BY 4.0 licence. Each function downloads one CSV file from https://obrotomierz.pl/dane/ and returns it as a data frame. Column names are in Polish, as in the published files; every dataset page explains each column.

Use obr_datasets to list the datasets with their DOIs, obr_files to list the files and obr_read to read any of them.

Licence of the data

The data are published under CC BY 4.0: cite ‘⁠obrotomierz.pl⁠’ and the dataset (its page or DOI). The package code is under the MIT licence.

Author(s)

Rafał Błażewski rafal@blazewski.com

See Also

https://obrotomierz.pl/en/data/api/


List the Datasets and Files

Description

obr_datasets() lists the open datasets with their pages and DOIs. obr_files() lists the CSV files that obr_read can read. Both work offline.

Usage

obr_datasets()

obr_files(dataset = NULL)

Arguments

dataset

optional character vector of dataset names (see the dataset column of obr_datasets()) to keep only their files.

Value

obr_datasets(): a data frame with columns dataset, title, page and doi (the DOI of all versions on Zenodo; NA if the dataset has none).

obr_files(): a data frame with columns dataset, file, description and url.

Examples

obr_datasets()
obr_files("obligacje")

Read a Dataset File

Description

Downloads one CSV file of an ‘⁠obrotomierz.pl⁠’ dataset and returns it as a data frame. The shortcut functions read the most used files.

Usage

obr_read(file, dataset = NULL, quiet = TRUE)

obr_bond_issues()
obr_bond_rates()
obr_bond_results()
obr_world_countries()
obr_world_outstanding()
obr_world_outstanding_series()
obr_ike_limits()
obr_local_interest()
obr_eu_banks()

Arguments

file

file name as in obr_files, either alone ("emisje") or with the dataset ("obligacje/emisje"); a trailing .csv is ignored.

dataset

optional dataset name, needed only when the file name alone is ambiguous.

quiet

passed to download.file.

Details

The shortcuts read these files:

The files always contain the latest version of each dataset. Earlier versions are archived on Zenodo (see obr_datasets).

Value

A data frame with the columns of the file (names in Polish, explained on the dataset page) and the attribute "source" holding the URL. If the file cannot be downloaded, a message is shown and NULL is returned invisibly.

Examples


issues <- obr_read("obligacje/emisje")
if (!is.null(issues)) head(issues[, c("seria", "rodzina", "marza_pct")])

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.