fill_choropleth: A Choropleth Filling Function

Description Usage Arguments Examples

View source: R/wide_fill_choropleth.R

Description

Occasionally you'll encounter a dataset that only has a value of interest at a single point in time, but you'd like to maintain that value for the duration of the timeline (e.g., discovery of a rare earth mineral deposit). This function allows you to create a wide dataframe that will maintain the value through the entire timeline. Please note that this is not a substitute for statistical techniques or to handle missing values. For those such instances, use the interpolate_choropleth() function.

Usage

1
fill_choropleth(dataframe)

Arguments

dataframe

Specify the name of the dataframe that you'd like to fill.

Examples

1
2
3
4
## Not run: 
filled_df <- fill_choropleth(dataframe)

## End(Not run)

andrewcberkley/EarthTimeR documentation built on Dec. 19, 2021, 3:33 a.m.