get_correct_order: Location order

Description Usage Arguments Value

View source: R/state_data.R

Description

Gets the correct location order for all plots, sorted by number of microcephaly cases

Usage

1
2
get_correct_order(named = TRUE, normalised = FALSE,
  filePath = "~/net/home/zika/data/microcephaly_data.csv")

Arguments

named

if TRUE, converts the location names to full names

normalised

if TRUE, orders by per birth microcephaly rate

filePath

the full file locatoin of the microcephaly data

birth_dat

the data frame of data

Value

a vector of ordered location names


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