{"id":13858082,"url":"https://github.com/bcgov/bcmaps","last_synced_at":"2025-04-04T17:11:03.031Z","repository":{"id":33113107,"uuid":"36751057","full_name":"bcgov/bcmaps","owner":"bcgov","description":"An R package of map layers for British Columbia","archived":false,"fork":false,"pushed_at":"2024-12-21T00:10:09.000Z","size":301092,"stargazers_count":73,"open_issues_count":11,"forks_count":17,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-28T16:10:42.568Z","etag":null,"topics":["data-science","env","r","r-package","rstats"],"latest_commit_sha":null,"homepage":"http://bcgov.github.io/bcmaps/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bcgov.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-02T17:51:25.000Z","updated_at":"2024-12-21T00:06:11.000Z","dependencies_parsed_at":"2023-02-16T23:45:45.000Z","dependency_job_id":"1f3fe22a-5401-47ee-a8c2-dfb1cc2e50b9","html_url":"https://github.com/bcgov/bcmaps","commit_stats":{"total_commits":702,"total_committers":13,"mean_commits":54.0,"dds":0.3931623931623932,"last_synced_commit":"836da9484f33803e7ce465b8dab068443a197792"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcgov%2Fbcmaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcgov%2Fbcmaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcgov%2Fbcmaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcgov%2Fbcmaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bcgov","download_url":"https://codeload.github.com/bcgov/bcmaps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217222,"owners_count":20903009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-science","env","r","r-package","rstats"],"created_at":"2024-08-05T03:01:56.091Z","updated_at":"2025-04-04T17:11:03.007Z","avatar_url":"https://github.com/bcgov.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput:\n  github_document:\n    html_preview: true\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file and re-knit--\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  message=FALSE,\n  fig.path = \"man/figures/\",\n  dpi = 150\n)\n\nggplot2::theme_set(ggplot2::theme_minimal())\n```\n\n# bcmaps \u003cimg src=\"man/figures/logo.png\" height=\"139\" align=\"right\"/\u003e\n\n\u003c!-- badges: start --\u003e\n[![img](https://img.shields.io/badge/Lifecycle-Stable-97ca00)](https://github.com/bcgov/repomountie/blob/8b2ebdc9756819625a56f7a426c29f99b777ab1d/doc/state-badges.md)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/license/apache-2-0)\n[![R build status](https://github.com/bcgov/bcmaps/workflows/R-CMD-check/badge.svg)](https://github.com/bcgov/bcmaps/actions)\n[![CRAN\\_Status\\_Badge](https://www.r-pkg.org/badges/version/bcmaps)](https://cran.r-project.org/package=bcmaps) [![CRAN Downloads](https://cranlogs.r-pkg.org/badges/bcmaps?color=brightgreen)](https://CRAN.R-project.org/package=bcmaps) \n\u003c!-- badges: end --\u003e\n\n\nAn [R](https://www.r-project.org) package of spatial map layers for British Columbia.\n\n`bcmaps` provides access to various spatial layers of British Columbia, such as \nadministrative boundaries, natural resource management boundaries, watercourses, census boundaries, etc. All layers are available as `sf` objects in the\n[BC Albers](https://spatialreference.org/ref/epsg/3005/) projection, which is the B.C. Government standard. \n\nMost layers are accessed directly from the [B.C. Data Catalogue](https://catalogue.data.gov.bc.ca/) using the [bcdata](https://github.com/bcgov/bcdata) R package under the hood. See each layer's individual help file for more detail.\n\n\n\u003e _**IMPORTANT NOTE** Support for Spatial objects (`sp`) was removed in {bcmaps} v1.3.0. Please use `sf` objects with {bcmaps}._ A discussion on the evolution of the spatial software stack in R can be found here: https://r-spatial.org/r/2022/04/12/evolution.html. \n\n\n## Installation\n\nYou can install `bcmaps` from CRAN:\n\n```{r, echo=TRUE, eval=FALSE}\ninstall.packages(\"bcmaps\")\n```\n\nTo install the development version of the `bcmaps` package, you need to install the `remotes` package then the `bcmaps` package.\n\n```{r, echo=TRUE, eval=FALSE}\ninstall.packages(\"remotes\")\nremotes::install_github(\"bcgov/bcmaps\")\n```\n\n## Quick Start\n\nTo see the layers that are available, run the `available_layers()` function:\n\n```{r, echo=FALSE, warning=FALSE}\nlibrary(bcmaps)\n```\n\n```{r, eval=FALSE}\nlibrary(bcmaps)\navailable_layers()\n```\n\nMost layers are accessible by a shortcut function by the same name as the object.\nThen you can use the data as you would any `sf` object.\n\n```{r}\n#| fig-alt: A map of the outline of British Columbia.\nlibrary(sf)\n\nbc \u003c- bc_bound()\nplot(st_geometry(bc))\n```\n\n\n## Vignettes\n\n[Getting Started with `bcmaps`](https://bcgov.github.io/bcmaps/articles/bcmaps.html)  \n[Working with `bcmaps` layers and point data](https://bcgov.github.io/bcmaps/articles/add_points.html)\n\nYou can also view vignettes by typing `browseVignettes(\"bcmaps\")` in your R session after you install `bcmaps`.\n\n\n## Getting Help or Reporting an Issue\n\nTo report bugs/issues/feature requests, please file an [issue](https://github.com/bcgov/bcmaps/issues/).\n\n## How to Contribute\n\nPull requests of new B.C. layers are welcome.\nIf you would like to contribute to the package, please see our \n[CONTRIBUTING](https://github.com/bcgov/bcmaps/blob/master/CONTRIBUTING.md) guidelines.\n\nPlease note that this project is released with a [Contributor Code of Conduct](https://github.com/bcgov/bcmaps/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.\n\n## Source Data\nThe source datasets used in this package come from various sources under open licences, including the [B.C. Data Catalalogue](https://data.gov.bc.ca) ([Open Government Licence - British Columbia](https://www2.gov.bc.ca/gov/content?id=A519A56BC2BF44E4A008B33FCF527F61)) and [Statistics Canada](https://www.statcan.gc.ca/start) ([Statistics Canada Open Licence Agreement](https://www.statcan.gc.ca/en/reference/licence)). See the `data-raw` folder for details on each source dataset.\n\n## Licence\n\n    # Copyright 2017 Province of British Columbia\n    # \n    # Licensed under the Apache License, Version 2.0 (the \"License\");\n    # you may not use this file except in compliance with the License.\n    # You may obtain a copy of the License at\n    # \n    # http://www.apache.org/licenses/LICENSE-2.0\n    # \n    # Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS,\n    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    # See the License for the specific language governing permissions and limitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcgov%2Fbcmaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcgov%2Fbcmaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcgov%2Fbcmaps/lists"}