Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticketing View #333

Merged
merged 5 commits into from
Jul 12, 2024
Merged

Ticketing View #333

merged 5 commits into from
Jul 12, 2024

Conversation

ashleyvicary
Copy link
Collaborator

@ashleyvicary ashleyvicary commented Jun 4, 2024

vw_ticketing: ticketing view containing ticketing data cleaned for:

  • card types that do not unique identify users (these include cash transactions)
  • pre-identified card ids with extreme values

Tested with DBT run.py.

Changelog - MIT IPEA Project

[1.0.0] - 2024-06-21

Added

  • Create models:
    • vw_ticketing.sql (Ticketing View #333)
      • View containing ticketing data cleaned for:
        • Card types that do not unique identify users (these include cash transactions)
        • Pre-identified card ids with extreme values
    • h3_gps.sql (incremental) (Add MIT IPEA project dataset #307)
      • Assigns each GPS ping to a H3 tile using vw_h3. This consolidates multiple GPS pings for a given vehicle into a single h3 tile tile_entry_time and tile_exit_time.
    • vw_h3.sql (Add MIT IPEA project dataset #307)
      • Utility view which converts geometry column from STRING to GEOGRAPHY type and adds centriod column.
    • vw_vehicle_details.sql (Add MIT IPEA project dataset #307)
      • Utility view. Takes rj-smtr.veiculo.sppo_licenciamento and aliases column names to english.

@eng-rodrigocunha eng-rodrigocunha changed the title Ticketing View [WIP] Ticketing View Jun 7, 2024
@eng-rodrigocunha
Copy link
Contributor

@ashleyvicary please add a changelog file (you can check an example in other projects). We're using it as a guide: https://github.com/vweevers/common-changelog

@ashleyvicary
Copy link
Collaborator Author

@eng-rodrigocunha added changelog. Should be ready for your review again :)

@ashleyvicary ashleyvicary changed the title [WIP] Ticketing View Ticketing View Jul 3, 2024
@eng-rodrigocunha eng-rodrigocunha merged commit 933971e into master Jul 12, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants