Classifications and Codelists for Statistics Norway


[Up] [Top]

Documentation for package ‘klassR’ version 0.1.9

Help Pages

ApplyKlass Match and convert a classification
CheckDate Internal function to check date
check_connect Check connection Function to check that a connection to data.ssb.no is able to be established
ConvertTable Code level convert table (internal function)
CorrespondList Correspondence list Print a list of correspondence tables for a given klass with source and target IDs
formattering Convert vector to the right format
GetBaseUrl Get base address for fetching classifications from
GetFamily Identify corresponding family from a classification number
GetKlass Fetch classification data Fetch Statistics Norway classification data using API
GetName Get the name of a classification version
GetNums Get target ID numbers from Url
GetUrl Get json file from Url
GetUrl2 Get json file from Url - alternative version
GetVersion Get version number of a class given a date
get_variant_name Get variant name Internal function for fetching the variant name based on the number
klassdata Testdata for klassR package
levelCheck Check which level input data/vector is
Levels Title
ListFamily Classification family list Print a list of all families and the number of classifications in each
ListKlass Classification list Get a full list of all classifications and codelists
MakeChar Conversion to character
MakeUrl Internal function to create URL address
SearchKlass Search Klass
splitChar insert missing dots to the right place in a string
stop_quietly Stop quietly function Stop from a function without an error. Used for stopping when no internet