getBirths: Request birth data from the CDC Wonder API

View source: R/getBirths.R

getBirthsR Documentation

Request birth data from the CDC Wonder API

Description

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

Usage

getBirths(...)

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"

Notes

'getBirths()' is designed to be easier to use than 'getData()' for simple queries. Only the first letter needs to be correct. For more options, use 'getData()'.

Examples


mydata <- getBirths(age, educcation, wieght, gender)

mydata

socdataR/natality documentation built on March 20, 2024, 8:40 p.m.