Add check for valid Socrata resource URL. Add check for supported download file format. Add support for Socrata short dates.
Use comma-separated file format for Socrata downloads.
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.
Added additional RUnit tests to validate new functionality.
Add json file format for Socrata downloads. Switch to RJSONIO
from rjson
.
jsonlite
from RJSONIO
Deprecated httr::guess_media()
and implemented mime::guess_type()
ls.socrata
to list all datasets on a Socrata portal.app_token
, which lets users supply an API token while using read.socrata()
to minimize throttling.read.socrata
failed when reading in a date with a column, but there are null values in that column.RUnit
to testthat
and implemented code coverage monitoring (#41)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.
POSIXct
instead of POSIXlt
(#8)getDataFrame
to get stuckin an infinite loop while waiting for "[]". Thank you @kevinsmgov for documenting this bug in issue (#96)Error in rbind(deparse.level, ...) : numbers of columns of arguments do not match
. (#19)@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)$where
argument in a SoDA query. (#105)Performance improvements:
Bug fixes:
select=count()
statement was present in a URL. (#120)X-SODA2-*
headers available in the API response. Users will now get a warning and data will be returned as character
. (#118)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)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.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.