{
  "_id": "6ab7a34d99f7aa8c6aa332ed",
  "Package": "aiRly",
  "Type": "Package",
  "Title": "R Wrapper for 'Airly' API",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(given = \"Piotr\",\nfamily = \"Janus\",\nrole = c(\"cre\",\"aut\"),\nemail = \"piotr_janus@icloud.com\")\n)",
  "Maintainer": "Piotr Janus <piotr_janus@icloud.com>",
  "Description": "Get information about air quality using 'Airly'\n<https://airly.eu/> API through R.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.0",
  "URL": "https://github.com/piotrekjanus/aiRly",
  "BugReports": "https://github.com/piotrekjanus/aiRly/issues",
  "Language": "en-US",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://piotrekjanus.r-universe.dev",
  "Date/Publication": "2020-03-19 22:31:01 UTC",
  "RemoteUrl": "https://github.com/piotrekjanus/airly",
  "RemoteRef": "HEAD",
  "RemoteSha": "093f6f4756d0f18af3c7445845fa47f5b624deb0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-26 10:45:39 UTC",
    "User": "root"
  },
  "Author": "Piotr Janus [cre, aut]",
  "_user": "piotrekjanus",
  "_type": "src",
  "_file": "aiRly_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e9337c686d00563c48f1ed77ee5a2c44506e4c1198918a061132ab8ea3f1fdaf",
  "_filesize": 186782,
  "_sha256": "e9337c686d00563c48f1ed77ee5a2c44506e4c1198918a061132ab8ea3f1fdaf",
  "_expires": "2027-01-04T10:49:47.000Z",
  "_created": "2026-09-26T10:45:39.000Z",
  "_published": "2026-09-26T10:49:49.801Z",
  "_jobs": [
    {
      "job": 108389864813,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10904535540"
    },
    {
      "job": 108389864856,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10904123746"
    },
    {
      "job": 108389864876,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10903729661"
    },
    {
      "job": 108389864824,
      "time": 191,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10904805040"
    },
    {
      "job": 108389417826,
      "time": 196,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10903894923"
    },
    {
      "job": 108389864817,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10904258479"
    },
    {
      "job": 108389864844,
      "time": 63,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10904173464"
    },
    {
      "job": 108389864877,
      "time": 76,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10904820019"
    },
    {
      "job": 108389864904,
      "time": 72,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10903564970"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/piotrekjanus/actions/runs/36236591755",
  "_status": "success",
  "_upstream": "https://github.com/piotrekjanus/airly",
  "_commit": {
    "id": "093f6f4756d0f18af3c7445845fa47f5b624deb0",
    "author": "Piotr <piotrek.janus96@gmail.com>",
    "committer": "Piotr <piotrek.janus96@gmail.com>",
    "message": "Update readme and pkg site\n",
    "time": 1584657061
  },
  "_maintainer": {
    "name": "Piotr Janus",
    "email": "piotr_janus@icloud.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "httptest",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "piotrekjanus",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "piotrekjanus",
      "count": 29,
      "uuid": 38415101
    }
  ],
  "_userbio": {
    "uuid": 38415101,
    "type": "user",
    "name": "piotrekjanus",
    "followers": 4
  },
  "_downloads": {
    "count": 418,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/aiRly"
  },
  "_devurl": "https://github.com/piotrekjanus/airly",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/aiRly.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/piotrekjanus/airly",
  "_realowner": "piotrekjanus",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-03-19"
    }
  ],
  "_exports": [
    "get_indexes",
    "get_installation_by_id",
    "get_installation_measurements",
    "get_measurements_info",
    "get_nearest_installations",
    "get_nearest_measurements",
    "get_point_measurements",
    "remaining_requests",
    "set_apikey"
  ],
  "_help": [
    {
      "page": "dot-base_url",
      "title": "Return base url of Airly API v2",
      "topics": [
        ".base_url"
      ]
    },
    {
      "page": "dot-get_apikey",
      "title": "Get Airly apikey",
      "topics": [
        ".get_apikey"
      ]
    },
    {
      "page": "dot-send_request",
      "title": "Sends a request to the specified url and retrieves it's content.",
      "topics": [
        ".send_request"
      ]
    },
    {
      "page": "add_json_extension",
      "title": "Adds the json extension to the given url",
      "topics": [
        "add_json_extension"
      ]
    },
    {
      "page": "add_path",
      "title": "Adds the given path to the given url",
      "topics": [
        "add_path"
      ]
    },
    {
      "page": "assert",
      "title": "Asserts a given expression and throws an error if it returns FALSE",
      "topics": [
        "assert"
      ]
    },
    {
      "page": "assert_apikey",
      "title": "Checks whether apikey is correctly set",
      "topics": [
        "assert_apikey"
      ]
    },
    {
      "page": "assert_coordinates",
      "title": "Checks whether apikey is correctly set",
      "topics": [
        "assert_coordinates"
      ]
    },
    {
      "page": "assert_ids",
      "title": "Checks whether ids are correctly defined. If not throws an error",
      "topics": [
        "assert_ids"
      ]
    },
    {
      "page": "build_current_df",
      "title": "Creates an object representing Airly measurement",
      "topics": [
        "build_current_df"
      ]
    },
    {
      "page": "build_forecast_df",
      "title": "Creates object containing information about history data for given API response",
      "topics": [
        "build_forecast_df"
      ]
    },
    {
      "page": "build_history_df",
      "title": "Creates object containing information about history data for given API response",
      "topics": [
        "build_history_df"
      ]
    },
    {
      "page": "create_airly_api_response",
      "title": "Creates an object representing a response from the Airly API. Also every API call return information about current limits What is used to assign variables in pkg.env",
      "topics": [
        "create_airly_api_response"
      ]
    },
    {
      "page": "create_airly_location",
      "title": "Creates an object representing Airly location",
      "topics": [
        "create_airly_location"
      ]
    },
    {
      "page": "create_airly_measurement",
      "title": "Creates an object representing Airly measurement",
      "topics": [
        "create_airly_measurement"
      ]
    },
    {
      "page": "create_airly_meta",
      "title": "Creates a data.frame representing Airly meta",
      "topics": [
        "create_airly_meta"
      ]
    },
    {
      "page": "create_request_url",
      "title": "Creates a request url based on the given base url and passed paths. The json extensions is added automatically.",
      "topics": [
        "create_request_url"
      ]
    },
    {
      "page": "get_content",
      "title": "Retrieves the response content",
      "topics": [
        "get_content"
      ]
    },
    {
      "page": "get_indexes",
      "title": "Get Airly available indexes",
      "topics": [
        "get_indexes"
      ]
    },
    {
      "page": "get_installation_by_id",
      "title": "Get Airly installation by id",
      "topics": [
        "get_installation_by_id"
      ]
    },
    {
      "page": "get_installation_measurements",
      "title": "Get Airly measurements for any geographical location given installation id",
      "topics": [
        "get_installation_measurements"
      ]
    },
    {
      "page": "get_measurements_info",
      "title": "Get measures used in Airly",
      "topics": [
        "get_measurements_info"
      ]
    },
    {
      "page": "get_nearest_installations",
      "title": "Get Airly nearest installations to given point",
      "topics": [
        "get_nearest_installations"
      ]
    },
    {
      "page": "get_nearest_measurements",
      "title": "Get Airly nearest measurements to given point",
      "topics": [
        "get_nearest_measurements"
      ]
    },
    {
      "page": "get_point_measurements",
      "title": "Get Airly measurements for any geographical location",
      "topics": [
        "get_point_measurements"
      ]
    },
    {
      "page": "is_airly_api_response",
      "title": "Checks whether the given object is of the class airly_api_response",
      "topics": [
        "is_airly_api_response"
      ]
    },
    {
      "page": "is_airly_location",
      "title": "Checks whether the given object is of the class airly_location",
      "topics": [
        "is_airly_location"
      ]
    },
    {
      "page": "is_airly_measurement",
      "title": "Checks whether the given object is of the class airly_measurement",
      "topics": [
        "is_airly_measurement"
      ]
    },
    {
      "page": "parse_json",
      "title": "Parses a json response",
      "topics": [
        "parse_json"
      ]
    },
    {
      "page": "print.airly_measurement",
      "title": "Print for \"airly_measurement\" type objects",
      "topics": [
        "print.airly_measurement"
      ]
    },
    {
      "page": "remaining_requests",
      "title": "Get information about remaining API requests",
      "topics": [
        "remaining_requests"
      ]
    },
    {
      "page": "replace_null",
      "title": "Replaces NULL with NA for nested lists. Useful when NULL value leads to error while object casting",
      "topics": [
        "replace_null"
      ]
    },
    {
      "page": "set_apikey",
      "title": "Set Airly apikey",
      "topics": [
        "set_apikey"
      ]
    },
    {
      "page": "validate_airly_api_response",
      "title": "Checks if the given response is not empty and that it did not return an error http code.",
      "topics": [
        "validate_airly_api_response"
      ]
    },
    {
      "page": "validate_airly_location",
      "title": "Checks whether the given object is correctly defined airly_location class",
      "topics": [
        "validate_airly_location"
      ]
    },
    {
      "page": "validate_airly_measurement",
      "title": "Checks whether the given object is correctly defined airly_measurement class",
      "topics": [
        "validate_airly_measurement"
      ]
    },
    {
      "page": "validate_airly_meta",
      "title": "Checks whether the given object is correctly correctly defined",
      "topics": [
        "validate_airly_meta"
      ]
    }
  ],
  "_readme": "https://github.com/piotrekjanus/airly/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "plyr",
    "R6",
    "Rcpp",
    "reshape2",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "utf8",
    "vctrs"
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "airly",
  "_universes": [
    "piotrekjanus"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-26T10:47:47.000Z",
      "distro": "resolute",
      "commit": "093f6f4756d0f18af3c7445845fa47f5b624deb0",
      "fileid": "https://r2.ropensci.org/5b15a7ab63d44f050f44e4ac63a642779542ae3658d7308a53c1a9d4bdb3262f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piotrekjanus/actions/runs/36236591755"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-26T10:47:39.000Z",
      "distro": "resolute",
      "commit": "093f6f4756d0f18af3c7445845fa47f5b624deb0",
      "fileid": "https://r2.ropensci.org/7d449a998ccee3900709066f99e4cb8f48a3d552f1c196f11736f6019a3298a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piotrekjanus/actions/runs/36236591755"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-26T10:47:45.000Z",
      "commit": "093f6f4756d0f18af3c7445845fa47f5b624deb0",
      "fileid": "https://r2.ropensci.org/6f124ea744b8f92269bc9a2ed398a57430e934f0fb1a7ff26ea8f198bddc50cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piotrekjanus/actions/runs/36236591755"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-26T10:48:10.000Z",
      "commit": "093f6f4756d0f18af3c7445845fa47f5b624deb0",
      "fileid": "https://r2.ropensci.org/de6a9247c726f8683bc534d94312c75945955c66cd0221ee9d41fc6b6ab60ebb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piotrekjanus/actions/runs/36236591755"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-09-26T10:47:57.000Z",
      "commit": "093f6f4756d0f18af3c7445845fa47f5b624deb0",
      "fileid": "https://r2.ropensci.org/604df308a043073984f4230b6215412499e33a3b896fe9ce5fbb3e59103c98ec",
      "status": "success",
      "buildurl": "https://github.com/r-universe/piotrekjanus/actions/runs/36236591755"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-26T10:46:41.000Z",
      "commit": "093f6f4756d0f18af3c7445845fa47f5b624deb0",
      "fileid": "https://r2.ropensci.org/15346c0d1941c6601dd175ea516319f4c88ba26fa8ed900da664397ff973c12f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piotrekjanus/actions/runs/36236591755"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-26T10:46:54.000Z",
      "commit": "093f6f4756d0f18af3c7445845fa47f5b624deb0",
      "fileid": "https://r2.ropensci.org/89f2338d39baeb237178e09cf22488e589e636a03032e019e90a6a2dab0671c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piotrekjanus/actions/runs/36236591755"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-26T10:46:53.000Z",
      "commit": "093f6f4756d0f18af3c7445845fa47f5b624deb0",
      "fileid": "https://r2.ropensci.org/f75aef467aceacc3bb998721dc785451e95d661a10e4972becc66565c151dd4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piotrekjanus/actions/runs/36236591755"
    }
  ]
}