Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding documentation for Register adries #2

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions app/views/open_data/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@
<%= render partial: 'tables', object: tables %>
<%= render partial: 'table', collection: tables %>

<h3 id="ra">Register adries <span class="label label-danger">ALFA</span></h3>
<p>Zmenové dáta Registra adries</p>
eronisko marked this conversation as resolved.
Show resolved Hide resolved
<% tables = PgCatalog::PgTable.find_by_schema(:ra) %>
<%= render partial: 'tables', object: tables %>
<%= render partial: 'table', collection: tables %>

</div>
</div>
<% end %>
235 changes: 235 additions & 0 deletions config/locales/docs/sk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1503,6 +1503,241 @@ sk:
description: Mesto
<<: *timestamp_columns

ra:
change_columns: &change_columns
id:
description: Identifikátor záznamu
note_html: Interný systémový identifikátor. Nepochádza zo zdroja.
change_id:
description: Identifikátor zmeny
changed_at:
description: Dátum a čas vykonania zmeny v Registri adries
database_operation:
description: Vykonaná databázová operácia
eronisko marked this conversation as resolved.
Show resolved Hide resolved
version_id:
description: Identifikátor verzie záznamu
created_reason:
description: Dôvod vytvorenia záznamu
eronisko marked this conversation as resolved.
Show resolved Hide resolved
valid_from:
description: Dátum a čas platnosti od
note_html: Hraničný dátum platnosti o 1.1.1000 má hodnotu <code>NULL</code>
valid_to:
description: Dátum a čas platnosti do
note_html: Hraničný dátum platnosti do 31.12.3000 má hodnotu <code>NULL</code>
eronisko marked this conversation as resolved.
Show resolved Hide resolved
effective_on:
description: Dátum účinnosti
<<: *timestamp_columns

tables:
region_changes:
description: Register krajov – zmenové dáta
eronisko marked this conversation as resolved.
Show resolved Hide resolved
columns:
region_id:
description: Identifikátor kraja
region_code_id:
description: Identifikátor záznamu v číselníku Krajov CL000023
eronisko marked this conversation as resolved.
Show resolved Hide resolved
<<: *change_columns
county_changes:
description: Register okresov – zmenové dáta
eronisko marked this conversation as resolved.
Show resolved Hide resolved
columns:
county_id:
description: Identifikátor okresu
county_code_id:
description: Identifikátor záznamu v číselníku Okresov CL000024
eronisko marked this conversation as resolved.
Show resolved Hide resolved
region_id:
description: Identifikátor nadradeného kraja
<<: *change_columns
municipality_changes:
description: Register obcí – zmenové dáta
columns:
municipality_id:
description: Identifikátor obce
county_id:
description: Identifikátor nadradeného okresu
municipality_code_id:
description: Identifikátor záznamu v číselníku Obcí CL000025
municipality_status:
description: Štatút obce
city_id:
description: Identifikátor nadradeného mesta pre mestskú časť
note_html: Položka je vyplnená ak je <code>municipality_status</code> == <code>MESTSKA_CAST</code>
<<: *change_columns
district_changes:
description: Register častí obcí – zmenové dáta
columns:
district_id:
description: Identifikátor časti obce
unique_numbering:
description: Atribút pre jedinečné číslovanie budov v časti obce
note_html: <code>true</code> = jedinečné číslovanie<br/><code>false</code> = bez jedinečného číslovania
district_code_id:
description: Identifikátor záznamu v číselníku Častí obcí CL010141
municipality_id:
description: Identifikátor nadradenej obce
<<: *change_columns
street_name_changes:
description: Register ulíc – zmenové dáta
columns:
street_name_id:
description: Identifikátor ulice
street_name:
description: Názov ulice
<<: *change_columns
property_registration_number_changes:
description: Register budov (súpisných čísiel) – zmenové dáta
columns:
property_registration_number_id:
description: Identifikátor budovy (súpisného čísla)
property_registration_number:
description: Súpisné číslo
building_contains_flats:
description: Atribút, nachádzajú sa v budove byty
note_html: <code>true</code> = v budove sa nachádzajú byty<br/><code>false</code> = v budove sa byty nenachádzajú
building_purpose_code_id:
description: Identifikátor záznamu v číselníku Účel budovy CL010142
building_type_code_id:
description: Identifikátor záznamu v číselníku Druhov stavieb (budov) CL010143
municipality_id:
description: Identifikátor nadradenej obce
district_id:
description: Identifikátor nadradenej časti obce
<<: *change_columns
building_number_changes:
description: Register vchodov (orientačných čísiel) – zmenové dáta
columns:
building_number_id:
description: Identifikátor vchodu (orientačného čísla)
property_registration_number_id:
description: Identifikátor budovy
street_name_id:
description: Identifikátor ulice
building_number:
description: Orientačné číslo vchodu
building_index:
description: Identifikátor adresy
postal_code:
description: Poštové smerovacie číslo
address_point:
description: Súradnice vchodu
verified_at:
description: Dátum a čas verifikovania adresy
<<: *change_columns
building_unit_changes:
description: Register bytov – zmenové dáta
columns:
building_unit_id:
description: Identifikátor bytu
building_unit_number:
description: Číslo bytu
building_unit_floor:
description: Podlažie
building_unit_label:
description: Označenie bytu
note_html: Uvádza sa iba hodnota "byt"
building_number_id:
description: Identifikátor vchodu (orientačného čísla)
<<: *change_columns

street_name_changes_districts:
description: Register ulíc – zmenové dáta – identifikátory častí obce, cez ktoré ulica prechádza
eronisko marked this conversation as resolved.
Show resolved Hide resolved
columns:
street_name_change_id:
description: Identifikátor záznamu zmeny ulice
district_id:
description: Identifikátor časti obce

street_name_changes_municipalities:
description: Register ulíc – zmenové dáta – identifikátory mestských častí, cez ktoré ulica prechádza
eronisko marked this conversation as resolved.
Show resolved Hide resolved
columns:
street_name_change_id:
description: Identifikátor záznamu zmeny ulice
municipality_id:
description: Identifikátor obce

regions:
description: Register krajov – identifikátory
eronisko marked this conversation as resolved.
Show resolved Hide resolved
columns: &consolidated_table_columns
id:
description: Identifikátor záznamu
note_html: Pochádza zo zdroja.
<<: *timestamp_columns
counties:
description: Register okresov – identifikátory
columns:
<<: *consolidated_table_columns
municipalities:
description: Register obcí – identifikátory
columns:
<<: *consolidated_table_columns
districts:
description: Register častí obcí – identifikátory
columns:
<<: *consolidated_table_columns
street_names:
description: Register ulíc – identifikátory
columns:
<<: *consolidated_table_columns
property_registration_numbers:
description: Register budov (súpisných čísiel) – identifikátory
columns:
<<: *consolidated_table_columns
building_numbers:
description: Register vchodov (orientačných čísiel) – identifikátory
columns:
<<: *consolidated_table_columns
building_units:
description: Register bytov – identifikátory
columns:
<<: *consolidated_table_columns

changes:
description: Identifikátory zmenových dát
eronisko marked this conversation as resolved.
Show resolved Hide resolved
columns:
id:
description: Identifikátor záznamu
note_html: Pochádza zo zdroja.
changes_batches:
description: Identifikátory zmenových dávok
eronisko marked this conversation as resolved.
Show resolved Hide resolved
columns:
id:
description: Identifikátor záznamu
note_html: Pochádza zo zdroja.
generated_at:
description: Dátum a čas vytvorenia zmenovej dávky
<<: *timestamp_columns

building_purpose_codes:
description: Číselník Účel budovy CL010142
eronisko marked this conversation as resolved.
Show resolved Hide resolved
columns: &codelist_table_columns
id:
description: Identifikátor záznamu
note_html: Interný systémový identifikátor. Nepochádza zo zdroja.
code:
description: Kód v číselníku
name:
description: Meno v čísleníku
eronisko marked this conversation as resolved.
Show resolved Hide resolved
<<: *timestamp_columns
building_type_codes:
description: Číselník Druhov stavieb (budov) CL010143
columns:
<<: *codelist_table_columns
district_codes:
description: Číselník Častí obcí CL010141
columns:
<<: *codelist_table_columns
municipality_codes:
description: Číselník Obcí CL000025
columns:
<<: *codelist_table_columns
county_codes:
description: Číselník Okresov CL000024
columns:
<<: *codelist_table_columns
region_codes:
description: Číselník Krajov CL000023
columns:
<<: *codelist_table_columns

datahub:
tables:
corporate_bodies:
Expand Down