getBirths: Request birth data from the CDC Wonder API

Description Usage Arguments Examples

View source: R/getBirths.R

Description

wrapper to 'getData()' which calls the CDC Wonder API and returns a tidy data frame (tibble)

Usage

1

Arguments

...

list of words to indicate the group_by variables desired in the query. Words will be interpreted according to the first letter (not case-sensitive):

A = "Age of Mother Year"

B = "Birth Weight 100 gram increments"

D = "Delivery Method"

E = "Education"

G = "Gender"

H = "Hispanic Origin"

M = "Month"

O = "Live Birth Order"

P = "Birthplace"

R = "Race"

S = "Marital Status"

P = "Month Prenatal Care Began"

W = "Weekday"

Examples

1
2
3
mydata <- getBirths(age, educcation, wieght, gender)

mydata

socdataR/wonderapi documentation built on May 24, 2018, 4:50 a.m.