Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

ONSvisual/census-od-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Census 2021 origin-destination data processing scripts

A set of scripts for processing Census 2021 origin-destination data into files suitable for the origin-destination data explorer.

You need to install Git and NodeJS on your machine in order to run these scripts. The scripts should run fine on Windows, MacOS or Linux.

Clone the repo and install dependencies

Run these commands to clone this repo and install NodeJS dependencies from NPM.

  • git clone https://github.com/ONSvisual/census-od-data.git
  • cd census-od-data
  • npm install

Run the scripts

Clean the data

You need to run this step before any of the below steps.

  • npm run clean-data

Generating dots

  • npm run make-journeys
  • npm run make-points
  • npm run compress-points

Generating "chunks" of data

  • npm run make-chunks

Generating metadata

  • npm run make-metadata

Generating summary counts for all areas

  • npm run make-counts

About

A set of scripts to generate data for the Census 2021 origin-destination data explorer tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors