https://github.com/ahasverus/gimger
GImgeR - Download Google Pictures Using RSelenium
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.6%) to scientific vocabulary
Keywords
Repository
GImgeR - Download Google Pictures Using RSelenium
Basic Info
- Host: GitHub
- Owner: ahasverus
- License: gpl-3.0
- Language: R
- Default Branch: master
- Size: 24.4 KB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
GImgeR - Download Google Pictures Using RSelenium
Overview
This R function downloads pictures from Google Pictures website using the Selenium technology and the R package RSelenium.
Requirements
This function is based on the R package RSelenium. First, you have to install this package and its dependencies:
r
install.packages("RSelenium")
The Selenium technology remotely takes the control of a web browser among: Google Chrome, Mozilla Firefox, Internet Explorer, or PhantomJS. Be sure to have one of them installed.
Usage
First, clone the repository:
bash
cd ~/Desktop/
git clone https://github.com/ahasverus/GImgeR.git
Then, open R (or Rstudio if you prefer) and enjoy.
```r
' ---------------------------------------------------------------------------- DefinePaths
repospath <- "pathtogitrepos" picturespath <- "pathtofoldertostorepictures"
' ---------------------------------------------------------------------------- LoadCodeSource
source(file.path(repospath, "R", "getgoogle_pictures.R"))
' ---------------------------------------------------------------------------- SingleTerm
getgooglepictures( searchterms = "whale", nphotos = 20, firstimg = 1, path = picturespath, browser = "firefox" )
' ---------------------------------------------------------------------------- MulipleTerms
getgooglepictures( searchterms = paste(c("whale", "shark"), "drone photo aerial"), nphotos = 20, firstimg = 1, path = picturespath, browser = "firefox" )
```
To go further
This code is based on the RSelenium package. Here is some useful links:
Owner
- Name: Nicolas Casajus
- Login: ahasverus
- Kind: user
- Location: Montpellier, France
- Company: @FRBCesab
- Website: https://nicolascasajus.fr
- Repositories: 89
- Profile: https://github.com/ahasverus
Data scientist
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Nicolas Casajus | n****s@g****m | 10 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0