compare_with_wdi: Compare with WDI

View source: R/compare_with_wdi.R

compare_with_wdiR Documentation

Compare with WDI

Description

Compare a dataset retrieved with fetch_indicator() with WDI.

Usage

compare_with_wdi(df)

Arguments

df

data.frame: A pddcs formatted data frame. Output of fetch_indicator().

Details

[Stable]

compare_with_wdi() returns a list of three data frames; the original dataset (source), the data retrieved from WDI (wdi) and the rows in the source dataset that are not present in WDI (not_in_wdi).

Value

list

Examples

# Compare SH.MLR.NETS.ZS data from UNICEF with WDI
data("bednets")
dl <- compare_with_wdi(bednets)
str(dl)

worldbank/pddcs documentation built on Nov. 20, 2024, 5:41 a.m.