Science Score: 23.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
4 of 76 committers (5.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.1%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
httr: a friendly http package for R
Basic Info
- Host: GitHub
- Owner: r-lib
- License: other
- Language: R
- Default Branch: main
- Homepage: https://httr.r-lib.org
- Size: 7.07 MB
Statistics
- Stars: 987
- Watchers: 57
- Forks: 1,974
- Open Issues: 7
- Releases: 19
Topics
Metadata Files
README.md
httr
Status
httr is superseded: only changes necessary to keep it on CRAN will be made. We recommend using httr2 instead.
The aim of httr is to provide a wrapper for the curl package, customised to the demands of modern web APIs.
Key features:
Functions for the most important http verbs:
GET(),HEAD(),PATCH(),PUT(),DELETE()andPOST().Automatic connection sharing across requests to the same website (by default, curl handles are managed automatically), cookies are maintained across requests, and a up-to-date root-level SSL certificate store is used.
Requests return a standard reponse object that captures the http status line, headers and body, along with other useful information.
- Response content is available with
content()as a raw vector (as = "raw"), a character vector (as = "text"), or parsed into an R object (as = "parsed"), currently for html, xml, json, png and jpeg. - You can convert http errors into R errors with
stop_for_status().
- Response content is available with
Config functions make it easier to modify the request in common ways:
set_cookies(),add_headers(),authenticate(),use_proxy(),verbose(),timeout(),content_type(),accept(),progress().Support for OAuth 1.0 and 2.0 with
oauth1.0_token()andoauth2.0_token(). The demo directory has eight OAuth demos: four for 1.0 (twitter, vimeo, withings and yahoo) and four for 2.0 (facebook, github, google, linkedin). OAuth credentials are automatically cached within a project.
httr wouldn't be possible without the hard work of the authors of curl and libcurl. Thanks! httr is inspired by http libraries in other languages, such as Resty, Requests and httparty.
Installation
To get the current released version from CRAN:
R
install.packages("httr")
To get the current development version from github:
```R
install.packages("pak")
pak::pak("r-lib/httr") ```
Code of Conduct
Please note that the httr project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Owner
- Name: R infrastructure
- Login: r-lib
- Kind: organization
- Repositories: 154
- Profile: https://github.com/r-lib
GitHub Events
Total
- Issues event: 8
- Watch event: 11
- Issue comment event: 7
- Fork event: 3
Last Year
- Issues event: 8
- Watch event: 11
- Issue comment event: 7
- Fork event: 3
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| hadley | h****m@g****m | 743 |
| Jenny Bryan | j****n@g****m | 21 |
| Nathan Goulding | n****g@p****o | 20 |
| Jeroen Ooms | j****s@g****m | 16 |
| Craig Citro | c****o@g****m | 13 |
| Jean-Olivier Irisson | i****n@n****g | 12 |
| jennybc | j****y@s****a | 11 |
| Jim Hester | j****r@g****m | 10 |
| Bogstag | k****r@b****e | 9 |
| Daniel Lockau | d****u@m****m | 6 |
| Carl Boettiger | c****g@g****m | 5 |
| Christophe Dervieux | c****x@g****m | 5 |
| Mara Averick | m****k@g****m | 5 |
| Gabor Csardi | c****r@g****m | 4 |
| Artem Klevtsov | a****v@g****m | 4 |
| Nicolas Coutin | n****n | 4 |
| Graham Parsons | g****m@g****m | 4 |
| Martin Morgan | m****n@f****g | 3 |
| antoine.lizee | a****e@g****m | 3 |
| Willem Paling | w****g@g****m | 2 |
| RobertZK | t****b@g****m | 2 |
| John Muschelli | m****2@g****m | 2 |
| Charles Hans Thompson | h****1@g****m | 2 |
| Brent Brewington | b****n@g****m | 2 |
| Bob Rudis | b****b@r****t | 2 |
| Kirill Müller | k****r@i****h | 2 |
| Siddhartha Bagaria | s****b@g****m | 2 |
| rstudio | r****o@e****m | 2 |
| i | i****s@s****g | 2 |
| Paul Garnes | p****s@g****m | 1 |
| and 46 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 116
- Total pull requests: 37
- Average time to close issues: almost 2 years
- Average time to close pull requests: over 1 year
- Total issue authors: 100
- Total pull request authors: 30
- Average comments per issue: 2.76
- Average comments per pull request: 2.14
- Merged pull requests: 11
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 10
- Pull requests: 2
- Average time to close issues: 20 days
- Average time to close pull requests: 12 minutes
- Issue authors: 10
- Pull request authors: 2
- Average comments per issue: 0.9
- Average comments per pull request: 0.5
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- hadley (8)
- jennybc (7)
- dmi3kno (2)
- timwilliate (2)
- llrs (1)
- ezpzlmnsqzy2 (1)
- salim-b (1)
- rkrug (1)
- vjcitn (1)
- ksonda (1)
- maheshrapaka (1)
- guillecarc (1)
- rafapereirabr (1)
- kongdd (1)
- futscience0 (1)
Pull Request Authors
- hadley (4)
- jennybc (3)
- ghost (2)
- jeroen (2)
- Mike-Hanna (2)
- schloerke (1)
- JoshFeldman95 (1)
- patr1ckm (1)
- jameslamb (1)
- jobdiogenes (1)
- MichaelChirico (1)
- denrou (1)
- s-u (1)
- gaborcsardi (1)
- atheriel (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 3
-
Total downloads:
- cran 1,098,058 last-month
- Total docker downloads: 125,185,962
-
Total dependent packages: 1,425
(may contain duplicates) -
Total dependent repositories: 6,299
(may contain duplicates) - Total versions: 44
- Total maintainers: 1
cran.r-project.org: httr
Tools for Working with URLs and HTTP
- Homepage: https://httr.r-lib.org/
- Documentation: http://cran.r-project.org/web/packages/httr/httr.pdf
- License: MIT + file LICENSE
-
Latest release: 1.4.7
published over 2 years ago
Rankings
Maintainers (1)
proxy.golang.org: github.com/r-lib/httr
- Documentation: https://pkg.go.dev/github.com/r-lib/httr#section-documentation
- License: other
-
Latest release: v1.4.7
published over 2 years ago
Rankings
conda-forge.org: r-httr
- Homepage: https://github.com/r-lib/httr
- License: MIT
-
Latest release: 1.4.4
published over 3 years ago
Rankings
Dependencies
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- JamesIves/github-pages-deploy-action v4.4.1 composite
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v3 composite
- r-lib/actions/pr-fetch v2 composite
- r-lib/actions/pr-push v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v3 composite
- actions/upload-artifact v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- R >= 3.5 depends
- R6 * imports
- curl >= 3.0.0 imports
- jsonlite * imports
- mime * imports
- openssl >= 0.8 imports
- covr * suggests
- httpuv * suggests
- jpeg * suggests
- knitr * suggests
- png * suggests
- readr * suggests
- rmarkdown * suggests
- testthat >= 0.8.0 suggests
- xml2 * suggests