Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment uses data from the International Social Survey Program on Environment from 2020 There are 224 questions from 21718 individuals across 14 countries. The
This assignment uses data from the International Social Survey Program on Environment from 2020 There are 224 questions from 21718 individuals across 14 countries. The data you'll need is [here](http://reuningscherer.net/s&ds230/data/iss_2020.csv). Be aware that it will take a few moments to load this data. You'll also want the [codebook that describes the variables](http://reuningscherer.net/s&ds230/data/ISS_2020_Codebook.pdf). The final pages of the codebook have information on how to translate variable names to questions in the survey. **1) Data Set creation** *(23 pts - 3 pts each section, except part 1.5 which is 5 pts)* 1.1) Read the data into an object called `envdat` (do NOT use the option `as.is = TRUE`). Check the dimension to be sure the data loaded correctly. Then create a new object called `envdat2` which only contains information for the following countries : Austria, Iceland, Japan, New Zealand, Philippines, Russia, and Thailand. The variable that contains country is `country`. You'll need to use the ISO 3166 Standard Book of Country Codes which you can find [HERE](https://en.wikipedia.org/wiki/ISO_3166-1_numeric#Officially_assigned_code_elements). Check the dimensions of your results - you should have 9476 observations
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started