GithubHelp home page GithubHelp logo

openwashdata / wasteskipsblantyre Goto Github PK

View Code? Open in Web Editor NEW

This project forked from global-health-engineering/data-public-waste-skips-blantyre

0.0 0.0 1.0 17.97 MB

Locations of 53 public waste skips in Blantyre, Malawi.

Home Page: https://openwashdata.github.io/wasteskipsblantyre/

License: Creative Commons Attribution 4.0 International

R 100.00%
data-visualization geolocation malawi open-data open-datasets r solid-waste waste-management

wasteskipsblantyre's Introduction

wasteskipsblantyre

DOI R-CMD-check License: CC BY 4.0

The goal of wasteskipsblantyre is to provide a dataset for research and planning of solid waste management in Blantyre, Malawi. The dataset includes locations of the publicly accessible waste skips in in the city. The data was collected in 2021 and has not been updated since.

Installation

You can install the development version of wasteskipsblantyre from GitHub with:

# install.packages("devtools")
devtools::install_github("openwashdata/wasteskipsblantyre")

Alternatively, you can download the individual datasets as a CSV or XLSX file from the table below.

dataset CSV XLSX
wasteskipsblantyre Download CSV Download XLSX

Project goal

Data on the location of public waste skips in Blanytre was not available. Without such data, it becomes difficult to develop a solid waste management plan and logistics. The goal of this project was to identify the locations of public waste skips in Blantyre, Malawi.

Data

The data set includes the locations of the publicly accessible waste skips in Blantyre, Malawi. The data was collected in 2021.

library(wasteskipsblantyre)

The wasteskipsblantyre data set has 4 variables and 53 observations. For an overview of the variable names, see the following table.

wasteskipsblantyre
variable_name variable_type description
name character Name of the waste skip location.
long double Longitude of the location as decimal degrees.
lat double Latitude of the location as decimal degrees.
capacity_l double Capacity of the container in liters.
Locations of waste skips in this dataset

Locations of waste skips in this dataset

Example

The code below is an example which shows how you could use the data to prepare a map in R. Find this and more examples in the prepared examples article (vignette("examples")).

library(wasteskipsblantyre)
library(sf)
library(tmap)

# read data set into a simple feature (spatial vector data)
sf_wsb <- st_as_sf(wasteskipsblantyre, coords = c('long', 'lat'), crs = 4326)
# set mapping mode to interactive ("view")
tmap_mode("view")
# create an interactive map 
qtm(sf_wsb)
Screenshot of the an interactive map with OpenStreetMap layer.

Screenshot of the an interactive map with OpenStreetMap layer.

License

Data are available as CC-BY.

Citation

Please cite using:

citation("wasteskipsblantyre")
#> To cite package 'wasteskipsblantyre' in publications use:
#> 
#>   Yesaya M, Msuku L, Tilley E, Loos S (2023). "wasteskipsblantyre:
#>   Locations of Public Waste Skips in Blantyre, Malawi."
#>   doi:10.5281/zenodo.6470427 <https://doi.org/10.5281/zenodo.6470427>,
#>   <https://openwashdata.github.io/wasteskipsblantyre/>.
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Misc{yesayamsuku:2023,
#>     title = {wasteskipsblantyre: Locations of Public Waste Skips in Blantyre, Malawi},
#>     author = {Mabvuto Yesaya and Limbani Msuku and Elizabeth Tilley and Sebastian Camilo Loos},
#>     year = {2023},
#>     url = {https://openwashdata.github.io/wasteskipsblantyre/},
#>     doi = {10.5281/zenodo.6470427},
#>     abstract = {An R data package containing the locations of public waste skips in Blantyre, Malawi.},
#>     version = {0.0.2},
#>   }

wasteskipsblantyre's People

Contributors

larnsce avatar mianzg avatar sebastian-loos avatar

Forkers

n-raspi

wasteskipsblantyre's Issues

Include interactive maps

Hey @larnsce

Just for your information... This is the box that should appear when you hover over the map image.
image

I defined the box in the figure attributes. It appears when I knit the example file but not when I build the site using pkgdown (also not locally). So there might also be a problem...

I got the idea from the get started article of the tmap package documentation. I Just thought that if not even they include the interactive maps, it's just not possible right now. And by inserting the screenshots inlcuding the box, the cross references could still be used.

In order to include the interactive maps I would just sacrifice the cross references and:

  • change the output back to default (delete these lines)
  • change eval to true for the map- code junks
  • delete screenshots
  • and replace cross references to something like "figure below".

There is no need to actually change it I just wanted to give you all the information I gathered so far.

I also add the links to the cross-reference discussions you send to the element chat:
See a related discussion here: r-lib/pkgdown#323
Seems to work for vignettes: r-lib/pkgdown#2201

Cross referencing is not working

I've tried several methods to implement cross references of the plots to the text parts of the rmd-files.

Unfortunately, none of the methods I tried worked out.

Prepare data dictionary for skips and poi data resources

Hi @n-raspi, thanks for sharing the data. I have prepared the structure for the data package to be updated. Currently working on a dev branch.

Could you please:

  1. Add a concise one sentence description to each variable, staring with captial letter and ending with a period. No commas.

Option 1

-Download: https://github.com/openwashdata/wasteskipsblantyre/blob/dev/data-raw/dictionary.xlsx

Option 2

  • Clone the repo and and on dev branch, edit the XLSX

"Reference" as button for the main menu navigation in the header

@larnsce and @mianzg

I was just asking myself if [Function Refernce](https://openwashdata.github.io/wasteskipsblantyre/reference/index.html) is the right title for this page?

Wouldn't "data sets" or something similar be more appropriate?

Either way, I'm not sure how much can/should do about it. According to an open issue from (2022-08) in the pkgdown repo we would have to provide a custom template for this page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.