-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBig Data.R
47 lines (33 loc) · 993 Bytes
/
Big Data.R
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
#
# https://www.mobilizingcs.org/
#
#
# https://opensource.com/article/17/6/collecting-and-mapping-twitter-data-using-r
#
#
install.packages("twitteR") #installs TwitteR library (twitteR) #loads TwitteR
#
#
#
# https://www.phusewiki.org/wiki/index.php?title=Open_XPT_File_with_R
#
#
#
# https://wwwn.cdc.gov/nchs/nhanes/Default.aspx
#
#
# https://wwwn.cdc.gov/nchs/nhanes/search/datapage.aspx?Component=Examination&CycleBeginYear=2015
# https://wwwn.cdc.gov/nchs/nhanes/sasviewer.aspx
#
# Download and install the windows binary from the R Project site
# Launch R and from the Packages menu select install to download and install these two packages
# Hmisc
# SASxport
# Set the current directory to the directory containing the *.xpt file: (File -> Change dir …)
# Issue these commands (sample uses bw.xpt; sub in whatever your file is named):
#
library(SASxport)
# data(Alfalfa)
lookup.xport("BMX_I.XPT")
NHmeasures <- read.xport("BMX_I.XPT")
#head (Alfalfa)