Getting data from DataSF is a matter of copying the relevant URL into one of R’s many read functions, e.g. readr::read_csv, jsonlite::fromJSON, st::st_read, etc.
library(readr)library(sf)
Linking to GEOS 3.9.1, GDAL 3.4.3, PROJ 7.2.1; sf_use_s2() is TRUE
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (22): uniqueid, ttxid, certificate_number, ownership_name, dba_name, fu...
dbl (7): business_zip, supervisor_district, :@computed_region_6qbp_sg9q, :...
lgl (2): parking_tax, transient_occupancy_tax
dttm (6): dba_start_date, dba_end_date, location_start_date, location_end_d...
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
Warning
Behind the scenes there is a limit parameter that defaults to 1000, even if the ‘All data’ radio button is selected. To retrieve all the data, either read the same URL with the RSocrata package: