-
Notifications
You must be signed in to change notification settings - Fork 232
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
Add company name to status change #22
Comments
Shouldn't we know the company name based on what API endpoint is being queried? |
We will have to add a company field to the sql table (unless you want to keep different tables for different companies, which we probably do not), and it is easier to just pull it from them than to manually keep track of the company we are querying and add it. |
I agree with @dmklinger here, this would be a useful field to have as part of the data coming down from the API. Although we will know the company, IMHO it is worth some duplication for the added flexibility and scalability of that information being encoded in the data itself. Imagine a future where there are hundreds of companies operating - it would be great to be able to query the This would also be consistent with the gbfs |
This seems reasonable. {and consistent with GBFS, which we aim to
supplement) Let's do PR for it on Thursday.
…On Tue, Jul 3, 2018 at 7:49 PM, Kegan Maher ***@***.***> wrote:
I agree with @dmklinger <https://github.com/dmklinger> here, this would
be a useful field to have as part of the data coming down from the API.
Although we will know the company, IMHO it is worth some duplication for
the added flexibility and scalability of that information being encoded in
the data itself.
Imagine a future where there are hundreds of companies operating - it
would be great to be able to query the /provider APIs "blindly", where
the code doesn't *have* to know which individual provider it is hitting.
This would also be consistent with the gbfs system_information.name
<https://github.com/NABSA/gbfs/blob/master/gbfs.md#system_informationjson>
field.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABp74ijQIQa8S4FEEFUyEQdK7g6MkAEHks5uDC0ygaJpZM4VAEjc>
.
|
…-data-standard * 'master' of https://github.com/CityOfLosAngeles/mobility-data-standard: adding company name. Fixes #22 (#24)
…s-description Update modalities description
also swap ordering of device id and device type. then it's consistently big endian: company > device types > specific device
The text was updated successfully, but these errors were encountered: