Package 'themakart'

Title: Provide Themakart Geometries
Description: More about what it does (maybe more than one line) Use four spaces when indenting paragraphs within the Description.
Authors: Pascal Burkhard
Maintainer: Pascal Burkhard <[email protected]>
License: CC BY-NC-ND 4.0
Version: 0.1.0
Built: 2024-11-20 04:04:56 UTC
Source: https://github.com/Nenuial/themakart

Help Index


anal data

Description

A dataset containing the regional analytics geometries

Usage

anal

Format

An object of class tbl_df (inherits from tbl, data.frame) with 18 rows and 11 columns.

Data

A data frame with 11 variables:

code

the geomotry code

date

the date of the geometries

geometrylevel

either gf for full surface or vf for limited to useful surface

geometrytype

the type of gemotry

map

the data in an sf dataframe

year

the year

cat_code

the code of the category

category_french

the category in French

geometry_french

the geometry in French

category_german

the category in German

geometry_german

the geometry in German

Source

https://www.bfs.admin.ch/bfs/fr/home/statistiques/statistique-regions/fonds-cartes/geometries-base.html


inke data

Description

A dataset containing the infra-communal geometries

Usage

inke

Format

An object of class tbl_df (inherits from tbl, data.frame) with 4 rows and 11 columns.

Data

A data frame with 11 variables:

code

the geomotry code

date

the date of the geometries

geometrylevel

either gf for full surface or vf for limited to useful surface

geometrytype

the type of gemotry

map

the data in an sf dataframe

year

the year

cat_code

the code of the category

category_french

the category in French

geometry_french

the geometry in French

category_german

the category in German

geometry_german

the geometry in German

Source

https://www.bfs.admin.ch/bfs/fr/home/statistiques/statistique-regions/fonds-cartes/geometries-base.html


inst data

Description

A dataset containing the institutional geometries

Usage

inst

Format

An object of class tbl_df (inherits from tbl, data.frame) with 28 rows and 11 columns.

Data

A data frame with 11 variables:

code

the geomotry code

date

the date of the geometries

geometrylevel

either gf for full surface or vf for limited to useful surface

geometrytype

the type of gemotry

map

the data in an sf dataframe

year

the year

cat_code

the code of the category

category_french

the category in French

geometry_french

the geometry in French

category_german

the category in German

geometry_german

the geometry in German

Source

https://www.bfs.admin.ch/bfs/fr/home/statistiques/statistique-regions/fonds-cartes/geometries-base.html


relief data

Description

A dataset containing a simplified topographical relief of Switzerland

Usage

relief

Format

An object of class data.frame with 1135311 rows and 3 columns.

NA


rrep data

Description

A dataset containing the regional research geometries

Usage

rrep

Format

An object of class tbl_df (inherits from tbl, data.frame) with 9 rows and 11 columns.

Data

A data frame with 11 variables:

code

the geomotry code

date

the date of the geometries

geometrylevel

either gf for full surface or vf for limited to useful surface

geometrytype

the type of gemotry

map

the data in an sf dataframe

year

the year

cat_code

the code of the category

category_french

the category in French

geometry_french

the geometry in French

category_german

the category in German

geometry_german

the geometry in German

Source

https://www.bfs.admin.ch/bfs/fr/home/statistiques/statistique-regions/fonds-cartes/geometries-base.html


rtyp data

Description

A dataset containing the regional typology geometries

Usage

rtyp

Format

An object of class tbl_df (inherits from tbl, data.frame) with 10 rows and 11 columns.

Data

A data frame with 11 variables:

code

the geomotry code

date

the date of the geometries

geometrylevel

either gf for full surface or vf for limited to useful surface

geometrytype

the type of gemotry

map

the data in an sf dataframe

year

the year

cat_code

the code of the category

category_french

the category in French

geometry_french

the geometry in French

category_german

the category in German

geometry_german

the geometry in German

Source

https://www.bfs.admin.ch/bfs/fr/home/statistiques/statistique-regions/fonds-cartes/geometries-base.html


Get the available codes for a given category

Description

Get the available codes for a given category

Usage

thema_geom(category = c("inst", "rrep", "anal", "rtyp", "inke", "topo"))

Arguments

category

A string corresponding to the category code

Value

A datafram with code as well as French and German descriptions


Get the map data for a given category, geometry and year

Description

Get the map data for a given category, geometry and year

Usage

thema_map(
  category = c("inst", "rrep", "anal", "rtyp", "inke", "topo"),
  geometry,
  year,
  level = c("gf", "vf")
)

Arguments

category

A string corresponding to the category code

geometry

A string corresponding to the geometry code

year

An integer corresponding to the year of the geometry

level

One of gf (general) or vf (limited surfaces)


Get relief data

Description

Get relief data

Usage

thema_relief()

Get topo data

Description

Get topo data

Usage

thema_topo(geometry = c("flus", "seen", "stkt"))

Arguments

geometry

A string corresponding to the geometry code


Get the years available for a given geometry

Description

Get the years available for a given geometry

Usage

thema_year(
  category = c("inst", "rrep", "anal", "rtyp", "inke", "topo"),
  geometry
)

Arguments

category

A string corresponding to the category code

geometry

A string corresponding to the geometry code

Value

A vector of years


topo data

Description

A dataset containing the topographical geometries

Usage

topo

Format

An object of class tbl_df (inherits from tbl, data.frame) with 8 rows and 11 columns.

Data

A data frame with 11 variables:

code

the geomotry code

date

the date of the geometries

geometrylevel

either gf for full surface or vf for limited to useful surface

geometrytype

the type of gemotry

map

the data in an sf dataframe

year

the year

cat_code

the code of the category

category_french

the category in French

geometry_french

the geometry in French

category_german

the category in German

geometry_german

the geometry in German

Source

https://www.bfs.admin.ch/bfs/fr/home/statistiques/statistique-regions/fonds-cartes/geometries-base.html