Learn R Programming

RSocrata (version 1.6.0-12)

read.socrata: Get a full Socrata data set as an R data frame

Description

Manages throttling and POSIX date-time conversions

Usage

read.socrata(url, app_token = NULL)

Arguments

url
A Socrata resource URL, or a Socrata "human-friendly" URL, or Socrata Open Data Application Program Interface (SODA) query requesting a comma-separated download format (.csv suffix), May include SoQL parameters, but is assumed to not include a SODA o
app_token
a string; SODA API token used to query the data portal http://dev.socrata.com/consumers/getting-started.html

Value

  • an R data frame with POSIX dates

Examples

Run this code
df <- read.socrata("http://soda.demo.socrata.com/resource/4334-bgaj.csv")

Run the code above in your browser using DataLab