R studio question
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →IP2038 Assessment Guidance 2023-24 KEY INSTRUCTIONS FOR COMPLETING YOUR ASSIGNMENT Here are the key steps to complete your assignment: 1. Template: download the template from this link or directly from Moodle (“Assessment Information” section). The file is called “IP2038-AssessmentTemplate-23-24.qmd”. 2. Open the qmd file inside RStudio 1 3. 4. 5. Complete the Assessment: The assessment template lays out 4 main pieces of analysis that you will have complete for the selected data. Complete the different tasks by editing the Quarto file you have imported. For each of these tasks: – Part A: Complete the R code chunk in the first part of each task with code to produce the required numeric or graphical results. This include adding comments to the code using the #sign in order to explain what you have done. – Part B: Interpret the output of the code chunk Create the Html report: Once you are done, you need to generate a html file with your code, results, and text. In order to do this select “Render” to generate the html document in your project folder. Submit the html file to the submission point on Moodle. DATA In order to complete the assignment you will have to select, load in your R environment, and analyze one of the following datasets Dataset Information CSV Transparency International Corruption Perception Index OECD Gender Wage Gap Data Transparency International Link to csv file Link to csv file Link to csv file Link to csv file Link to csv file Link to csv file Link to csv file Link to csv file Link to csv file Organization for Economic Cooperation and Development Climate Watch Greenhouse Gas Emissions by Country (CAIT2021) OECD Data on Social Expenditures as a Share of GDP SIPRI Military Expenditure Database Organization for Economic Cooperation and Development Stockholm International Peace Research Institute Our World in Data Global extreme poverty: Present and past since 1820 (Moatsos in OECD, 2021) World Inequality Database (WID) – Pretax income United Nations Development Programme (UNDP) Human Development Index Political Regime via Polity 5 World Inequality Database United Nations Development Programme Center for Systemic Peace 2 You will need to download the selected data directly from RStudio using the read_csv() function, adding the url of the csv file within brackets. Hint: Click on the “Link to csv file” and open it in your browser. Then copy the web address (url) and add it to the read_csv() function For instance you can download the United Nations Development Programme (UNDP) Human Development Index in this way. # Install the tidyverser package if it is not already installed on your machine (this needs to be done only the first time) # install.packages(“tidyverse”) #Load the tidyverse packagee library(tidyverse) #download the csv file (from r) data
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds
