This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix person: <http://prelib.huma-num.fr/person/> . | |
@prefix event: <http://prelib.huma-num.fr/event/> . | |
@prefix place: <http://prelib.huma-num.fr/place/> . | |
@prefix cidoc: <http://www.cidoc-crm.org/cidoc-crm/> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
@prefix dc: <http://purl.org/dc/elements/1.1/> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix tgn: <http://vocab.getty.edu/tgn/> . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix person: <http://prelib.huma-num.fr/person/> . | |
@prefix event: <http://prelib.huma-num.fr/event/> . | |
@prefix place: <http://prelib.huma-num.fr/place/> . | |
@prefix cidoc: <http://www.cidoc-crm.org/cidoc-crm/> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
@prefix dc: <http://purl.org/dc/terms/> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix tgn: <http://vocab.getty.edu/tgn/> . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mais<-read.table("mais.txt", header = TRUE) | |
## mais est une data frame. mais$Hauteur et c(100,200,300,400) sont des vecteurs. c est l'abréviation de combine. | |
## mais[2] ou mais["Hauteur"] renvoie la colonne Hauteur (la deuxième colonne) sous forme de data frame. | |
## mais[,2] ou mais$Hauteur renvoie la colonne Hauteur sous forme de vecteur. | |
## mais[5,2] renvoie la valeur de 2e colonne de la 5e ligne. | |
## mais[5, c(3,4)] renvoie les valeurs de la 3e et la 4e colonne de la 5e ligne. | |
## main = NULL permet de ne pas afficher de titre à l'histogramme. freq = TRUE permet de préciser que l'ordonnée est | |
## en effectif. Quand freq = FALSE, l'ordonnée est en densité (pour une aire de l'histogramme égale à 1). | |
## Pour obtenir de l'aide sur la fonction > ?hist() | |
hist(mais$Hauteur, breaks=c(100,200,300,400), xlab = "Hauteur (cm)", ylab = "Nombre de pieds", main = NULL, freq = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<rdf:RDF xmlns="http://mshb.huma-num.fr/prelib/" | |
xml:base="http://mshb.huma-num.fr/prelib/" | |
xmlns:owl="http://www.w3.org/2002/07/owl#" | |
xmlns:ns="http://creativecommons.org/ns#" | |
xmlns:powder-s="http://www.w3.org/2007/05/powder-s#" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema#" | |
xmlns:skos="http://www.w3.org/2004/02/skos/core#" | |
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" | |
xmlns:dbo="http://dbpedia.org/ontology/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PrefixDeclaration] | |
: http://mshb.huma-num.fr/prelib/ | |
owl: http://www.w3.org/2002/07/owl# | |
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# | |
xml: http://www.w3.org/XML/1998/namespace# | |
xsd: http://www.w3.org/2001/XMLSchema# | |
ecrm: http://erlangen-crm.org/current/ | |
gndo: http://d-nb.info/standards/elementset/gnd# | |
rdfs: http://www.w3.org/2000/01/rdf-schema# | |
skos: http://www.w3.org/2004/02/skos/core# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "http://iiif.io/api/presentation/2/context.json", | |
"@id": "http://dms-data.stanford.edu/kn/mw497gz1295/manifest.json", | |
"@type": "sc:Manifest", | |
"label": [ | |
{ "@value": "Title (en)", "@language": "en" }, | |
{ "@value": "Title (fr)", "@language": "fr" } | |
], | |
"metadata": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf8 | |
import scrapy | |
class DeveloppezSpyder(scrapy.Spider): | |
name = 'forum-python-developpez' | |
start_urls = ['https://www.developpez.net/forums/f1155/autres-langages/python-zope/general-python/'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf8 | |
import scrapy | |
class DeveloppezSpyder(scrapy.Spider): | |
name = 'forum-python-developpez' | |
start_urls = ['https://www.developpez.net/forums/f1155/autres-langages/python-zope/general-python/'] | |
counter = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix person: <http://prelib.huma-num.fr/person/> . | |
@prefix event: <http://prelib.huma-num.fr/event/> . | |
@prefix place: <http://prelib.huma-num.fr/place/> . | |
@prefix crm: <http://www.cidoc-crm.org/cidoc-crm/> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
@prefix dc: <http://purl.org/dc/elements/1.1/> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix tgn: <http://vocab.getty.edu/tgn/> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "http://iiif.io/api/presentation/2/context.json", | |
"@id": "http://4fd0cd59-c265-46ca-8c38-6bff0a4866a7", | |
"@type": "sc:Manifest", | |
"label": "[Click to edit label]", | |
"metadata": [], | |
"description": [ | |
{ | |
"@value": "[Click to edit description]", | |
"@language": "en" |