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

Maybe a error, on the FareAttributes Trasformer #16

Open
p4535992 opened this issue Nov 30, 2015 · 5 comments
Open

Maybe a error, on the FareAttributes Trasformer #16

p4535992 opened this issue Nov 30, 2015 · 5 comments

Comments

@p4535992
Copy link

Maybe I'm wrong, but this part of the code is correct?

if (data["currency_time"]) {
    this.push({ subject: subject, predicate: "http://schema.org/priceCurrency", object : '"' + data["currency_type"] + '"' });
  }

I'm not seeing the property "currency_time" on the documentation of gtfs.
If it's correct perhaps we should add a condition, like this:

if (data["currency_time"] && data["currency_type"]) {
    this.push({ subject: subject, predicate: "http://schema.org/priceCurrency", object : '"' + data["currency_type"] + '"' });
  }
@pietercolpaert
Copy link
Member

Indeed! That's a typo! Sorry for the late response. Can you pull request the fix?

@p4535992
Copy link
Author

Sure, i make a pull request on the evening.

P.S. Can you update the homepage url on http://lov.okfn.org/dataset/lov/vocabs/gtfs i'm really interested on that ontology, but i can't find a link to the ontology model.

Greetings.

@pietercolpaert
Copy link
Member

You mean include a link to http://vocab.gtfs.org?

@p4535992
Copy link
Author

yes, sorry, i haven't think to search that on github, very stupid me.
Greetings.

2016-07-20 13:39 GMT+02:00 Pieter Colpaert [email protected]:

You mean include a link to http://vocab.gtfs.org?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#16 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE9f_KT2wZ2mYmCaj3m3Orov9beabSajks5qXgkBgaJpZM4GrqYy
.

@pietercolpaert
Copy link
Member

pietercolpaert commented Jul 21, 2016

No no, you can leave this open! I will do 2 things here:

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

No branches or pull requests

2 participants