read_all_data: Read all data

Description Usage Arguments Value

View source: R/state_data.R

Description

Function to read in microcephaly and incidence data. Converts strings to factors, and orders them by microcephaly cases

Usage

1
2
3
read_all_data(microCephFile = "~/net/home/zika/data/microcephaly_data.csv",
  incDatFile = "~/net/home/zika/data/inc_data.csv",
  epidemicLocations = FALSE, order = TRUE, convert = TRUE)

Arguments

microCephFile

full filepath to microcephaly data

incDatFile

full filepath ot incidence data

epidemicLocations

if TRUE, gets only epidemic locations. Otherwise gives all locations

order

if TRUE, orders the locations by per capita microcephaly rate

convert

if TRUE, converts strings to factors

Value

a list of microcephaly and incidence data


jameshay218/zikaProj documentation built on Jan. 9, 2020, 7:26 p.m.