tidy_ra_drill: Function to reshape the return from 'ra_drill' to be...

View source: R/ra_drill.R

tidy_ra_drillR Documentation

Function to reshape the return from ra_drill to be "tidy-data".

Description

Function to reshape the return from ra_drill to be "tidy-data".

Usage

tidy_ra_drill(
  df,
  variable_as_date = FALSE,
  drop_cell_raster = FALSE,
  na.rm = FALSE,
  tz = "UTC"
)

Arguments

df

Data frame/tibble from ra_drill.

variable_as_date

Are the variables/names of the ra_drill output dates? If so, the dates will be parsed and the variable renamed.

drop_cell_raster

Should the cell_raster variable returned by ra_drill be dropped?

na.rm

Should missing values be removed from the return?

tz

If variable_as_date is TRUE, what time zone are the dates stored in? This will almost certainly be UTC.

Value

Tibble.

Author(s)

Stuart K. Grange

See Also

ra_drill


skgrange/gissr documentation built on June 20, 2024, 12:02 a.m.