This page contains a summary of the data available in the AuSSA 2018 - Religion.
To make sense of the variable names - please refer to the questionnaire which is available to download from the ADA
The complete data set is also available to download from the ADA
knitr::opts_chunk$set(
warning = TRUE, # show warnings during codebook generation
message = TRUE, # show messages during codebook generation
error = TRUE, # do not interrupt codebook generation in case of errors,
# usually better for debugging
echo = TRUE # show R code
)
ggplot2::theme_set(ggplot2::theme_bw())
library(codebook)
# to import an SPSS file from the same folder uncomment and edit the line below
library(haven)
library(sjlabelled)
codebook_data <- read_spss("aussa2018codebook.sav")
#Recode can't choose to be sequential
for (col in colnames(codebook_data)) {
if (!is.null(get_labels(codebook_data[[col]],attr.only=TRUE))) {
labs <- get_labels(codebook_data[[col]],attr.only=TRUE)
vals <- get_values(codebook_data[[col]])
locator <- grep('choose',labs,ignore.case=TRUE)
if (length(locator) != 0) {
codebook_data[[col]] <- remove_labels(codebook_data[[col]],labels = labs[locator])
mval <- max(vals[-locator]) + 1
codebook_data[[col]] <- add_labels(codebook_data[[col]], labels = setNames(mval,labs[locator]))
codebook_data[[col]][codebook_data[[col]]==vals[locator]] <- mval
}
}
}
# for Stata
# codebook_data <- rio::import("mydata.dta")
# for CSV
# codebook_data <- rio::import("mydata.csv")
# omit the following lines, if your missing values are already properly labelled
codebook_data <- detect_missing(codebook_data,
only_labelled = TRUE, # only labelled values are autodetected as
# missing
negative_values_are_missing = FALSE, # negative values are missing values
ninety_nine_problems = TRUE, # 99/999 are missing values, if they
# are more than 5 MAD from the median
)
# If you are not using formr, the codebook package needs to guess which items
# form a scale. The following line finds item aggregates with names like this:
# scale = scale_1 + scale_2R + scale_3R
# identifying these aggregates allows the codebook function to
# automatically compute reliabilities.
# However, it will not reverse items automatically.
#codebook_data <- detect_scales(codebook_data)
metadata(codebook_data)$name <- "Australian Survey of Social Attitudes 2018 - Religion"
metadata(codebook_data)$description <- "The Australian Survey of Social Attitudes (AuSSA) is Australia’s main source of data for the scientific study of the social attitudes, beliefs and opinions of Australians, how they change over time, and how they compare with other societies. The survey is used to help researchers better understand how Australians think and feel about their lives. It produces important information about the changing views and attitudes of Australians as we move through the 21st century. Similar surveys are run in other countries, so data from the AuSSA also allows us to compare Australia with countries all over the world. The aims of the survey are to discover: the range of Australians’ views on topics that are important to all of us; how these views differ for people in different circumstances; how they have changed over the past quarter century; and how they compare with people in other countries. AuSSA is also the Australian component of the International Social Survey Project (ISSP). The ISSP is a cross-national collaboration on surveys covering important topics. Each year, survey researchers in some 40 countries each do a national survey using the same questions. The ISSP focuses on a special topic each year, repeating that topic from time to time. The topic for 2018 is Religion. This is the fourth time this has been the topic of the survey, having previously been the theme for the survey in 1991, 1998 and 2008."
metadata(codebook_data)$identifier <- "doi:10.26193/IWGB1F"
metadata(codebook_data)$datePublished <- "2020-10-09"
metadata(codebook_data)$creator <- list(
"@type" = "Person",
givenName = "Adam", familyName = "Zammit",
email = "adam.zammit@acspri.org.au",
affiliation = list("@type" = "Organization",
name = "Australian Consortium for Social and Political Research Incorporated (ACSPRI)"))
metadata(codebook_data)$citation <- "ACSPRI (2021). AuSSA 2018 Codebook."
metadata(codebook_data)$url <- "https://www.acspri.org.au/sites/acspri.org.au/files/aussa2018codebook.html"
metadata(codebook_data)$temporalCoverage <- "2018"
metadata(codebook_data)$spatialCoverage <- "Australia"
codebook(codebook_data)
Dataset name: Australian Survey of Social Attitudes 2018 - Religion
The Australian Survey of Social Attitudes (AuSSA) is Australia’s main source of data for the scientific study of the social attitudes, beliefs and opinions of Australians, how they change over time, and how they compare with other societies. The survey is used to help researchers better understand how Australians think and feel about their lives. It produces important information about the changing views and attitudes of Australians as we move through the 21st century. Similar surveys are run in other countries, so data from the AuSSA also allows us to compare Australia with countries all over the world. The aims of the survey are to discover: the range of Australians’ views on topics that are important to all of us; how these views differ for people in different circumstances; how they have changed over the past quarter century; and how they compare with people in other countries. AuSSA is also the Australian component of the International Social Survey Project (ISSP). The ISSP is a cross-national collaboration on surveys covering important topics. Each year, survey researchers in some 40 countries each do a national survey using the same questions. The ISSP focuses on a special topic each year, repeating that topic from time to time. The topic for 2018 is Religion. This is the fourth time this has been the topic of the survey, having previously been the theme for the survey in 1991, 1998 and 2008.
Metadata for search engines
Date published: 2020-10-09
Creator:
name | value |
---|---|
@type | Person |
givenName | Adam |
familyName | Zammit |
adam.zammit@acspri.org.au | |
affiliation | Organization , Australian Consortium for Social and Political Research Incorporated (ACSPRI) |
|
If you were to consider your life in general these days, how happy or unhappy would you say you are, on the whole… :
Distribution of values for A1
27 missing values.
name | label | data_type | n_missing | complete_rate | min | median | max | mean | sd | hist | format.spss |
---|---|---|---|---|---|---|---|---|---|---|---|
A1 | If you were to consider your life in general these days, how happy or unhappy would you say you are, on the whole… : | numeric | 27 | 0.979021 | 1 | 2 | 5 | 1.794444 | 0.7582017 | ▅▇▁▁▁ | F1.0 |
name | value |
---|---|
Very happy | 1 |
Fairly happy | 2 |
Not very happy | 3 |
Not at all happy | 4 |
Cant choose | 5 |
All things considered, how satisfied are you with your relationships with family members? :
Distribution of values for A2
25 missing values.
name | label | data_type | n_missing | complete_rate | min | median | max | mean | sd | hist | format.spss |
---|---|---|---|---|---|---|---|---|---|---|---|
A2 | All things considered, how satisfied are you with your relationships with family members? : | numeric | 25 | 0.980575 | 1 | 2 | 8 | 2.320919 | 1.173669 | ▇▃▁▁▁ | F1.0 |
name | value |
---|---|
Completely satisfied | 1 |
Very satisfied | 2 |
Fairly satisfied | 3 |
Neither satisfied nor dissatisfied | 4 |
Fairly dissatisfied | 5 |
Very dissatisfied | 6 |
Completely dissatisfied | 7 |
Can�t choose | 8 |
Do you think it is wrong or not wrong if a married person has sexual relations with someone other than his or her husband or wife, is it… :
Distribution of values for A3
28 missing values.
name | label | data_type | n_missing | complete_rate | min | median | max | mean | sd | hist | format.spss |
---|---|---|---|---|---|---|---|---|---|---|---|
A3 | Do you think it is wrong or not wrong if a married person has sexual relations with someone other than his or her husband or wife, is it… : | numeric | 28 | 0.978244 | 1 | 1 | 5 | 1.622716 | 0.9651274 | ▇▃▁▁▁ | F1.0 |
name | value |
---|---|
Always wrong | 1 |
Almost always wrong | 2 |
Wrong only sometimes | 3 |
Not wrong at all | 4 |
Cant choose | 5 |
And what about sexual relations between two adults of the same sex, is it… :