Verify a date range in a Socrata virtual table

Filter a Socrata virtual table by two dates and check records near those dates against the publisher’s timestamp fields.

Use a fixed range when checking a period in a Socrata virtual table. For example, use the permit issue date for a September report and verify the first and last days against the publisher’s records.

Filter on the source date you need

  1. Open the virtual table and identify the date field for your task. If the dataset has both an issue date and an update date, compare one known record with the publisher’s table to confirm which field you need.
  2. Select Filter, choose the date field, and select Between. Enter the start date in From and the end date in To.
  3. Check a known row near each end of the range. If a row is missing, check the other active filters and compare the original record by its identifier. Verify that the original row has a value in the date field you selected.

Check how the publisher records time

If the dates differ around midnight, check the source field’s type and the time zone used for the report. For a public Socrata portal, open /api/views/abcd-1234.json on the portal’s host and replace abcd-1234 with the dataset ID. In columns, find the source fieldName and read dataTypeName.

  • For calendar_date or floating_timestamp, use the publisher’s guidance to interpret the date and time. A floating timestamp has no time zone in its value. Socrata floating timestamp reference
  • For fixed_timestamp, compare the source timestamp with the report’s time zone. Socrata returns it in UTC with a Z suffix. A value just after midnight in UTC can belong to the previous day locally. Socrata fixed timestamp reference

After checking the source, reopen Filter and verify the selected date field and both boundaries before using the results.

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy a question to get started

  • How do I create a Kanban view?
  • How do I invite a teammate?
  • Why is a record missing from this view?