{"size": 358, "ext": "js", "max_stars_repo_path": "src/data-sources/opa.js", "max_stars_repo_name": "CityOfPhiladelphia/atlas", "max_stars_repo_stars_event_min_datetime": "2016-11-17T18:19:32.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-15T15:31:02.000Z", "max_issues_repo_path": "src/data-sources/opa.js", "max_issues_repo_name": "CityOfPhiladelphia/atlas", "max_issues_repo_issues_event_min_datetime": "2016-11-08T19:47:46.000Z", "max_issues_repo_issues_event_max_datetime": "2021-08-17T15:36:22.000Z", "max_forks_repo_path": "src/data-sources/opa.js", "max_forks_repo_name": "CityOfPhiladelphia/atlas", "max_forks_repo_forks_event_min_datetime": "2016-08-26T19:55:00.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-22T18:52:37.000Z"}
{"max_stars_count": 10, "max_issues_count": 73, "max_forks_count": 7, "avg_line_length": 22.375, "max_line_length": 120, "alphanum_fraction": 0.5754189944}
export default {
  id: 'opa',
  type: 'http-get',
  url: 'https://phl.carto.com/api/v2/sql',
  options: {
    params: {
      q: function(feature) {
        return "select * from opa_properties_public where parcel_number = '" + feature.properties.opa_account_num + "'";
      },
    },
    success: function(data) {
      return data.rows[0];
    },
  },
};
