getStatsList: Search and get a list of statistical data from...

Description Usage Arguments Value Author(s) References Examples

View source: R/Rjpstatdb.R

Description

Searcn and get a list of statistical data from “Gateway to Advanced and User-friendly Statistics Service” (http://statdb.nstac.go.jp/) organized by Japanese government.

Usage

1
2
3
getStatsList(searchWord = "", surveyYears = "", openYears = "",
             statsField = NULL, statsCode = NULL, searchKind = 1,
             statsNameList = "")

Arguments

searchWord

search words (you can use AND OR operations)

surveyYears

years to survey data (format: yyyy, yyyymm or yyyymm-yyyymm)

openYears

years to open data (same format as surveyYears)

statsField

field of statistics (2-digits number: search from major division; 4-digits: search from minor division)

statsCode

code of statistics (5-digits number: search by the author government; 8-digits number: search by government statistics code)

searchKind

1: statistics information (default) 2: regional mesh 3: statistics system of society and population

statsNameList

Y: get statistical survey name (not statistics information)

Value

Dataframe of search results

Author(s)

Kiwamu Ishikura <ishikura.kiwamu@gmail.com>

References

http://statdb.nstac.go.jp/system-info/api/api-spec/

Examples

1
getStatsList("Hokkaido AND population", surveyYears = 2008)

Rjpstatdb documentation built on May 29, 2017, 10:55 a.m.