Description Usage Arguments Value
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).
1 | flatten_m49(m49df)
|
m49df |
is a data frame referring to raw m49, or fao adapted m49 |
This function returns a dataframe containing the flattened m49 data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.