cityofnewyork-us/nyc-parks-events-listing-event-listing-fudw-fgrp
Icon for Socrata external plugin
Open repository in Console
 
Readme
Updated 7 months ago
Indexed 19 minutes ago

NYC Parks Events Listing – Event Listing

The NYC Parks Events Listing database is used to store event information displayed on the Parks website, nyc.gov/parks. There are seven related tables that make up the this database:

  1. Events_Events table (This is the primary table that contains basic data about every event. Each record is an event.)

  2. Events_Categories (Each record is a category describing an event. One event can be in more than one category.)

  3. Events_Images (Each record is an image related to an event. One event can have more than one image.)

  4. Events_Links (Each record is a link with more information about an event. One event can have more than one link.)

  5. Events_Locations (Each record is a location where an event takes place. One event can have more than one location.)

  6. Events_Organizers (Each record contains a group or person organizing an event. One event can have more than one organizer.)

  7. Events_YouTube (Each record is a link to a YouTube video about an event. One event can have more than one YouTube video.)

The Events_Events table is the primary table. All other tables can be related by joining on the event_id. This data contains records from 2013 and on. For a complete list of related datasets, please follow <a href="https://data.cityofnewyork.us/browse?Data-Collection_Data-Collection=NYC+Parks+Events&sortBy=alpha">This Link</a>

Querying over HTTP

Splitgraph serves as an HTTP API that lets you run SQL queries directly on this data to power Web applications. For example:

curl https://data.splitgraph.com/sql/query/ddn \
    -H "Content-Type: application/json" \
    -d@-<<EOF
{"sql": "
    SELECT *
    FROM \"cityofnewyork-us/nyc-parks-events-listing-event-listing-fudw-fgrp\".\"nyc_parks_events_listing_event_listing\"
    LIMIT 100 
"}
EOF

See the Splitgraph documentation for more information.

 
Preview
  • nyc_parks_events_listing_event_listing
     
     
     
     
     
Upstream Metadata