Skip to content

Instantly share code, notes, and snippets.

View paulinamarczak's full-sized avatar

Paulina Marczak paulinamarczak

View GitHub Profile
@paulinamarczak
paulinamarczak / ODG graphs.R
Last active August 29, 2015 14:14
Must import packages: reshape2, ggplot2, lattice. Could not get Key/Legend to change colour
#Define the datatset
CSV = data.frame(HTMLType =
factor(c("Metadata", "HTML Serialization", "Link to Download",
"Link and Metadata", "Landing Page", "Data Filter/Access Form", "Not Analyzed"),
levels = c("Metadata", "HTML Serialization", "Link to Download", "Link and Metadata",
"Landing Page", "Data Filter/Access Form","Not Analyzed")),
Australia = c(2.98,56.91,1.67,36.06,0.00,0.00,2.38),
Canada= c(0.49,13.13,6.04,39.03,0.00,0.00,41.31),
UnitedKingdom = c(4.99,0.00,0.00,23.92,3.96,0.00,67.13),
Ireland = c(0.00,5.65,34.00,0.00,4.55,0.00,55.80),