A dataset containing estimated demographic and other information about each electorate. The data is imputed using Census information from 2001 and 2006. See the imputing-census-data vignette for more details.
abs2004
A data frame with 150 rows with the following variables:
DivisionNm: Name of electorate
Age00_04: Percentage of people aged 0-4.
Age05_14: Percentage of people aged 5-9.
Age15_19: Percentage of people aged 15-19.
Age20_24: Percentage of people aged 20-24.
Age25_34: Percentage of people aged 25-34.
Age35_44: Percentage of people aged 35-44.
Age45_54: Percentage of people aged 45-54.
Age55_64: Percentage of people aged 55-64.
Age65_74: Percentage of people aged 65-74.
Age75_84: Percentage of people aged 75-84.
Age85plus: Percentage of people aged 85 or higher.
Anglican: Percentage of people affiliated with the Anglican denomimation
AusCitizen: Percentage of people who are Australian Citizens
AverageHouseholdSize: Average number of people in a household
BachelorAbv: Percentage of people who have completed a Bachelor degree or above
Born_Asia: Percentage of people born in Asia
Born_MidEast: Percentage of people born in the Middle East
Born_SE_Europe: Percentage of people born in South Eastern Europe
Born_UK: Percentage of people born in the United Kingdom
BornElsewhere: Percentage of people who were born overseas, outside of Asia, Middle East, South Eastern Europe and the UK
Buddhism: Percentage of people affiliated with the Buddhist religion
Catholic: Percentage of people affiliated with the Catholic denomimation
Christianity: Percentage of people affiliated with the Christian religion (of all denominations)
Couple_NoChild_House: Percentage of households made up of a couple with no children
Couple_WChild_House: Percentage of households made up of a couple with children
CurrentlyStudying: Percentage of people who are currently studying
DeFacto: Percentage of people who are in a de facto marriage
DiffAddress: Percentage of people who live at a different address to what they did 5 years ago
DipCert: Percentage of people who have completed a diploma or certificate
Distributive: Percentage of employed persons who work in wholesale trade, retail trade, transport, post or warehousing related industries
EmuneratedElsewhere: Percentage of people who receive emuneration outside of Australia, out of the total population plus overseas visitors
EnglishOnly: Percentage of people who speak only English
Extractive: Percentage of employed persons who work in extractive industries (includes mining, gas, water, agriculture, waste, electricity)
FamilyRatio: Average number of people per family
Finance: Percentage of employed persons who work in finance or insurance related industries
HighSchool: Percentage of people who have completed high school
Indigenous: Percentage of people who are Indigenous
InternetAccess: Percentage of people with access to the internet
InternetUse: Percentage of people who used internet in the last week (2001 only)
Islam: Percentage of people affiliated with the Islamic religion
Judaism: Percentage of people affiliated with the Jewish religion
Laborer: Percentage of employed persons who work as a laborer
LFParticipation: Labor force participation rate
ManagerAdminClericalSales: Percentage of employed persons who work in management, administration, clerical duties and sales
Married: Percentage of people who are married
MedianAge: Median age
MedianFamilyIncome: Median weekly family income (in $)
MedianHouseholdIncome: Median weekly household income (in $)
MedianLoanPay: Median mortgage loan repayment amount (of mortgage payments, in $)
MedianPersonalIncome: Median weekly personal income (in $)
MedianRent: Median weekly rental payment amount (of those who rent, in $)
Mortgage: Percentage of dwellings that are on a mortgage
NoReligion: Percentage of people with no religion
OneParent_House: Percentage of households made up of one parent with children
Other_NonChrist: Percentage of people affiliated with a religion other than Christianity, Buddhism, Islam and Judaism
OtherChrist: Percentage of people affiliated with a denomination of the Christian religion other than Anglican or Catholic
OtherLanguageHome: Percentage of people who speak a language other than English at home
Owned: Percentage of dwellings that are owned outright
Professional: Percentage of employed persons who work as a professional
PublicHousing: Percentage of dwellings that are owned by the government, and rented out to tenants
Renting: Percentage of dwellings that are being rented
SocialServ: Percentage of employed persons who work in education and training, healthcare, social work, community, arts and recreation
SP_House: Percentage of households occupied by a single person
Tradesperson: Percentage of employed persons who specialise in a trade
Transformative: Percentage of employed persons who work in construction or manufacturing related industries
Unemployed: Unemployment rate
Volunteer: Percentage of people who work as a volunteer
# NOT RUN {
library(eechidna)
library(dplyr)
data(abs2004)
abs2004 %>% select(DivisionNm, MedianAge, Unemployed, NoReligion, MedianPersonalIncome) %>% head()
# Join with two-party preferred voting data
library(ggplot2)
data(tpp04)
election2004 <- left_join(abs2004, tpp04, by = "UniqueID")
# See relationship between personal income and Liberal/National support
ggplot(election2004, aes(x = MedianPersonalIncome, y = LNP_Percent)) + geom_point() + geom_smooth()
# }
Run the code above in your browser using DataLab