readCity: Read NMMAPS data for each city.

Description Usage Arguments Value Examples

Description

Read NMMAPS data for each city.

Usage

1
2
readCity(root = "~/Documents/NMMAPS/", city = c(), collapseAge = TRUE,
  age_cat = NULL)

Arguments

root

The local path where the NMMAPS data is located.

city

A character string giving the abbreviation of city's name.

collapseAge

Logic value specifying whether to aggregate records based on age group.

age_cat

A character string giving the selected age categories.

Value

This function returns a time-series dataframe containing date, death counts, etc.

Examples

1
readCity(root = "~/Documents/NMMAPS/", city = "miam")

my1120/Hurricane documentation built on May 23, 2019, 11:58 a.m.