Recent Releases of RSocrata

RSocrata - v.1.7.11

This release fixes a failing unit test (#196) due to a broken URL, and updates outdated URLs (#201).

- R
Published by nicklucius over 4 years ago

RSocrata - v1.7.10

This release contains a single bug fix that was causing a unit test to fail because of a change made to the source dataset (#183).

- R
Published by nicklucius over 6 years ago

RSocrata - v1.7.9

1.7.9 CRAN bug fixes

The updates from 1.7.8 to 1.7.9 are all realated to minor bug fixes to pass CRAN tests, which were caused by changes by the data portal vendor. See #179 and #174

  • Tests have been updated to reflect changes in the order in which columns are returned
  • Tests have been skipped to reflect the vendor's deletion of user accounts that are consistent with their security policy.
  • The README.md was updated to remove the link to waffle.io

- R
Published by geneorama over 6 years ago

RSocrata - v1.7.8

This release contains a single bug fix that was causing a unit test to fail because of a change made to the source dataset.

- R
Published by nicklucius almost 7 years ago

RSocrata - v1.7.7

This release contains a single bug fix that was causing a unit test to fail because of a change made to the source dataset. (#169)

- R
Published by nicklucius almost 7 years ago

RSocrata - v1.7.6

This release contains a single bug fix that was causing a unit test to fail because of a change made to the source dataset. (#166)

- R
Published by nicklucius almost 7 years ago

RSocrata - v1.7.5

This release contains a single bug fix that was causing a unit test to fail because of a change made to the source dataset. (#158 )

- R
Published by nicklucius about 7 years ago

RSocrata - v1.7.4

New features: * Adds support for Socrata's grid view URL structure (e.g., ending with /data) (#147) * read.socrata, write.socrata, and ls.socrata includes User-Agent in headers, allowing for Socrata to track RSocrata usage (from version 1.7.4 onward) (#119)

Bug fixes: * Temporary fix for #137 by simply commenting-out the unit test calling to City of Boston. Future versions will provide an alternative fix for this. * Reduces "false positive" write.socrata() unit test by only checking for 200 HTTP status code (#143) * Solved erroneous error messages from unit testing (#148)

- R
Published by tomschenkjr about 8 years ago

RSocrata - v1.7.3

This release contains a single bug fix that was causing a unit test to fail because of a change made to the source dataset. (#141)

- R
Published by tomschenkjr over 8 years ago

RSocrata - v1.7.2

Performance improvements:

  • By default, 1000 rows at a time were being retreived for each API call while paging through data. Increased to retreive 50,000 rows for each API call. (#129)

Bug fixes:

  • Fixed a bug which caused an error if a select=count() statement was present in a URL. (#120)
  • Fixed a bug when data types are not found because there are no X-SODA2-* headers available in the API response. Users will now get a warning and data will be returned as character. (#118)
  • Fixed a bug which did not recognize URLs listed from ls.socrata() as valid URLs to be used in read.socrata(). Users will now be able to use URLs from the former function in the latter function. (#124)
  • Removed unit tests for older releases of R. (#136)

Deprecation:

RSocrata's core development team has stated a formal policy to only support the most recent release of R. Until now, RSocrata was tested against the penultimate release of R; however, testing will be limited to the current version of R and the current development release. The project's contributing guidelines have been updated to reflect that accepted changes to RSocrata must pass tests on the current and penulimate versions of R.

While RSocrata is only tested on the current and penultimate version, the core development team expects it will work on older versions most of the time. See #132 for more information.

- R
Published by nicklucius almost 9 years ago

RSocrata - v1.7.1

This release contains several bug fixes, including: - Users provided an option to handle string-like fields as characters (chr) or factors. Default is to handle string-like fields as character vectors (#27) - Fixes bug where dates are incorrectly read when first date is a blank (#68) - Dates are now handled using POSIXct instead of POSIXlt (#8) - Added additional unit testing (#28) - Artifacts from Appveyor CI can now be directly submitted to CRAN (#77) - Fixed issue where JSON may occasionally come back with a final NULL that is not "[]" (in this example it was "[]\n"). This caused getDataFrame to get stuckin an infinite loop while waiting for "[]". Thank you @kevinsmgov for documenting this bug in issue (#96) - Resolved an error users would see when downloading the JSON file on a SoDA call, Error in rbind(deparse.level, ...) : numbers of columns of arguments do not match. (#19) - The LIMIT argument was incorrectly interpreted by RSocrata, which sometime causes slower performance (#83, #14) - The mandatory @context, @id, conformsTo, and describedBy fields were not shown when using ls.socrata(). These elements are now included as attributes in the resulting data frame. (#72) - Fixed a bug which a user-defined token was ignored when the user passed along a $where argument in a SoDA query. (#105) - Fixes a bug where the POSIX date conversion would not occur when using the JSON SoDA url (#85) - Queries now follow SoDA guidelines and are explicitly sorted. This could have caused a silent error where some row may not have downloaded. (#15)

- R
Published by tomschenkjr over 9 years ago

RSocrata - v1.7.0

New features: - Users can upload data with write.socrata() to upload data to Socrata data portals (using "upsert" and "replace" methods). - Download private datasets by using Socrata credentials with email and password fields in read.socrata().

Bug fixes: - Updated unit testing on ls.socrata() to check for @type field is available. - Converts a Socrata money field into a proper numeric field, instead of a factor. - Updated build method for Travis to test using the current CRAN packages, not beta packages from GitHub.

- R
Published by tomschenkjr almost 10 years ago

RSocrata - v1.6.2

  • Resolved potential name collision issue
  • Cleaned-up documentation with contributor instructions #23 and #28)
  • Moved test coverage in RUnit to testthat and implemented code coverage monitoring (#41)
  • Clean-up DESCRIPTION (#40)
  • Add continuous integration for Windows (#39)
  • Migrate Travis-CI to "proper" R YAML (#46)

- R
Published by tomschenkjr over 10 years ago

RSocrata - v1.6.0

RSocrata v1.6.0 introduces some new functionality and provides some bug fixes. Below is a summary of the changes introduced in this version: - Added a new function, ls.socrata() to list all datasets on a Socrata portal. Is compatible with Project Open Data Metadata Schema v1.1. For example:

r allSitesDataFrame <- ls.socrata("https://soda.demo.socrata.com") nrow(allSitesDataFrame) # Number of datasets allSitesDataFrame$title # Names of each dataset - New optional argument in read.socrata(), app_token, which lets users supply an API token to minimize throttling - Fixes a bug where read.socrata failed when reading in a date with a column, but there are null values in that column. - Minor changes to the DESCRIPTION documentation to point users to GitHub for issues and provides new contact information.

- R
Published by tomschenkjr almost 11 years ago

RSocrata - v1.5.1

Deprecated httr::guessmedia() and implemented httr::guesstype()

- R
Published by tomschenkjr about 11 years ago

RSocrata - v1.4.0

Add json file format for Socrata downloads. Switch to RJSONIO from rjson.

- R
Published by tomschenkjr about 11 years ago

RSocrata - v1.3.0

Added support for human-readable URL. Users can now copy and paste URLs of Socrata-hosted datasets, which will be transformed into a valid SoDA API web query. For example:

``` r earthquakesDataFrame <- read.socrata("https://soda.demo.socrata.com/dataset/USGS-Earthquakes-for-2012-11-01-API-School-Demo/4334-bgaj")

nrow(earthquakesDataFrame) # 1007 (two "pages")

class(earthquakesDataFrame$Datetime[1]) # POSIXlt ```

Added additional RUnit tests to validate new functionality.

- R
Published by tomschenkjr about 12 years ago

RSocrata - v1.2.0

This release is a minor update that now uses comma-separated file format for Socrata downloads. Available on CRAN.

- R
Published by tomschenkjr about 12 years ago