R Dataset / Package mosaicData / Births


On this R-data statistics page, you will find information about the Births data set which pertains to US Births. The Births data set is found in the mosaicData R package. You can load the Births data set in R by issuing the following command at the console data("Births"). This will load the data into a variable called Births. If R says the Births data set is not found, you can try installing the package by issuing this command install.packages("mosaicData") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the Births R data set. The size of this file is about 281,279 bytes.

US Births


Number of births each day from 1968 to 1988




A data.frame with 7305 observations on the following 8 variables.

itemcodedate [Date] itemcodebirths number of births on date [integer] itemcodewday day of week [ordered factor] itemcodeyear year [integer] itemcodemonth month [integer] itemcodeday day of month [integer] itemcodeday_of_year day of year [integer] itemcodeday_of_week day of week [integer]


The number of births in Births78 is slightly lower than the number of births in this data set for the year 1978. See the examples.


Data source: National Vital Statistics System natality data, as provided by Google BigQuery and exported to csv Robert Kern (http://www.mechanicalkern.com/static/birthdates-1968-1988.csv)


if(require(ggplot2)) {
  ggplot(data = Births, aes(x = date, y = births, colour = wday)) +
    stat_smooth(se = FALSE, alpha = 0.8, geom = "line")
  ggplot(data = Births, aes(x = day_of_year, y = births, colour = wday)) +
    geom_point(size = 0.4, alpha = 0.5) +
    stat_smooth(se = FALSE, geom = "line", alpha = 0.6, size = 1.5)
  if (require(dplyr)) {
     data =  bind_cols(Births %>% filter(year == 1978), 
                       Births78 %>% rename(births78 = births)),
     aes(x = births - births78)
     ) +
     geom_histogram(binwidth = 1)

Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-mosaicdata-births.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-25015.csv 274.69 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.