extract_year_step: Extracts year and step columns

extract_year_stepR Documentation

Extracts year and step columns

Description

Gadget3 reports have a time column in the format 'YEAR-STEP'. This function creates a 'year' and 'step' column by splitting the existing 'time' column. This is useful for processing gagdet3 reports.

Usage

extract_year_step(data)

Arguments

data

dataframe of gadget3 reports. Must include a 'time' column.


gadget-framework/gadgetutils documentation built on Aug. 16, 2024, 8:45 a.m.