Data Package: https://doi.org/10.5063/F1N58JPP
library(tidyverse)
library(ggplot2)
# install.packages("metajam")
library(metajam)
# URL to the csv file (righ-click on the download button from the website to copy it)
data_url <- "https://knb.ecoinformatics.org/knb/d1/mn/v2/object/urn%3Auuid%3A7fc6f6db-c5ea-426a-a743-1f2edafb43b8"
# Download the data and metadata to my Desktop
local_path <- metajam::download_d1_data(data_url, "~/Desktop")
# Read the data and metadata
hh_list <- metajam::read_d1_files(local_path)
# get the data frame about household
hh_data <- hh_list$data
# get the attribute (columns) metadata
hh_att_metadata <- hh_list$attrubute_metadata
Create a plot by year from 2009 to 2015 showing the average percentage of household speaking only English at the State level (one data point per year)
metajam
https://nceas.github.io/metajam/articles/dataset-single.html