Skip to contents

sdg_geoarea_data() provides a data frame of all series available for a specific geoArea. Must provide either an M49 area code or name, corresponding to the UN SD standards. You can search for valid codes and names using sdg_geoareas().

Usage

sdg_geoarea_data(area_code = NULL, area_name = NULL, returns = "all")

Arguments

area_code

M49 code for a specific geoArea.

area_name

M49 name for a specific geoArea. Recommended to use code instaed since the name must exactly match.

returns

String specifying the level of detail to return. "all" (default) and "series" returns full details, while "indicators", "targets", and "goals" provides details only to the specified level. Beyond that level, values are summarized by their availability on the UN SDG database (e.g # of targets available under each goal).

Value

A data frame.