fone: Return Finances One API data

View source: R/fone.R

fone_datasetR Documentation

Return Finances One API data

Description

Return Finances One API data

Usage

fone_dataset(dataset_id, resource_id, ..., limit = NULL)

fone_view(view_id, ..., limit = NULL)

Arguments

dataset_id

(character(1))
The ID of the associated dataset.

resource_id

(character(1))
The ID of the associated resource.

...

(any)
Additional arguments passed to the request.

limit

(NULL | integer(1))
The maximum number of rows to return. Default NULL. If NULL, all rows are returned.

view_id

(character(1))
The ID of the view.

Value

A data.frame() with the requested dataset.

Source

https://financesone.worldbank.org/data

Examples

## Not run: 
# get dataset data
dataset <- fone_dataset(dataset_id = "DS00047", resource_id = "RS00005")
head(dataset)

# get view data
view <- fone_view(view_id = "DS01538")
head(view)

## End(Not run)

worldbank documentation built on June 29, 2026, 9:07 a.m.