flatten_m49: flatten_m49

Description Usage Arguments Value

View source: R/flatten_m49.R

Description

This is function which takes as an input a dataframe containing data which contains the raw M49 data from scrape_m49, or adopted for FAO, and flattens it returning a dataframe with 3 columns containing the code, name, and level (region, intermediate region, subregion, global, or area).

Usage

1
flatten_m49(m49df)

Arguments

m49df

is a data frame referring to raw m49, or fao adapted m49

Value

This function returns a dataframe containing the flattened m49 data frame


michaelrahija/FAOSDGdata documentation built on June 14, 2020, 5:16 p.m.