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

HERE new data pulling plan #892

Open
chmnata opened this issue Feb 27, 2024 · 3 comments
Open

HERE new data pulling plan #892

chmnata opened this issue Feb 27, 2024 · 3 comments
Assignees
Labels

Comments

@chmnata
Copy link
Collaborator

chmnata commented Feb 27, 2024

We are gonna get some new columns from here, set up a plan on how to implement pulling new columns.

New Columns:

  • harmonic_mean: Harmonic Means
  • vdt : Vehicle Distance Travelled
  • probe_count: Probe Count

We should keep pulling all the other columns we are pulling for now, even if they are similar to these new columns:
e.g.

  • mean, arithmetic mean I guess
  • sample_size, depending on if you are pulling path only, or probe mix, the count differs
    We can re-evaluate whether we want to keep pulling them after getting the actual data.

Step 1:
Pull a sample of new data and observe the order of columns.

Step 2:
Add new columns to here.ta and here.ta_path

Step 3:
Edit here.ta_view and here.ta_path_view to include new columns

Step 4:
Edit insert trigger to include new columns in the correct order.

Step 5:
Edit here pulling api, to request for these extra columns.

@chmnata chmnata added the here label Feb 27, 2024
@chmnata chmnata self-assigned this Feb 27, 2024
@chmnata
Copy link
Collaborator Author

chmnata commented Feb 28, 2024

reportFields= [LOCATION_REF, DATE, EPOCH, LENGTH, FREEFLOW, SPDLIMIT, COUNT, MEAN, HARMONIC_MEAN, VDT, PROBE_COUNT, STDDEV, MIN, MAX, CONFIDENCE, PERCENTILES]

@chmnata
Copy link
Collaborator Author

chmnata commented Feb 29, 2024

The new columns only applied for path data... and not probe_mix. The selection for those columns does not show up for probe_mix requests.

@chmnata
Copy link
Collaborator Author

chmnata commented Mar 1, 2024

The oldest date we can backfill is 2018-01-01, the oldest data we have currently in the database is 2017 Sept. So if we were to backfill we will only loss a few months of data.

chmnata added a commit that referenced this issue Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant