marsha5813 / botcheck Goto Github PK
View Code? Open in Web Editor NEWMakes a call to the Botometer API in R to obtain the probability that a specified Twitter handle is a bot.
License: Other
Makes a call to the Botometer API in R to obtain the probability that a specified Twitter handle is a bot.
License: Other
Can we add a flag for the pro api?
When putting in some handles (so far, accounts I know not to be bots) I often - but not always - get a return of NULL. How might I change this to return the actual likelihood of bottiness rather than NULL?
Thanks again!
First of all, thanks for this package!
I would like to use it for my study and publish my research data and tools to allow further research. Unfortunately, the license situation in this repo is unclear. In the description you state that it's MIT, but the LICENSE file looks like normal copyright which forbids publication.
Could you please update the LICENSE file accordingly?
Full text of MIT license below:
Copyright <YEAR> <COPYRIGHT HOLDER>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Thanks!
I've signed up for Mashape but, once logged in, I can't seem to find my key. How would I generate/find this key? Sorry for the confusion!
Is it possible to change the URL from Mashape to RapidAPI?
result = POST("https://osome-botometer.p.mashape.com/2/check_account",
encode="json",
add_headers(X-Mashape-Key
=Mashape_key),
body=body_json)
to
result = POST("https://botometer-pro.p.rapidapi.com/2/check_account",
encode="json",
add_headers(X-Mashape-Key
=Mashape_key),
body=body_json)
I get an error that botcheck function was not found.
install_github("marsha5813/botcheck")
Downloading GitHub repo marsha5813/botcheck@master
from URL https://api.github.com/repos/marsha5813/botcheck/zipball/master
Installing botcheck
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/RJSONIO_1.3-0.tgz'
Content type 'application/x-gzip' length 1311082 bytes (1.3 MB)
==================================================
downloaded 1.3 MB
Installing RJSONIO
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ
--no-save --no-restore --quiet CMD INSTALL
'/private/var/folders/8v/2rvm803s6gvdzdpdtkxn78s00000gn/T/RtmpADpbON/devtools2c3b7b12dcf2/RJSONIO'
--library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library'
--install-tests
downloaded 4.2 MB
Installing Rcpp
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ
--no-save --no-restore --quiet CMD INSTALL
'/private/var/folders/8v/2rvm803s6gvdzdpdtkxn78s00000gn/T/RtmpADpbON/devtools2c3b778168a3/Rcpp'
--library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library'
--install-tests
installing binary package ‘Rcpp’ ...
DONE (Rcpp)
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ
--no-save --no-restore --quiet CMD INSTALL
'/private/var/folders/8v/2rvm803s6gvdzdpdtkxn78s00000gn/T/RtmpADpbON/devtools2c3bd6ca202/xml2'
--library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library'
--install-tests
installing binary package ‘xml2’ ...
DONE (xml2)
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ
--no-save --no-restore --quiet CMD INSTALL
'/private/var/folders/8v/2rvm803s6gvdzdpdtkxn78s00000gn/T/RtmpADpbON/devtools2c3b28bcad42/marsha5813-botcheck-0ed0082'
--library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library'
--install-tests
installing source package ‘botcheck’ ...
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
DONE (botcheck)
library(xml2)
Error in value[3L] :
Package ‘xml2’ version 1.1.1 cannot be unloaded:
Error in unloadNamespace(package) : namespace ‘xml2’ is imported by ‘tidyverse’, ‘rvest’ so cannot be unloaded
In addition: Warning message:
package ‘xml2’ was built under R version 3.4.3
I accidentally saved the wrong credentials and have had to re-enter my credentials every time I load botcheck. I've tried uninstalling/reinstalling botcheck to no avail. How might I reset those credentials and then save them properly?
Thanks in advance for your help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.