childfree
Access and Harmonize Childfree Demographic Data
Description
Reads demographic data from a variety of public data sources, extracting and harmonizing variables useful for the study of childfree individuals. The identification of childfree individuals and those with other family statuses uses Neal & Neal's (2024) "A Framework for Studying Adults who Neither have Nor Want Children" <doi:10.1177/10664807231198869>; A pre-print is available at <doi:10.31234/osf.io/fa89m>.
Downloads
300
Last 30 days
13489th
735
Last 90 days
2.4K
Last year
Trend: +2% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | ERROR |
| r-oldrel-macos-x86_64 | ERROR |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | ERROR |
| r-release-macos-x86_64 | ERROR |
| r-release-windows-x86_64 | OK |
Check details (4 non-OK)
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘childfree.Rmd’ using rmarkdown
trying URL 'https://osf.io/download/hk23e'
Content type 'application/octet-stream' length 41025900 bytes (39.1 MB)
==================================================
downloaded 39.1 MB
Quitting from childfree.Rmd:137-139 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `file()`:
! cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat'
---
Backtrace:
▆
1. └─childfree::nsfg(years = 2017)
2. └─base::readLines("https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat")
3. └─base::file(con, "r")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'childfree.Rmd' failed with diagnostics:
cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat'
--- failed re-building ‘childfree.Rmd’
--- re-building ‘codebooks.Rmd’ using rmarkdown
--- finished re-building ‘codebooks.Rmd’
SUMMARY: processing the following file failed:
‘childfree.Rmd’
Error: Vignette re-building failed.
Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘childfree.Rmd’ using rmarkdown
trying URL 'https://osf.io/download/hk23e'
Content type 'application/octet-stream' length 41025900 bytes (39.1 MB)
==================================================
downloaded 39.1 MB
Quitting from childfree.Rmd:137-139 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `file()`:
! cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_FemRespData.dat'
---
Backtrace:
▆
1. └─childfree::nsfg(years = 2017)
2. └─base::readLines("https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_FemRespData.dat")
3. └─base::file(con, "r")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'childfree.Rmd' failed with diagnostics:
cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_FemRespData.dat'
--- failed re-building ‘childfree.Rmd’
--- re-building ‘codebooks.Rmd’ using rmarkdown
--- finished re-building ‘codebooks.Rmd’
SUMMARY: processing the following file failed:
‘childfree.Rmd’
Error: Vignette re-building failed.
Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘childfree.Rmd’ using rmarkdown
trying URL 'https://osf.io/download/hk23e'
Content type 'application/octet-stream' length 41025900 bytes (39.1 MB)
==================================================
downloaded 39.1 MB
Quitting from childfree.Rmd:137-139 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `file()`:
! cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat'
---
Backtrace:
▆
1. └─childfree::nsfg(years = 2017)
2. └─base::readLines("https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat")
3. └─base::file(con, "r")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'childfree.Rmd' failed with diagnostics:
cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat'
--- failed re-building ‘childfree.Rmd’
--- re-building ‘codebooks.Rmd’ using rmarkdown
--- finished re-building ‘codebooks.Rmd’
SUMMARY: processing the following file failed:
‘childfree.Rmd’
Error: Vignette re-building failed.
Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘childfree.Rmd’ using rmarkdown
trying URL 'https://osf.io/download/hk23e'
Content type 'application/octet-stream' length 41025900 bytes (39.1 MB)
==================================================
downloaded 39.1 MB
Quitting from childfree.Rmd:137-139 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `file()`:
! cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_FemRespData.dat'
---
Backtrace:
▆
1. └─childfree::nsfg(years = 2017)
2. └─base::readLines("https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_FemRespData.dat")
3. └─base::file(con, "r")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'childfree.Rmd' failed with diagnostics:
cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_FemRespData.dat'
--- failed re-building ‘childfree.Rmd’
--- re-building ‘codebooks.Rmd’ using rmarkdown
--- finished re-building ‘codebooks.Rmd’
SUMMARY: processing the following file failed:
‘childfree.Rmd’
Error: Vignette re-building failed.
Execution halted
Check History
ERROR 10 OK · 0 NOTE · 0 WARNING · 4 ERROR · 0 FAILURE Mar 10, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘childfree.Rmd’ using rmarkdown trying URL 'https://osf.io/download/hk23e' Content type 'application/octet-stream' length 41025900 bytes (39.1 MB) ================================================== d ...[truncated]... ' --- failed re-building ‘childfree.Rmd’ --- re-building ‘codebooks.Rmd’ using rmarkdown --- finished re-building ‘codebooks.Rmd’ SUMMARY: processing the following file failed: ‘childfree.Rmd’ Error: Vignette re-building failed. Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘childfree.Rmd’ using rmarkdown trying URL 'https://osf.io/download/hk23e' Content type 'application/octet-stream' length 41025900 bytes (39.1 MB) ================================================== d ...[truncated]... ' --- failed re-building ‘childfree.Rmd’ --- re-building ‘codebooks.Rmd’ using rmarkdown --- finished re-building ‘codebooks.Rmd’ SUMMARY: processing the following file failed: ‘childfree.Rmd’ Error: Vignette re-building failed. Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘childfree.Rmd’ using rmarkdown trying URL 'https://osf.io/download/hk23e' Content type 'application/octet-stream' length 41025900 bytes (39.1 MB) ================================================== d ...[truncated]... ' --- failed re-building ‘childfree.Rmd’ --- re-building ‘codebooks.Rmd’ using rmarkdown --- finished re-building ‘codebooks.Rmd’ SUMMARY: processing the following file failed: ‘childfree.Rmd’ Error: Vignette re-building failed. Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘childfree.Rmd’ using rmarkdown trying URL 'https://osf.io/download/hk23e' Content type 'application/octet-stream' length 41025900 bytes (39.1 MB) ================================================== d ...[truncated]... ' --- failed re-building ‘childfree.Rmd’ --- re-building ‘codebooks.Rmd’ using rmarkdown --- finished re-building ‘codebooks.Rmd’ SUMMARY: processing the following file failed: ‘childfree.Rmd’ Error: Vignette re-building failed. Execution halted