This is my first R project. It was written for the marketing department I interned for to analyze the potential clients in each suburb, for compiling better product promotion strategies.
The tool is designed to be “plug and play” with minimal setup required to work with colleagues with minimal IT knowledge.
This tool uses 2021 Australian census data, and will not work on other datasets.
Start script:
Windows (command line): run.bat
Windows (shell): run.sh
MacOS: Not tested (likely not supported)
Output: Demographics.html
- Download the dataset from Australian Bureau of Statistics. Source: https://www.abs.gov.au/census/find-census-data/datapacks?release=2021&product=GCP&geography=SAL&header=S
- Extract and rename the folder
2021 Census GCP Suburbs and Localities for NSWtoNSW, remove the other folders - Download R-Portable and install it to this folder.
- Download version 3.1.8 of Pandoc and extract files to this folder.
- In the same folder now, there should be folders named: NSW, R-Portable and pandoc-3.1.8. In the same folder, download this project using the green Code button on the page, and select download ZIP. Extract and put the content of the folder in the same folder.
- The project folder should now consist of the above folders, and some files which were contents of the downloaded project ZIP.
- Acquire all requirements as outlined in Setup.
- Double click to run the
runscript of your choice. - In the webpage, write down name of the suburb you would like to access. Suburb names according to
SAL_2021_AUST.csv. - Result will show up as a webpage.
- To export, right click anywhere in the webpage and choose "save as...".
Population
Age Group Count
Gender
Country of Birth
Weekly Personal Income Count
Weekly Personal Income by Age
Occupation
Industry
This tool uses Pandoc, R-Portable and R.
Special thanks to Lee Pang for writing this guide to how to deploy a R/Shiny app locally.
This tools uses MIT license.