Learn R Programming

faersquarterlydata (version 1.2.0)

arrange_date: Convert a date string into a date format

Description

Convert a date string into a date format

Usage

arrange_date(date_string)

Value

A converted Date

Arguments

date_string

A string vector with multiple formats (8, 6 or 4 digits)

Examples

Run this code
arrange_date("2020")
arrange_date("202006")
arrange_date("20200601")

Run the code above in your browser using DataLab