Skip to content

Commit

Permalink
Hot patch to fix #158 (take 2) (#161)
Browse files Browse the repository at this point in the history
* Close all httr GET connections after use (closes #158)

* Add httr:: before config() function, edit DESCRIPTION and NAMESPACE files

* Fixes (#158)

* Roll back changes to httr::GET() calls
* Close all connections at end of example
  • Loading branch information
nicklucius authored Jan 25, 2019
1 parent be97600 commit 5b1baac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Description: Provides easier interaction with
format and manages throttling by 'Socrata'.
Users can upload data to 'Socrata' portals directly
from R.
Version: 1.7.5-1
Date: 2019-01-17
Version: 1.7.5-3
Date: 2019-01-24
Author: Hugh Devlin, Ph. D., Tom Schenk, Jr., Gene Leynes, Nick Lucius, John Malc, Mark Silverberg, and Peter Schmeideskamp
Maintainer: "Tom Schenk Jr." <[email protected]>
Depends:
Expand All @@ -28,4 +28,4 @@ Suggests:
License: MIT + file LICENSE
URL: https://github.com/Chicago/RSocrata
BugReports: https://github.com/Chicago/RSocrata/issues
RoxygenNote: 6.0.1
RoxygenNote: 6.1.0
1 change: 1 addition & 0 deletions R/RSocrata.R
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ getSodaTypes <- function(response) {
#' df <- read.socrata("http://soda.demo.socrata.com/resource/4334-bgaj.csv",
#' app_token = token)
#' nrow(df)
#' closeAllConnections()
#' @importFrom httr parse_url build_url
#' @importFrom mime guess_type
#' @importFrom plyr rbind.fill
Expand Down
2 changes: 1 addition & 1 deletion man/read.socrata.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b1baac

Please sign in to comment.