Australian Names

data methods and privacy

How to reproduce Australian baby name counts yourself

Use the open ozbabynames R dataset and simple filters to verify any published Australian baby name count by state, year and sex.

Checked: 2026-10-21

If you need to check a claim about Australian baby name popularity, use the published ozbabynames dataset rather than a screenshot. According to the ozbabynames package documentation, the ozbabynames dataset contains popular Australian baby names by sex, state and year. Each row records one published count with the columns year, state, sex, name and count. That structure is enough to reproduce many checks: load the package, filter to the year, state, sex and name you care about, then read count.

The important limit is that this is published popular-name data, not a complete national births register. The documentation’s “Known Issues” section states that coverage is very uneven, that some states only provide very recent data, that some states only provide the top 50 or 100 names, and that the ACT does not provide counts, so no ACT data are included. South Australia has by far the best data, with full coverage of all names back to 1944. Any number you reproduce must be read with those limits attached.

What the dataset gives you

Fact: the package documentation says the bundled ozbabynames dataset has the columns year, state, sex, name and count.

Practical interpretation: each row is an aggregated published count, not a record of a single child. That means you can test claims such as “Charlotte was recorded 383 times for females in New South Wales in 2024”, but you cannot use the dataset to identify individuals or to recover names that a source did not publish.

Verify: check that your installed object has the same columns before you trust your own script.

Here are the first rows shown by head(ozbabynames) in the documentation:

year state sex name count
2024 New South Wales Female Charlotte 383
2024 New South Wales Female Amelia 367
2024 New South Wales Female Olivia 316
2024 New South Wales Female Mia 308
2024 New South Wales Female Isla 298
2024 New South Wales Female Chloe 275

Those rows are the package’s own example output. If your head(ozbabynames) call returns the same rows, your local copy is loaded correctly.

Install, load and inspect the data

The installation notes give two routes. The CRAN version can be installed with install.packages("ozbabynames"). The development version from GitHub is given as install_github("robjhyndman/ozbabynames").

A minimal reproducible start looks like this:

install.packages("ozbabynames")
# install_github("robjhyndman/ozbabynames")   # development version, per docs

library(ozbabynames)
head(ozbabynames)

If you plan to use the dplyr verbs shown in the documentation, load dplyr as well. The documented example also uses ggplot2 for charts and gganimate for one animated example, but you do not need those packages for counting.

The core counting recipe

For a single published count, filter to the exact row you need:

library(dplyr)

ozbabynames |>
  filter(year == 2024,
         state == "New South Wales",
         sex == "Female",
         name == "Charlotte")

This should return the row where count equals the published figure. If a headline gives a different number, your reproducible result is the filter above plus the returned count value.

For a “top names” claim, the documentation already supplies a reusable pattern. This version looks at 1952, groups by sex and name, sums counts across the states available in the data, orders from highest to lowest, and keeps the top 10 names within each sex:

ozbabynames_1952_top_10 <- ozbabynames |>
  filter(year == 1952) |>
  group_by(sex, name) |>
  summarise(count = sum(count)) |>
  arrange(-count) |>
  top_n(10) |>
  ungroup()

The practical rule is that you must state exactly what you filtered and summed. “Top 10” means nothing until you say the year, the sex, the included used one state or a sum of available states.

Aggregating across Australia: read this first

Because coverage is uneven, a cross-state sum is only the sum of rows present in ozbabynames. It is not automatically the same as every birth in Australia. The ACT is always absent. Some jurisdictions contribute only recent years, and some publish only a top 50 or 100 list, so rare names may be missing even when the count looks small. South Australia is the strongest historical source, with full coverage of all names back to 1944, but it is still one jurisdiction unless you deliberately restrict to it.

A safer method is to report either:

If you need a true jurisdictional total, verify against the original state source. The Sources section of the documentation lists South Australia, New South Wales, Tasmania, Victoria, Western Australia, Queensland and Northern Territory, includes three data.gov.au dataset links, and notes that only top 10 by rank are available after 2016.

Checklist before you trust a reproduced number

Claim you are checking Reproducible test Watch-out
“Name X was most popular in Australia in year Y” Filter year Y and the sexes/states you mean; sum counts only if you label the jurisdictions; then rank. “Australia” in this dataset often means available published data, not every birth.
“State had N babies named X in year Y” Filter year, state, sex, name and read count. Some sources publish only the top 50 or 100 names, so omitted names may not mean zero.
“Name X rose/fell across years” Filter one state and sex for name X, then plot year against count. Coverage changes between years can create or hide apparent trends.

Known limits to record with your result

The documentation’s known issues are part of your result, not an afterthought:

Next step: make the check citable

When you publish or share a reproduced count, include the script, the package version, the exact filter, the returned rows, and the date you accessed the data. That allows another researcher to rerun your steps and see whether the number still holds after later data updates.

If you later want a quicker, non-code way to explore names rather than rerun scripts, Australian Name has a matching tool at /match/. For reproducible research or verification, keep using the dataset method above and the source links on the package page.

General information only. This guide explains a public data method. It is not legal, tax, migration, credit, financial or personal advice, and it does not predict approvals, savings or outcomes. Australian Name is an independent publisher, not a births registry, government body, regulator, lender, broker or comparison service. The counts and coverage notes come from the ozbabynames documentation and its listed sources; check the current source before relying on any figure.