Skip to content

Commit

Permalink
Updated jewish female 2023 data
Browse files Browse the repository at this point in the history
  • Loading branch information
aviezerl committed Jul 3, 2024
1 parent 791308e commit 7c7e92d
Show file tree
Hide file tree
Showing 12 changed files with 1,340 additions and 978 deletions.
6 changes: 5 additions & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ NULL
#'
#' Data was downloaded from: \href{https://www.cbs.gov.il/he/publications/LochutTlushim/2020/%D7%A9%D7%9E%D7%95%D7%AA-%D7%A4%D7%A8%D7%98%D7%99%D7%99%D7%9D.xlsx}{here}
#'
#' 2022 data was downloaded from: \href{https://www.cbs.gov.il/he/mediarelease/Pages/2023/%D7%94%D7%A9%D7%9E%D7%95%D7%AA-%D7%94%D7%A4%D7%A8%D7%98%D7%99%D7%99%D7%9D-%D7%A9%D7%A0%D7%99%D7%AA%D7%A0%D7%95-%D7%9C%D7%99%D7%9C%D7%99%D7%93%D7%99-2022.aspx}{here}
#'
#' 2023 data was downloaded from: \href{https://www.cbs.gov.il/he/mediarelease/Pages/2024/%D7%94%D7%A9%D7%9E%D7%95%D7%AA-%D7%94%D7%A4%D7%A8%D7%98%D7%99%D7%99%D7%9D-%D7%A9%D7%A0%D7%99%D7%AA%D7%A0%D7%95-%D7%9C%D7%99%D7%9C%D7%99%D7%93%D7%99-2023.aspx}{here}
#'
#'
#' @format A data frame with six variables: \code{sector}, \code{year}, \code{sex}, \code{name}, \code{n} and \code{prop} (\code{n} divided by total number
#' of babies \emph{in the database}).
"babynamesIL"

#' Israeli baby names total numbers.
#'
#' Total number of babies per name, sector and gender at the years 1948-2022.
#' Total number of babies per name, sector and gender at the years 1948-2023.
#'
#'
#' @format A data frame with 4 variables: \code{sector}, \code{sex}, \code{name}, \code{n}.
Expand Down
5 changes: 1 addition & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ knitr::opts_chunk$set(
[![R-CMD-check](https://github.com/aviezerl/babynamesIL/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/aviezerl/babynamesIL/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

The `babynamesIL` package provides a comprehensive dataset of names given to Israeli babies from 1948 to 2022. This data, sourced from the Israeli Central Bureau of Statistics (LAMAS), includes names used for at least 5 children in at least one gender and sector (Jewish, Muslim, Christian, Druze, and Other).
The `babynamesIL` package provides a comprehensive dataset of names given to Israeli babies from 1948 to 2023. This data, sourced from the Israeli Central Bureau of Statistics (LAMAS), includes names used for at least 5 children in at least one gender and sector (Jewish, Muslim, Christian, Druze, and Other).

## Available Data

Expand All @@ -29,9 +29,6 @@ The package offers two main data objects:
- `babynamesIL`: A dataset containing the number of babies given each name, categorized by year, sex, and sector from 1948 to 2023.
- `babynamesIL_totals`: A summary dataframe with the total number of babies given each name, aggregated by sex and sector.

> A note on 2023 Jewish Female Statistics: Due to changes in LAMAS's data release format, the 2023 statistics for Jewish females are derived from city-level data. While these numbers should correlate with actual figures, they may be less accurate due to the lower limit (>5 babies) now applied at the city level.

## Installation

``` r
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/babynamesIL)](https://CRAN.R-project.org/package=babynamesIL) [![R-CMD-check](https://github.com/aviezerl/babynamesIL/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/aviezerl/babynamesIL/actions/workflows/R-CMD-check.yaml) <!-- badges: end -->

The `babynamesIL` package provides a comprehensive dataset of names given to Israeli babies from 1948 to 2022. This data, sourced from the Israeli Central Bureau of Statistics (LAMAS), includes names used for at least 5 children in at least one gender and sector (Jewish, Muslim, Christian, Druze, and Other).
The `babynamesIL` package provides a comprehensive dataset of names given to Israeli babies from 1948 to 2023. This data, sourced from the Israeli Central Bureau of Statistics (LAMAS), includes names used for at least 5 children in at least one gender and sector (Jewish, Muslim, Christian, Druze, and Other).

## Available Data

Expand All @@ -14,8 +14,6 @@ The package offers two main data objects:
- `babynamesIL`: A dataset containing the number of babies given each name, categorized by year, sex, and sector from 1948 to 2023.
- `babynamesIL_totals`: A summary dataframe with the total number of babies given each name, aggregated by sex and sector.

> A note on 2023 Jewish Female Statistics: Due to changes in LAMAS's data release format, the 2023 statistics for Jewish females are derived from city-level data. While these numbers should correlate with actual figures, they may be less accurate due to the lower limit (&gt;5 babies) now applied at the city level.
## Installation

``` r
Expand Down Expand Up @@ -76,7 +74,7 @@ library(dplyr)
``` r
babynamesIL %>%
tidyr::complete(sector, year, sex, name, fill = list(n = 0, prop = 0))
#> # A tibble: 3,269,520 × 6
#> # A tibble: 3,275,600 × 6
#> sector year sex name n prop
#> <chr> <dbl> <chr> <chr> <int> <dbl>
#> 1 Christian 1948 F 'ג'ורג' 0 0
Expand All @@ -89,7 +87,7 @@ babynamesIL %>%
#> 8 Christian 1948 F אביאור 0 0
#> 9 Christian 1948 F אביאל 0 0
#> 10 Christian 1948 F אביב 0 0
#> # ℹ 3,269,510 more rows
#> # ℹ 3,275,590 more rows
```

Plot trajectory of names:
Expand Down
Loading

0 comments on commit 7c7e92d

Please sign in to comment.