Skip to content

rvaughan/uk-migrant-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UK Government Immigration and Migrant Data

Fetch daily UK small boat data Process daily small boats data Fetch weekly UK small boat data Process weekly small boats data

This project tracks UK Government immigration and migrant data sets, providing a simple overview of the results that is hopefully easy to understand.

Datasets Used

Small Boat Crossing Data

The UK Government changed the location of small boat crossing data in early 2023. The old data sources are now legacy pages that are no longer updated.

Current data sources:

Legacy data sources (no longer updated):

Other Datasets

Data Formats

Daily Small Boats (data/daily_small_boats/data.csv)

#date,migrants,boats
"2025-12-13",737,11

Contains daily counts of migrants and boats detected crossing the English Channel.

Weekly Small Boats (data/weekly_small_boats/data.csv)

#week_ending,migrants_arrived,boats_arrived,migrants_prevented,events_prevented
"2025-12-07",0,0,438,11

Contains weekly aggregate data including prevention statistics (available from 2024 onwards).

Backfilling Missing Data

If data is missing or needs to be refreshed from the official time series, you can use the backfill script with the ODS file from GOV.UK:

  1. Download the latest time series ODS file from GOV.UK

  2. Install dependencies:

    pip install pandas odfpy beautifulsoup4
  3. Run the backfill script:

    python scripts/backfill_from_ods.py <path_to_ods_file> data/daily_small_boats/data.csv data/weekly_small_boats/data.csv

This will update both daily and weekly CSV files with complete historical data from the ODS file.

About

Tracking UK Government migrant data sets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages