Crawling twitter
I'm currently taking a Coursera course (in the 2nd of 4 weeks today) called Getting and Cleaning Data (https://class.coursera.org/getdata-002). I think the lectures for week 2 might answer your question.
If you're using a Windows machine, you may want to generate a powershell (using system.net.webclient) script that is run from R.
see the following links for some info...
http://msdn.microsoft.com/en-us/library/system.net.webclient.aspx
http://technet.microsoft.com/en-us/library/bb978526.aspx
and some code to get you started:
sink("download.bat")
cat("powershell -File \"r-generated.ps1\"")
sink()
sink("r-generated.ps1")
cat("$wc=new-object system.net.webclient\n")
#download 'your_url_here' and save as temp.html in the working directory
cat(paste("$wc.downloadfile(\"", your_url_here, "\", \"", gsub("/", "\\\\", getwd()), "\\temp.html\")\n", sep = ""))
shell("download.bat")
twitteR library : cran.r-project.org/web/packages/twitteR/twitteR.pdf
many examples are given here : http://www.r-bloggers.com/search/twitter
note that the twitter API has now many limitations
Thanks all, I used QVsouce tool to collect tweets, It can also be done using twitteR package.
I would like to learn more about SPSS and Its application especially in regards to data analysis. Please suggest me how I can learn more about it. Thank you so much.
11 August 2024 9,101 4 View
I have reverse sequences (AB1 format), can I base on reverse DNA sequences to perform nucleotide alignment, convert nucleotides to amino acids and deposit the sequence in GenBank database?
11 August 2024 5,138 1 View
Hello, Why do i see this baseline drift when i compare my blank (black) to the sample (blue)? Any suggestions as to why this happened? Thank you!
11 August 2024 3,770 4 View
Willett, Shenoy et al. (2021) have developed a brain computer interface (BCI) that used neural signal collected from the hand area of the motor cortex (area M1) of a paralyzed patient. The...
10 August 2024 7,180 0 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,429 2 View
How can I use the cif data obtained from rietveld refinement extracted via gsas2, for microstructural analysis using ETEX software?
09 August 2024 7,718 0 View
Let's say we have a standard, regular hexagonal honeycomb with a 3-arm primitive unit cell (something like the figure attached; the figure is only representative and not drawn to scale). The...
07 August 2024 1,937 1 View
My name is Apurva Saoji. I am a Ph.D scholar in Computer engineering in India. I am looking for international expert in reviewing my PhD thesis, "Competitive Optimization Techniques to Minimize...
07 August 2024 4,600 2 View
A fungal strain was treated with nanoparticles. We want to do an environmental SEM analysis. So could anyone share your views on preparing the sample? Thank you.
07 August 2024 5,307 1 View
Hi, I have a question about normalizing the MTT OD values for doing the statistical analysis. So, if we have 3 different plates and we call them 3 different replicates, so, first we would...
07 August 2024 8,106 4 View