stortingscrape 0.4.0
- Major changes
- Stortinget’s
API updated their ID scheme for all questions
- I can not guarantee that it will be possible to convert previously
downloaded data to the new format. The API change did not facilitate
this. If you need to append your data, I advice to start from
scratch
- I am not happy about this, but I can do nothing
get_question()
has been updated to the new scheme, and
the legacy_id
variable added
get_meeting_agenda()
is updated with
legacy_id
keys
stortingscrape 0.3.2
- Major changes
- Changed
get_mp_pic()
to utilize the magick
package instead if imagr
when
show_plot = TRUE
- Minor changes
- Added color pallette for current political parties in the
Storting
stortingscrape 0.3.1
- Minor changes
- Fixed call to sleep in
get_publication()
function (was
missing)
- Redirected citation to inst/CITATION file
- Fixed a minor error in the
get_proposal_votes()
function for the proposal_delivered_by_mp
variable
stortingscrape 0.3.0
- Minor changes
- Fixed an error in
get_session_cases()
, where the
structuring of case proposers did not run in parallel, as was
intended.
stortingscrape 0.2.0
- Major changes:
- Replaced
magrittr
(%>%
) pipes with
native pipes (|>
)
- Converted all get_*() functions from
httr
to httr2
- Changed $spokespersons in
get_session_cases()
to data
frame. This will break backwards compatibility (sorry!).
- Rewrote the decision_text variable
in
get_session_decisions()
so that residual html is stripped
from the output. This might break some text processing applications
(sorry!).
- Rewrote the date and info sections of
get_session_hearings()
to data.frames instead of lists.
This might break some text processing applications (sorry!).
- Minor changes:
- Rewrote the proceedings_steps variable
in
get_proceedings()
to be scalable to changes in the API.
Should not break backwards compatibility.
stortingscrape 0.1.4
- Major changes
- Fixed a bug in
get_session_questions()
, where the
presence of unanswered questions returned an error instead of
NA
- Removed a variable from
get_vote()
because it suddenly
disappeared from the API.
- Fixed an issue where
ifelse()
lines returned only one
element when it was supposed to return several due to someone not
realizing the vectorization rules of the function. Affected functions
were: get_case()
, get_hearing_program()
,
get_question()
, get_result_vote()
,
get_session_cases()
, and
get_session_questions()
. Only get_case()
was
significant, in that it listed all bill sponsors as being from the same
party.
- Minor changes
- Fixed some typos in the readme
- Reworked the
read_obt()
function for the package not to
rely on dplyr
- Added a hex badge logo. Extremely important.
stortingscrape 0.1.3
- Major changes # * Fixed an issue with
get_mp_bio()
,
which broke after an
API update.
- Fixed typo
issue – renaming some variables in `get_session_questions()
- Minor changes
- Added pkgdown
page via gh-pages
- Changed color of text in logo
- Added a
NEWS.md
file to track changes to the
package.