FormatGISAIDMetadata: Format metadata.tar.x file downloaded from GISAID with some...

View source: R/gisaid.R

FormatGISAIDMetadataR Documentation

Format metadata.tar.x file downloaded from GISAID with some missing columns

Description

Format metadata.tar.x file downloaded from GISAID with some missing columns

Usage

FormatGISAIDMetadata(
  df,
  collection_col = "Collection date",
  submission_col = "Submission date"
)

Arguments

df

GISAID metadata dataframe

collection_col

Name of column representing date of collection (Collection date)

submission_col

Name of column representing date of submission (Submission date)

Value

A data frame with following extra columns: DateCollected, MonthYearCollected, YearCollected, MonthCollected, WeekCollected DateCollectedNumeric, MonthYearCollectedNumeric DateSubmitted, MonthYearSubmitted, YearSubmitted, MonthSubmitted, WeekSubmitted DateSubmittedNumeric, MonthYearSubmittedNumeric


saketkc/covmuller documentation built on April 19, 2024, 10:14 a.m.