Skip to content

childfree

Access and Harmonize Childfree Demographic Data

v0.0.5 · Feb 26, 2026 · GPL-3

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

CRAN

243

Last 30 days

20430th

631

Last 90 days

2.5K

Last year

Trend: +51.9% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

31

Last 90 days

161

Last year

Trend: -91.7% (30d vs prior 30d)

autoCRAN

8

Last 7 days

19

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

3 ERROR
10 OK
Show all 13 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-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 OK
r-release-macos-x86_64 ERROR
r-release-windows-x86_64 OK
Check details (3 non-OK)
ERROR r-oldrel-macos-arm64

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
ERROR r-oldrel-macos-x86_64

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
ERROR r-release-macos-x86_64

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

Check History

ERROR 10 OK · 0 NOTE · 0 WARNING · 4 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-release-macos-arm64

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
ERROR r-release-macos-x86_64

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
ERROR r-oldrel-macos-arm64

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
ERROR r-oldrel-macos-x86_64

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

Line coverage

Expression

Tests / Examples

Functions

4 3 exported

Complexity

117.5 avg / 350 max

Call network

4 nodes / 0 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

2,443

Files

27

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,868 (76.5%)Docs 255 (10.4%)Vignettes 320 (13.1%)

API

Exported functions

3

Internal functions

1

Recent export changes

v0.0.1+3 dhs, nsfg, soss

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2024-04-05

Latest release

2026-02-26

Avg cadence

146 days

Cold removal rate

Dep drift

3

LOC over versions

v0.0.1: 1,486 LOCv0.0.2: 1,965 LOCv0.0.3: 2,187 LOCv0.0.4: 2,281 LOCv0.0.5: 2,443 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies rio RCurl childfree

Version History

6 tracked
new 0.0.5 Mar 10, 2026
updated 0.0.5 ← 0.0.4 diff Feb 25, 2026
updated 0.0.4 ← 0.0.3 diff Mar 19, 2025
updated 0.0.3 ← 0.0.2 diff Sep 3, 2024
updated 0.0.2 ← 0.0.1 diff Jul 8, 2024
new 0.0.1 Apr 4, 2024