Skip to content

Commit

Permalink
Speeding up the process of hansard_basic
Browse files Browse the repository at this point in the history
  • Loading branch information
evanodell committed Nov 18, 2016
1 parent 5a7e874 commit 3b49ce2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Date: 2016-11-15
Authors@R: person("Evan Odell", email="[email protected]", role=c("aut", "cre"))
Author: Evan Odell [aut, cre]
Maintainer: Evan Odell <[email protected]>
Description: Provides functions to download data from the <http://www.data.parliament.uk/> APIs. Because of the structure of the API, there is a named function for each type of available data for ease of use. Functions for each new API will be added as and when they become available on <http://www.data.parliament.uk/>.
Description: Provides functions to download data from the <http://www.data.parliament.uk/> APIs. Because of the structure of the API, there is a named function for each type of available data for ease of use. Functions for each new API will be added as and when they become available on the API.
URL: https://github.com/EvanOdell/hansard
BugReports: https://github.com/EvanOdell/hansard/issues
License: MIT + file LICENSE
Expand Down
2 changes: 2 additions & 0 deletions R/hansard.r
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#'
#' \code{\link{hansard_generic}}
#'
#' \code{\link{hansard_basic}}
#'
#' \code{\link{lords_ammendments}}
#'
#' \code{\link{lords_attendance}}
Expand Down
2 changes: 1 addition & 1 deletion R/hansard_basic.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ hansard_basic <- function(call = TRUE) {
hansard_list <- c("AV Live Logging", "Bills", "Commons Answered Questions", "Commons Divisions", "Commons Oral Question Times",
"Commons Oral Questions", "Commons Written Questions", "Constituencies", "Early Day Motions", "Elections", "Election Results",
"Lords Attendances", "Lords Bill Amendments", "Lords Divisions", "Lords Written Questions", "Members", "Papers Laid",
"Parliamentary Questions Answered", "Publication Logs", "Research Briefings", "Sessions", "Thesaurus", "e-Petitions")
"Publication Logs", "Research Briefings", "Sessions", "Thesaurus", "e-Petitions")

select1 <- select.list(hansard_list, title = "Please select a data set")

Expand Down
2 changes: 2 additions & 0 deletions man/hansard.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3b49ce2

Please sign in to comment.