childdevdata

Child Development Data

https://github.com/d-score/childdevdata

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.2%) to scientific vocabulary

Keywords

child-development d-score dataset
Last synced: 10 months ago · JSON representation

Repository

Child Development Data

Basic Info
Statistics
  • Stars: 3
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 3
Topics
child-development d-score dataset
Created over 5 years ago · Last pushed about 3 years ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
always_allow_html: yes
bibliography: [references.bib]
biblio-style: apalike
link-citations: yes
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# childdevdata


[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![CRAN status](https://www.r-pkg.org/badges/version/childdevdata)](https://CRAN.R-project.org/package=childdevdata)
[![DOI](https://zenodo.org/badge/353137452.svg)](https://zenodo.org/badge/latestdoi/353137452)


The goal of `childdevdata` is to support innovation in child development. The package 

1. Makes anonymous microdata available to the research community;
2. Adopts a simple naming schema for developmental milestones;
3. Supports multiple measurement instruments;
4. Eases joint analyses of the data.

The current version bundles milestone data from ten studies, containing 1,116,061 assessments 
made on 10,831 unique children during 28,465 visits, covering 21 different instruments.

## Installation

You can install the released version of childdevdata from [CRAN](https://CRAN.R-project.org) with

```{r eval=FALSE}
install.packages("childdevdata")
```

You can install the development version of `childdevdata` from [GitHub](https://github.com) with

```{r eval=FALSE}
install.packages("remotes")
remotes::install_github("d-score/childdevdata")
```

## Example

The following example visualises how the proportion of toddlers that are able to walk increases with age.

```{r example, fig.retina=2}
library(childdevdata)
library(ggplot2)

# we use the Dutch SMOCC data
data <- with(gcdg_nld_smocc, 
             data.frame(age = round(agedays/365.25, 4),
                        walk = ddigmd068))
ggplot(na.omit(data), aes(age, walk)) +
  geom_point(cex = 0.5) +
  geom_smooth(method = "gam", formula = y ~ s(x, bs = "cs"), 
              se = FALSE, lwd = 0.5) +
  theme_bw()
```

## Overview of available dataset and documentation

The package contains multiple datasets. Obtain the list of datasets by

```{r datalist}
data(package = "childdevdata")$results[, "Item"]
```

The documentation of the data can be found by typing into the console:

```{r}
?gcdg_col_lt42m
```

The size of the data is 

```{r}
dim(gcdg_col_lt42m)
```

The first six rows and first nine columns are

```{r}
head(gcdg_col_lt42m[, 1:9])
```

The first seven columns are administrative and background variables. Column numbers eight and up hold the milestone scores. 


## Combining data

Concatenating two or more data is straightforward using `dplyr`. The following code concatenates all publicly available GCDG datasets.

```{r concatenate}
library(dplyr)
alldata <- bind_rows(gcdg_chl_1, gcdg_chn, gcdg_col_lt42m, gcdg_col_lt45m, gcdg_ecu, 
                     gcdg_jam_lbw, gcdg_jam_stunted, gcdg_mdg, gcdg_nld_smocc, gcdg_zaf)
dim(alldata)
```

Both the number of rows and the number of columns have increased. Milestones not appearing in a particular data obtain all missing (`NA`) scores.

The number of records per cohort by sex is

```{r}
table(alldata$cohort, alldata$sex)
```

## Calculating D-score and DAZ

The [`dscore` package](https://d-score.org/dscore/) calculates the *D-score* [@vanbuuren2014] and the *D-score adjusted for age Z-score* (DAZ) for all cases:

```{r}
library(dscore)
alldata$age <- round(alldata$agedays/365.25, 4)
d <- dscore(alldata)
head(d)
dim(d)
```

We visualise the D-score distribution by age per cohort as

```{r fig.retina=2}
alldata <- bind_cols(alldata, d)
ggplot(alldata, aes(age, d, group = cohort)) +
  geom_point(cex = 0.3) +
  facet_wrap(~ cohort) +
  ylab("D-score") + xlab("Age (years)") +
  theme_bw()
```

## Why this package?

We all want our children to grow and prosper. While there is no shortage of apps and instruments to track child development, it is often unclear which data went into the construction of these tools. In order to improve measurement and norm setting of child development, we need child-level response data per milestone and age. However, no such public dataset seem to exist. The `childdevdata` package fills that void.

The package grew out of a project in which we collected milestone data from 16 cohorts. See @weber2019 and  for results. Ten cohort owners graciously decided to make their data available for third parties. We are grateful to them.

## How to use the data?

Tremendous effort has gone into the collection and harmonisation of the data. You can use the data in this package under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license. Basically, this means that you may share and adapt the data, on the condition that you give appropriate credit and clearly indicate any changes you've made. See the license text for details.

We expect that you will properly cite the source data when you use the data in your own product or publication, as follows:

- If you use one dataset, please cite the publication(s) given in the documentation of that dataset. 
- If you use two or more datasets, cite the publication(s) for each dataset *and* cite the `childdevdata` package.

The citation of the `childevdata` data package is

```
@software{stef_van_buuren_2021_4700229,
  author       = {Stef van Buuren and
                  Iris Eekhout and
                  Marta Rubio Codina and
                  Orazio Attanasio and
                  Costas Meghir and
                  Emla Fitzsimons and
                  Sally Grantham-McGregor and
                  Maria Caridad Araujo and
                  Susan Walker and
                  Susan Chang and
                  Christine Powell and
                  Ann Weber and
                  Lia Fernald and
                  Paul Verkerk and
                  Linda Richter and
                  Betsy Lozoff},
  title        = {D-score/childdevdata: childdevdata 1.1.0},
  month        = apr,
  year         = 2021,
  publisher    = {Zenodo},
  version      = {v1.1.0},
  doi          = {10.5281/zenodo.4700229},
  url          = {https://doi.org/10.5281/zenodo.4700229}
}
```

## Want to contribute?

Do you have similar data and want to help others to advance the field? Please let us know. We hope that the `childdevdata` package may continue to grow into a valuable resource for developers and researchers worldwide.

## Acknowledgement

This study was supported by the Bill & Melinda Gates Foundation. The contents are the sole responsibility of the authors and may not necessarily represent the official views of the Bill & Melinda Gates Foundation or other agencies that may have supported the primary data studies used in the present study. 

## References

Owner

  • Name: D-score
  • Login: D-score
  • Kind: organization
  • Email: stef.vanbuuren@tno.nl

D-score: A Scale for Child Development

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 47
  • Total Committers: 1
  • Avg Commits per committer: 47.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Stef van Buuren s****n@t****l 47
Committer Domains (Top 20 + Academic)
tno.nl: 1

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 255 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: childdevdata

Child Development Data

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 255 Last month
Rankings
Stargazers count: 28.5%
Forks count: 28.8%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Average: 39.2%
Downloads: 73.4%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • spelling * suggests