View developpez_spider.py
# 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 |
View developpez_spider.py
# 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/'] |
View uv_test.json
{ | |
"@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": [ | |
{ |
View prelib.obda
[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# |
View prelib.owl
<?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/" |
View Comprendre-et-relaliser-des-tests-statistiques.R
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) |
View prelib.ttl
@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/> . |
View prelib.ttl
@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/> . |