choropleth: A Choropleth Function

Description Usage Arguments Examples

View source: R/choropleth_function.R

Description

This function allows for the transformation of a long dataframe into a wide dataframe for an EarthTime choropleth.

Usage

1
choropleth(dataframe, date, value)

Arguments

dataframe

Specify the name of the long data frame you wish to format.

date

Specify the name of the date column.

value

Specify the name of the value you'd like to spread across the wide data frame.

Examples

1

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