Skip to content

JianLoong/popular-baby-names-australia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Popular Baby Names in Australia

This repository is a collection of the top 100 baby names in Australia from various open data sets.

If you have noticed some mistakes or bugs, or maybe you have any suggestions please create an issue.

This API is meant to be a read-only web API. It is intentional for files to be stored this way (json format) as it avoids using any database engine.

Introduction

The data consists of a ranked list of the top 100 male and female baby names with frequency counts for every year since 2008.

The aim of this API is to provide static information that will be consumed by other applications.

Data Sets Sources

Dataset Source License
QLD https://www.data.qld.gov.au/dataset/top-100-baby-names
TAS https://data.gov.au/dataset/ds-dga-a37db87d-6bbb-4fb1-96a4-224266b757b8/details
VIC Data Vic Australia Attribution 4.0 International (CC BY 4.0)
NSW Data NSW Australia Creative Commons Attribution
SA Data SA Australia Attribution 4.0 International (CC BY 4.0)

List of End Points

The current base url is https://jianliew.me/popular-baby-names-australia/

State End Point Status
VIC /data/vic/all.json x Test

*x denotes that the data is complete based on the available open data

Usage Example

curl https://jianliew.me/popular-baby-names-australia/data/vic/all.json

would result

[
    {
        "position": 1,
        "name": "William",
        "count": 551,
        "sex": "MALE",
        "year": 2009
    },
    {
        "position": 1,
        "name": "Olivia",
        "count": 432,
        "sex": "FEMALE",
        "year": 2009
    },
    {
        "position": 2,
        "name": "Jack",
        "count": 534,
        "sex": "MALE",
        "year": 2009
    }...

It is also possible to query the specific year

curl https://jianliew.me/popular-baby-names-australia/data/vic/2020.json

would return

[
  {
    "position": 1,
    "name": "Oliver",
    "count": 546,
    "sex": "MALE",
    "year": 2020
  },
  {
    "position": 1,
    "name": "Charlotte",
    "count": 413,
    "sex": "FEMALE",
    "year": 2020
  }....