Wolfram Data Repository
Immediate Computable Access to Curated Contributed Data
Information on new mothers from 1978 through 1988 from NLSY79
| In[1]:= |
| Out[1]= | ![]() |
Data dimensions:
| In[2]:= |
| Out[2]= |
Column keys and types:
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= | ![]() |
Column descriptions:
| In[5]:= |
| Out[5]= | ![]() |
Tabular structure of the data:
| In[6]:= |
| Out[6]= | ![]() |
Histogram of the breast feeding durations:
| In[7]:= | ![]() |
| Out[7]= | ![]() |
PieChart of the race distribution:
| In[8]:= | ![]() |
| Out[8]= | ![]() |
| In[9]:= |
| Out[9]= | ![]() |
Convert "birthyear" column to a date format:
| In[10]:= | ![]() |
| Out[10]= | ![]() |
| In[11]:= |
| Out[11]= |
Compute mean breast feeding duration grouped by mother's age:
| In[12]:= | ![]() |
| Out[12]= | ![]() |
Sort by the mother's age:
| In[13]:= |
| Out[13]= | ![]() |
Visualize the mean breast feeding duration as a function of mother's age:
| In[14]:= |
| Out[14]= | ![]() |
Compute mean breast feeding duration grouped by year of birth of child and alcohol use:
| In[15]:= | ![]() |
| Out[15]= | ![]() |
Sort by the birth year:
| In[16]:= |
| Out[16]= | ![]() |
Visualize the mean breast feeding durations as a function of child birth year and alcohol use:
| In[17]:= | ![]() |
| Out[17]= | ![]() |
Compute how many new mothers smoked and/or used alcohol at birth of child:
| In[18]:= | ![]() |
| Out[18]= | ![]() |
The resulting pivot table has a key column and therefore has row keys:
| In[19]:= |
| Out[19]= |
Use RowKey and ExtendedKey to extract values from the pivot table:
| In[20]:= |
| Out[20]= |
| In[21]:= |
| Out[21]= |
| In[22]:= |
| Out[22]= |
Create Venn diagram:
| In[23]:= | ![]() |
| In[24]:= | ![]() |
| In[25]:= | ![]() |
| Out[25]= | ![]() |
Gosia Konwerska, "Sample Tabular Data: New Mothers" from the Wolfram Data Repository (2025)