Coder Social home page Coder Social logo

readjsa's Introduction

readjsa

R-CMD-check Lifecycle: experimental

{readjsa} streamlines the process of getting data from Jobs and Skills Australia into R.

Note that this package is marked experimental. The code is stable, but brittle. Any changes by JSA to its data and how it’s distributed are likely to break the functionality of the package, at least temporarily.

Installation

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

# install.packages("devtools")
devtools::install_github("MattCowgill/readjsa")

Usage

At the moment, {readjsa} can be used to get data from the Recruitment Experience & Outlook Survey (REOS) or the Internet Vacancy Index (IVI). The functions for doing so are read_reos and read_ivi respectively - see below for more.

Getting REOS data - read_reos()

It’s straightforward to get data from the JSA REOS:

library(readjsa)
library(ggplot2)
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union

reos <- read_reos(tables = "all")

reos |>
  filter(
    series == "Recruitment rate",
    frequency == "Monthly"
  ) |>
  ggplot(aes(x = date, y = value, col = disaggregation)) +
  geom_line()

Getting data from the JSA IVI - read_ivi()

There are several different tables in the IVI data, at different levels of aggregation. See ?read_ivi(). In the example below, we’re visualising total job vacancies at the state level.

ivi_states <- read_ivi("2dig_states")

ivi_states |>
  filter(
    level == 1,
    state != "AUST"
  ) |>
  ggplot(aes(x = date, y = value, col = series_type)) +
  geom_line() +
  facet_wrap(~state,
    scales = "free_y",
    nrow = 2
  ) +
  theme(
    legend.position = "bottom",
    legend.direction = "horizontal"
  )

readjsa's People

Contributors

mattcowgill avatar

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.