get_country_values: Return values for a list of jurisdictions-series-year...

Description Usage Arguments Value Examples

Description

Return values for a list of jurisdictions-series-year combination. It will return data for both national and sub-national (for example, state/province) within the jurisdiction.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
get_country_values(
  jurisdiction = c(38, 75),
  series = c(1, 2),
<<<<<<< HEAD
  years = c(2010, 2011),
  industries = NA,
  dateIsRange = TRUE,
=======
  date = c(2010, 2011),
  industries = NA,
  date_is_range = TRUE,
  document_type = 3,
>>>>>>> kampaabeng
  filtered = TRUE
)

Arguments

jurisdiction

Jurisdiction IDs for the data

series

Series IDs

<<<<<<< HEAD

years

Integers for years

=======

date

Date string - For period of interest

>>>>>>> kampaabeng

dateIsRange

A boolean to indicate if the years values is range instead of just single values

<<<<<<< HEAD

filtered

A boolean

=======

date_is_range

Boolean - Indicate if the years values is range instead of just single values

document_type

Integer - ID of document type

filtered

Boolean - Indicate whether to return filtered data, i.e., the industry-relevant data with poorly classified industries excluded

>>>>>>> kampaabeng

Value

dataframe

Examples

1
2
get_country_series(jurisdiction=c(38), series=(1,2), years=c(2010,2011))
get_country_series(jurisdiction=c(38), series=(1,2), years=c(2010,2011), industries=c('111','521'))

QuantGov/regcensus-api-client-R documentation built on Jan. 4, 2022, 12:02 a.m.