Skip to content

Access data from the City of Windsor Open Data Portal in R.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

JervisMurzello/opendatawindsor

Repository files navigation

About

opendatawindsor is an R interface to the City of Windsor open data portal. A package called opendatatoronto is the main motivation for our package and works as an excellent guide as it is developed for a similar purpose which allows users to load the data available on the open data portal of City of Toronto into their R environments directly without downloading each and every file individually on their systems.

Installation

The devtools package is necessary for installing our package.

To install this package please use the command shown below:

install.packages("devtools")

You can install the development version of our package from Github with:

devtools::install_github("JervisMurzello/opendatawindsor")

Usage

You can see a list of available datasets by using the command all_data. This will show metadata about the package, including the public affair the dataset belongs to, the description of the public affair, the attributes(columns) in the particular dataset, how often they are updated and the number of datasets per issue.

library(opendatawindsor)
all_data

Finally, you can download the resource (i.e., the actual data) directly into R using get_data() with the name of the dataset (mentioned in the first column of the metadata file) as the argument. If more than 1 dataset is required, the names need to be put inside a c() vector.

# Only 1 dataset is required

get_data("AlleyMaintenance_2017")

# More than 1 dataset is required

get_data(c("dataset name 1", "dataset name 2", ...))

About

Access data from the City of Windsor Open Data Portal in R.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages