plot_pyramid: A plotting Function for Population Pyramids

Description Usage Arguments Examples

View source: R/plot_pyramid.r

Description

This function pulls down census population data and puts it into a nice dataframe.

Usage

1
plot_pyramid(country.frame, plot.title = "Population Pyramid", plotly = F)

Arguments

country.frame

Enter dataframe generated from get_data()

plot.title

(optional) title of plot

Examples

1
plot_pyramid(iraq.frame, 'Iraq Population Pyramid')

istresearch/popPyramidz documentation built on May 6, 2019, 10:35 a.m.