-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.Rapp.history
124 lines (124 loc) · 2.74 KB
/
.Rapp.history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
cd
getwd()
mydata = read.csv("Downloads/vehicles.csv")
mydata
attributes(myData)
attributes(mydata)
library('XML')
install.packages('RCurl', 'XML')
library('RCurl')
library('XML')
install.packages('XML')
library('XML')
for(i in 1:length(mydata)) {carXML = getURL('http://www.fueleconomy.gov/ws/rest/ympg/shared/ympgVehicle/{id}')
mpg
mp
quit
}
mpg
source("/Users/brent/Documents/mpg.R")
hello
"hello" + 5
"hello" + string(5)
"hello" + as.character(5)
5
paste("string", 5)
mpg
source("/Users/brent/Documents/mpg.R")
mydata
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
r = getCarData(1)
xmlName(r)
xmlSize(r)
r
r["avgMpg"]
r[]["avgMpg"]]
r[["avgMpg"]]
r["avgMpg"][0]
r["avgMpg"]
r$avgMpg
r["avgMpg"]
xmlValue(r["avgMpg"])
foreach(XMLNode node in r) {}
foreach(XMLNode node in r) {print(node)}
foreach (XMLNode node in r) {print(node)}
foreach (XmlNode node in r) {print(node)}
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
d = getCarData(1)
d
d$avgMpg
class(d$avgMpg)
xmlValue(d$avgMpg)
source("/Users/brent/Documents/mpg.R")
getCarData(1)
colnames(mydata)
mydata[1,"comb08"] - mydata[1, "combA08U"]
mydata[1,"comb08"]
mydata[1,"comb08"] - mydata[1, "combA08U"]
mydata[1, "combA08U"
]
mydata[1,"comb08"] - mydata[1, "combA08"]
source("/Users/brent/Documents/mpg.R")
loadData
loadData()
source("/Users/brent/Documents/mpg.R")
loadData()
mpg
loadData()
source("/Users/brent/Documents/mpg.R")
loadData()
loadData()