Homework 2- Reading in Data

Reading in Data

Kirsten Johnson
10-10-2021

Introduction

In this post, I will try reading in data. I will be reading in the Austrailian marriage tidy dataset. This data breaks down Austrailian marriage staticstics by territory.

Lets read in the australian marriage csv:

aus_marriage<-read_csv("../../_data/australian_marriage_tidy.csv")

To take a quick look at what the data contains, I want to view the csv column names.

colnames(aus_marriage) 
[1] "territory" "resp"      "count"     "percent"  

Here are the column field definitions:

1. “territory” lists the Australian territory name.
2. “resp” denotes marital status as either ‘yes’, married or ‘no’, not married.
3. “count” gives a count of how many people from a territory have a specific marital status.
4. “percent” gives a percentage of the people from a territory with a specific marital status.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-NC 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Johnson (2021, Oct. 10). DACSS 601 Fall 2021: Homework 2- Reading in Data. Retrieved from https://mrolfe.github.io/DACSS601Fall21/posts/2021-10-10-hw2kjohnson/

BibTeX citation

@misc{johnson2021homework,
  author = {Johnson, Kirsten},
  title = {DACSS 601 Fall 2021: Homework 2- Reading in Data},
  url = {https://mrolfe.github.io/DACSS601Fall21/posts/2021-10-10-hw2kjohnson/},
  year = {2021}
}