<p></p>
<p><b>@openbrian</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301#discussion_r905688141">lib/osm_community_index.rb</a>:</p>
<pre style='color:#555'>> @@ -0,0 +1,12 @@
+module OsmCommunityIndex
+ require "yaml"
+
+ def self.community_index
+ @community_index ||= community_index_from_json
+ end
+
+ def self.community_index_from_json
+ json_file = Rails.root.join("node_modules/osm-community-index/dist/resources.json")
</pre>
<p dir="auto">Is this the best way to link the dataset? Does OCI have an API we could call?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3301#pullrequestreview-1017944534">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIEM6RVBVN3KK2SGL3VQUTVTANCNFSM5CXUIRLQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLI44XV7IZ7FNZSPBMDVQUTVTA5CNFSM5CXUIRL2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOHSWJTVQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/3301/review/1017944534</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3301#pullrequestreview-1017944534",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3301#pullrequestreview-1017944534",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>