API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
Dataset Files
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
/fivethirtyeight/sleeping-alone-data/
https://datahub.io/fivethirtyeight/sleeping-alone-data/_r/-/README.md
https://datahub.io/fivethirtyeight/sleeping-alone-data/_r/-/data/sleeping-alone-data.csv
https://datahub.io/fivethirtyeight/sleeping-alone-data/_r/-/datapackage.json
Key Files
Start with these files — they give you everything you need to understand and access the dataset.
datapackage.json— metadata & schema
https://datahub.io/fivethirtyeight/sleeping-alone-data/_r/-/datapackage.json
README.md— documentation
https://datahub.io/fivethirtyeight/sleeping-alone-data/_r/-/README.md
Typical Usage
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Files
Explore with AIsleeping-alone-data
| Field | Type | Format |
|---|---|---|
| startdate | string | default |
| enddate | string | default |
| which of the following best describes your current relationship status? | string | default |
| how long have you been in your current relationship? if you are not currently in a relationship | string | default |
| please answer according to your last relationship. | string | default |
| when both you and your partner are at home | string | default |
| how often do you sleep in separate beds? | string | default |
| when you're not sleeping in the same bed as your partner | string | default |
| where do you typically sleep? | string | default |
| string | default | |
| when you're not sleeping in the same bed | string | default |
| where does your partner typically sleep? | string | default |
| string | default | |
| what are the reasons that you sleep in separate beds? please select all that apply. | string | default |
| string | default | |
| string | default | |
| string | default | |
| string | default | |
| string | default | |
| string | default | |
| string | default | |
| string | default | |
| string | default | |
| string | default | |
| when was the first time you slept in separate beds? | string | default |
| to what extent do you agree with the following statement: sleeping in separate beds helps us to stay together. | string | default |
| to what extent do you agree with the following statement: we sleep better when we sleep in separate beds. | string | default |
| to what extent do you agree with the following statement:_our sex life has improved as a result of sleeping in separate beds._ | string | default |
| which of the following best describes your current occupation? | string | default |
| string | default | |
| gender | string | default |
| age | string | default |
| household income | string | default |
| education | string | default |
| location (census region) | string | default |
Download
Download CSVAbout
- Last updated
- 12 March 2026
- Total rows
- ...
- Format
- CSV
- File size
- 306 kB
About this dataset
Sleeping Alone
This folder contains data behind the story Dear Mona, How Many Couples Sleep in Separate Beds?
This dataset was scraped from FiveThirtyEight - sleeping-alone-data